Skip to content
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

Firebird-2.5.1.26285 Win32 fbserver.exe crashing while operating [CORE3495] #3854

Open
firebird-automations opened this issue May 25, 2011 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Loris Luise (lluise)

Attachments:
fbserver-2.5.26285-crash.7z

FBServer is crashing at random time, I think when pushed to the limits.
On the same engine there are 10 DBs, all configured with 15000 pages buffer, pages 16K.
OS is a Win2003 R2, 4 CPUs.

FBserver configured as service, no FBguardian installed., Super-Server.
CPUAffinity set as 15.
After a few crashes, I installed PDB files also for debugging, and set BugCheckAbort = 1 in conf file.

Typically after a couple of hours of service FBServer is using between 800MB and 1200 Mb of RAM (there are 2Gb of Free RAM).

I have DMP files saved with Dr.Watson / MS Debug Diagnostic.
Can attach them?

Initial part of firebird log:
SRV-H3ONLINE (Client) Wed May 25 06:54:13 2011
INET/inet_error: send errno = 10054

SRV-H3ONLINE (Server) Wed May 25 11:57:54 2011
Database: h3o.demo2
Allocated 2666 page buffers of 15000 requested

SRV-H3ONLINE (Server) Wed May 25 11:57:54 2011
Operating system call _beginthreadex failed. Error code 8

SRV-H3ONLINE (Server) Wed May 25 11:57:54 2011
Database: D:\DATI-H3O\DB\H3O.DEMO2.FDB
internal Firebird consistency check (cannot start thread)

SRV-H3ONLINE (Server) Wed May 25 11:58:14 2011
Operating system call _beginthreadex failed. Error code 8

SRV-H3ONLINE (Server) Wed May 25 11:58:42 2011
Operating system call _beginthreadex failed. Error code 8

SRV-H3ONLINE (Server) Wed May 25 11:58:42 2011
XNET: can't start worker thread, connection terminated

SRV-H3ONLINE (Server) Wed May 25 11:58:45 2011
Operating system call _beginthreadex failed. Error code 8

SRV-H3ONLINE (Server) Wed May 25 11:58:45 2011
XNET: can't start worker thread, connection terminated

SRV-H3ONLINE (Server) Wed May 25 11:59:08 2011
Operating system call _beginthreadex failed. Error code 8

SRV-H3ONLINE (Server) Wed May 25 11:59:19 2011
SRVR_multi_thread: shutting down due to unhandled exception

SRV-H3ONLINE (Server) Wed May 25 11:59:19 2011
unable to allocate memory from operating system

@firebird-automations
Copy link
Collaborator Author

Modified by: Loris Luise (lluise)

Attachment: fbserver-2.5.26285-crash.7z [ 11955 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

It cannot operate properly because the system doesn't have enough memory. 240MB * 10 databases - 2.4GB only for the page cache leaving the other needs away. And you're running 32-bit build with a process address space limited to 2GB.

While I agree that ideally it shouldn't crash, what do you really expect in such conditions?

@firebird-automations
Copy link
Collaborator Author

Commented by: Loris Luise (lluise)

Ok, Dmitry, even if I setup /3GB and set largeimage flag, I will try now on 64-bit OS.
Thanks for your kindly answer.

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

firebird.log clearly reports about the out-of-memory condition, so /3GB is either not enough or not working. In your case, either 64-bit SuperServer or 32-bit Classic Server are the only choices, unless you can noticeably decrease the page cache size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant