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
Server crash due to memory leak when selecting many (small or empty?) blob fields [CORE5342] #5617
Comments
Commented by: @pavel-zotov I've created this test and add watching for memory consumption by firebird process (using pslist.exe utility from SysInternals package).
|
Commented by: @pavel-zotov No memory leak detected during > 8 h testing. |
Modified by: @pavel-zotovAttachment: c5342_with_logging_of_fb_memory_consumprion.7z [ 13012 ] |
Commented by: Frank Schlottmann-Goedde (fsg) It took 3 to 4 hours in my environment. So, this issue can be closed. |
Commented by: @dyemanov Duplicate, resolved in v3.0.1. |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] QA Status: No test => Cannot be tested Test Details: Need lot of time for checking memmory leak. |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Commented by: @asfernandes Put scripts in attachment. |
Modified by: @asfernandesAttachment: core-5342.zip [ 13550 ] |
Submitted by: Frank Schlottmann-Goedde (fsg)
Duplicates CORE5289
Attachments:
c5342_with_logging_of_fb_memory_consumprion.7z
core-5342.zip
My former employer (Assfinet) encountered a server crash when trying to upgrade an existing application to Firebird 3.0.
The engine slowly consumes all available memory until it finally fails with:
FRANKS-E520VM Tue Aug 30 13:17:26 2016
unable to allocate memory from operating system
FRANKS-E520VM Tue Aug 30 13:20:39 2016
Operating system call MapViewOfFile failed. Error code 8
FRANKS-E520VM Tue Aug 30 13:20:40 2016
MonitoringData: Cannot initialize the shared memory region
operating system directive MapViewOfFile failed
unknown Win32 error 8
...
The engine keeps running and the only way to get it back to work is to kill the process (usually restarting the service won't work).
The original reporter claims that the failure also occurs with a 64-bit engine, but I could only reproduce it with the 32-bit engine.
The following scripts demonstrates the failure on a standard Firebird 3.0 32-bit superserver installation under Window 64-bit:
====== Test Details ======
Need lot of time for checking memmory leak.
The text was updated successfully, but these errors were encountered: