High Memory usage by Repmgr.exe on 4.0.x Windows Sensors
searchcancel
High Memory usage by Repmgr.exe on 4.0.x Windows Sensors
book
Article ID: 288177
calendar_today
Updated On: 03-11-2025
Products
Carbon Black Cloud Enterprise EDR (formerly Cb Threathunter)
Issue/Introduction
Endpoints with a high volume of activity may see an increase in memory utilization by the repmgr.exe process. This has most commonly been seen on Windows Servers, but can also be experienced on Windows desktops. The majority of endpoints do not experience this behavior. This issue is only experienced on endpoints with a high rate of activity and generally only in environments that have Enterprise EDR (EEDR) enabled.
The problem can be identified by:
Noting that repmgr.exe is consuming an excess of memory (5+ GB)
Opening an admin command prompt and running the commands:
BulkEventTransfer(ms)Count indicates that repmgr.exe processed X amount of messages
Having a delta between the first and second number indicates that repmgr.exe can't keep up with the rate of events coming from kernel. The larger the delta the more memory that will be utilized as any delta is stored in memory. The below example shows a delta of ~50K (4250241 - 4200346)
Open cfg.ini (C:\ProgramData\CarbonBlack\DataFiles\cfg.ini) with Notepad (Notepad++.exe with Admin privilege is recommended)
Add the following line:
PscrQueueMax=4000
Save changes to cfg.ini with "Save As" option; maintain the same file name and select a destination outside of the cfg.ini directory
Move the old cfg.ini file out of it's current directory (to keep as a backup)
Move the new cfg.ini file with the "PscrQueueMax" entry into C:\ProgramData\CarbonBlack\DataFiles\cfg.ini
Run the following repcli command. Review the following KB if needed: How to Access RepCLI Utility
"c:\program files\confer\repcli" updateconfig
Disable bypass mode on the sensor from the Carbon Black Cloud Console
Note: This configuration will persist until manually removed.
Per policy Steps:
Contact Broadcom Carbon Black Support. When requesting this, please provide the name of the policy the configuration should be set on. We recommend only setting this configuration for sensors that have experienced the issue.
Additional Information
An upcoming release will address this issue without the need for manual intervention