Hi, we deploy a omplyia server using firebird 3.0 database and we notice some crashes (A lot of them)
the database is using all the memory in server, and we notice a very high increase in cpu usage too
The first thing we notice is the table mon$statments is keep getting bigger and bigger (maybe the transactions is not been commited?) - i was able to notice this when the server wasn`t very loaded, only 3 users and after a few minutes we get 200+ records in this table
Our .daConnections:
<Definition>
<Description/>
<ConnectionString>FB4.NET?Server=IP;Database=IP:XXXXX;UserID=XXX;Password=XXXXXX</ConnectionString>
<ConnectionType>Interbase</ConnectionType>
<Default>True</Default>
<Name>Olympia.FB.NET</Name>
</Definition>
we also detected a large number of deadlock:
An exception was raised on the server: deadlock update conflicts with concurrent update concurrent transaction number is 4785765
Inner Exception: IscException: deadlock update conflicts with concurrent update concurrent transaction number is 4785765
we can’t get the transaction, beacause if we try to select anyting from the mon$ tables in firebird the server will crash, cause the very high load on the machine
and the last error just before the server crash:
An exception was raised on the server: too many open handles to database
Inner Exception: IscException: too many open handles to database
again, we cant even select anything from mon$attachments without crashing the server
here is the json
{
"ServiceName": "PServerSession",
"Port": 3090,
"EventTimeout": 180,
"SessionTimeout": 1800,
"PoolSize": 1,
"InMemoryMode": false
}
we have something like 100 users ±, and 150-200 sessions
before olympia we used a regular sessionmanager in memory (Delphi 10.3)