Summary
The server process (ofcservice.exe) consumes large system memory when the OSCE server manages over 1000 agents. The ofcdebug shows:
Line 20421: 2015 11/10 15:33:50 [0738 : 0ec0] (00) (D) [QUEUE][ofcservice.exe]msoq_OfcNotifyContainer::FindRecord - GUID [30f6f6fc-b329-47f6-9ffa-08a0507cee55], type (1), found (0) - [msoq_OfcNotifyEntity.cpp(1031)]
Line 20423: 2015 11/10 15:33:50 [0738 : 0ec0] (00) (D) [QUEUE][ofcservice.exe]msoq_OfcNotifyContainer::FindRecord - GUID [30f6f6fc-b329-47f6-9ffa-08a0507cee55], type (2), found (0) - [msoq_OfcNotifyEntity.cpp(1031)]
Line 20425: 2015 11/10 15:33:50 [0738 : 0ec0] (00) (D) [QUEUE][ofcservice.exe]msoq_OfcNotifyContainer::FindRecord - GUID [30f6f6fc-b329-47f6-9ffa-08a0507cee55], type (3), found (0) - [msoq_OfcNotifyEntity.cpp(1031)]
Line 20714: 2015 11/10 15:33:50 [0738 : 0ec0] (00) (D) [QUEUE][ofcservice.exe]msoq_OfcNotifyContainer::FindRecord - GUID [30f6f6fc-b329-47f6-9ffa-08a0507cee55], type (1), found (0) - [msoq_OfcNotifyEntity.cpp(1031)]
Line 62127: 2015 11/10 15:34:18 [0738 : 0ec0] (00) (D) [QUEUE][ofcservice.exe]msoq_OfcNotifyContainer::FindRecord - GUID [bb4c65ef-b7b9-4f7a-b522-23f178dc07e8], type (1), found (0) - [msoq_OfcNotifyEntity.cpp(1031)]
Line 62137: 2015 11/10 15:34:18 [0738 : 0ec0] (00) (D) [QUEUE][ofcservice.exe]msoq_OfcNotifyContainer::FindRecord - GUID [bb4c65ef-b7b9-4f7a-b522-23f178dc07e8], type (2), found (0) - [msoq_OfcNotifyEntity.cpp(1031)]
Line 62141: 2015 11/10 15:34:18 [0738 : 0ec0] (00) (D) [QUEUE][ofcservice.exe]msoq_OfcNotifyContainer::FindRecord - GUID [bb4c65ef-b7b9-4f7a-b522-23f178dc07e8], type (3), found (0) - [msoq_OfcNotifyEntity.cpp(1031)]
Line 62869: 2015 11/10 15:34:18 [0738 : 0ec0] (00) (D) [QUEUE][ofcservice.exe]msoq_OfcNotifyContainer::FindRecord - GUID [bb4c65ef-b7b9-4f7a-b522-23f178dc07e8], type (1), found (0) - [msoq_OfcNotifyEntity.cpp(1031)]
Line 63560: 2015 11/10 15:34:18 [0738 : 0ec0] (00) (D) [QUEUE][ofcservice.exe]msoq_OfcNotifyContainer::FindRecord - GUID [16b7eff4-ec11-4fbc-8309-199ac9fea8ec], type (1), found (0) - [msoq_OfcNotifyEntity.cpp(1031)]
Line 63563: 2015 11/10 15:34:18 [0738 : 0ec0] (00) (D) [QUEUE][ofcservice.exe]msoq_OfcNotifyContainer::FindRecord - GUID [16b7eff4-ec11-4fbc-8309-199ac9fea8ec], type (2), found (0) - [msoq_OfcNotifyEntity.cpp(1031)]
Line 63569: 2015 11/10 15:34:18 [0738 : 0ec0] (00) (D) [QUEUE][ofcservice.exe]msoq_OfcNotifyContainer::FindRecord - GUID [16b7eff4-ec11-4fbc-8309-199ac9fea8ec], type (3), found (0) - [msoq_OfcNotifyEntity.cpp(1031)]
Line 64820: 2015 11/10 15:34:19 [0738 : 0ec0] (00) (D) [QUEUE][ofcservice.exe]msoq_OfcNotifyContainer::FindRecord - GUID [16b7eff4-ec11-4fbc-8309-199ac9fea8ec], type (1), found (0) - [msoq_OfcNotifyEntity.cpp(1031)]
When the notify entity is about to be removed, OSCE searches for the notification in queue. This will stop searching and will ignore the duplicated entity that will cause the leak.
To solve the system memory issue:
- Under the OSCE server installation directory, go to the ..\PCCSRV folder.
- Open the ofcscan.ini file.
- Under the [INI_SERVER_SECTION] section, add the following parameter:
Max_Search_Queue=-1
- Save and close the ofcscan.ini file.
- Restart the OSCE Master Service.