From 92d37c8efea58aca9629fb556ce869377571ee45 Mon Sep 17 00:00:00 2001 From: AlexPeshkoff Date: Wed, 10 May 2017 16:48:56 +0300 Subject: [PATCH] Backported fix for CORE-5517: Classic server periodically raise "Global mapping memory overflow" and need to be restarted to accept new connections --- src/jrd/Mapping.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/Mapping.cpp b/src/jrd/Mapping.cpp index eb880c0392..354653b937 100644 --- a/src/jrd/Mapping.cpp +++ b/src/jrd/Mapping.cpp @@ -725,7 +725,7 @@ public: { if (!(sMem->process[process].flags & MappingHeader::FLAG_ACTIVE)) break; - if (!ISC_check_process_existence(processId)) + if (!ISC_check_process_existence(sMem->process[process].id)) { sharedMemory->eventFini(&sMem->process[process].notifyEvent); sharedMemory->eventFini(&sMem->process[process].callbackEvent);