New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NO reccord in the firebird.log when the server crash [CORE3206] #3580
Comments
Commented by: @dyemanov If you run FB as a service, check Windows Event Log to see whether the server crashed (if you specified the recovery rule there). Of, if you use SuperServer, you may use the FB guardian -- it logs all the server crashes into firebird.log. |
Commented by: vander clock stephane (arkadia) yes in the windows log i have : The Firebird Server - DefaultInstance service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken in 0 milliseconds: Restart the service. the problem is that we must always check the firebird.log and the windows log ... I thing that all the log must be written in the firebird.log file, even the application crash .... |
Commented by: Sean Leyne (seanleyne) Separately, it is virtually impossible to corrupt a database, due to a server crash, if you have the "Forced Writes" set to ON. Accordingly, you need to review the database settings. The only other source of corruption is bad hardware/disk controller/RAM. |
Commented by: vander clock stephane (arkadia) virtually impossible to corrupt a database ? you are kidding me :) all the time the database are corrupted (mostly the index). sometime, the database corruption make the server hang up, sometime not. actually i can say that i have a corruption one time a week and a corruption that freeze the FBserver one time a month ! the bib big BIG probleme, is that to detect a database corruption we need to stop the service to run in exclusive the Gstat and Gstat take days to finish !!! the last day we discover that the fb server crash very often (so i guess again that the database is corrupted), SERVER323 (Client) Sun Oct 31 17:49:29 2010 SERVER323 Sun Oct 31 18:39:55 2010 restore failled :( by the way Forced Writes off it's a little crasy thing because every xxx commit the write will be done, it's make that if you do now an heavy commit and someone else come after just to do a very simple commit but unfortunatly for him it's the xxx commit then he will wait a long time because he will also commit all the xxx previous commit :( the xxx commit are not done in separate thread, they are done in the thread of one "unlucky" connection ! |
Commented by: Sean Leyne (seanleyne) Our application is deployed on over 100 servers, and has been deployed for more than 8 years, with databases as large as 60GB. We have NEVER had a database corruption due to database errors (have had corruption due to disk controller failure). By running with Forced Write = OFF you are simply "rolling the dice" and it will not be long before a database corruption occurs. Do not run database inything other than orced Write = ON, period. |
Commented by: vander clock stephane (arkadia) > We have NEVER had a database corruption due to database errors you are lucky :( for exemple, for us, one of the raison of the database corruption was because of a bug in the way to read the Statistic database (corrected few month ago by vlad) > By running with Forced Write = OFF you are simply "rolling the dice" and it will not be long before a database corruption occurs. |
Submitted by: vander clock stephane (arkadia)
Relate to CORE3213
When i log on on the server, the memory used was 31.1 GB of 32 GB available. I try to run from ISQL an heavy query (from the firebird server), and it's run for 10 min, and suddenly the sql start to show me message showing it's lost the connection, i see that the memory use on the firebird server go down to 1GB (mean that the fb process was shut down releasing all the memory).
So at this point it's clear the the firebird process crash, but when i look on the firebird.log i see only :
SERVER432 (Client) Fri Oct 29 11:59:06 2010
INET/inet_error: read errno = 10054
nothing else :(
t's mean that the server crash was not loged ... that a big problem because i have often the database corrupt, but as i not see if the fbserver crash i can not be sure if the database become corrupt because of a bug in the engine or because the engine crash not finishing to write everything !
The text was updated successfully, but these errors were encountered: