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
Classic server periodically raise "Global mapping memory overflow" and need to be restarted to accept new connections [CORE5517] #5786
Comments
Modified by: @AlexPeshkoffassignee: Alexander Peshkov [ alexpeshkoff ] |
Commented by: Sean Leyne (seanleyne) This is really a support question, please post this to the Firebird Support mailing list. |
Commented by: @kattunga Hi Sean, I understand that my last question sound as a support question but I only asked it to do more tests and provide more information about this issue. Checking the code I also not found parameters directly related with the conditional that raise the exception. |
Commented by: @AlexPeshkoff Christian, can you try with a 5517.patch attached? |
Modified by: @AlexPeshkoffAttachment: 5517.patch [ 13090 ] |
Commented by: @kattunga Yes, I do it right now. The server is under heavy load, so I need to replace Firebird very fast. |
Commented by: @AlexPeshkoff It's enough to replace plugins/libEngine12.so (provided you use same gcc version). |
Commented by: @kattunga Thank you. |
Commented by: @kattunga It's running since 11/Apr with no issues. |
Commented by: @kattunga Hi Alexandre, This seems to be fixed, are you going to include patch in next release? |
Modified by: @AlexPeshkoffsummary: Classical server periodically raise "Global mapping memory overflow" and need to be restarted to accept new connections => Classic server periodically raise "Global mapping memory overflow" and need to be restarted to accept new connections |
Modified by: @AlexPeshkoffstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 4.0 Alpha 1 [ 10731 ] Fix Version: 3.0.3 [ 10810 ] |
Modified by: @AlexPeshkoffVersion: 3.0.1 [ 10730 ] Version: 3.0.0 [ 10740 ] Version: 4.0 Initial [ 10621 ] |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] QA Status: No test => Deferred Test Details: Need any suggestion about possible test implementation for this ticket. Test Specifics: [Architecture (SS/CS) specific, Platform (Windows/Linux) specific] |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] QA Status: Deferred => Not enough information |
Submitted by: @kattunga
Attachments:
5517.patch
I have a server in production.
Firebird Classical server
Ubuntu 16.04 64 bits
4 cores
32gb ram
It is serving 30 databases with 2~5 connections each one.
Every 4 to 5 days new client connections raise the error "Global mapping memory overflow" and the server needs to be completely rebooted to continue working.
The problem started when we switch from SupersServer to Classical Server.
The only place where I found the text error in source code is in /src/jrd/mapping.cpp
if (process >= sMem->processes)
{
sMem->processes++;
if (((U_IPTR) &sMem->process[sMem->processes]) - ((U_IPTR) sMem) > DEFAULT_SIZE)
{
sMem->processes--;
(Arg::Gds(isc_random) << "Global mapping memory overflow").raise();
}
}
Which could be the problem?
Does any firebird.conf parameter affect this issue?
Regards
Christian
Commits: 92d37c8 cc16459
====== Test Details ======
Need any suggestion about possible test implementation for this ticket.
The text was updated successfully, but these errors were encountered: