IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

CB Response: Cbdaemon causes high CPU when installed on a NAS

CB Response: Cbdaemon causes high CPU when installed on a NAS

Environment

  • CB Resonse Linux Sensor: All Versions

Symptoms

CPU usage increases after installing the Linux Sensor on a NAS mounted file system.

Cause

This is a known issue with the Response driver.
 

Resolution

The following steps can be used as a workaround:
  1. Stop the daemon:
    service cbdaemon stop          
    service cbdaemon status
  2. Unload the driver:
    lsmod | grep cbsensor 
    modprobe -r cbsensor          
    modprobe -r cbsensor (must execute this twice)          
    lsmod | grep cbsensor
  3. Install gdb:
    yum install gdb
  4. Modify the module:
    cp /lib/modules/`uname -r`/kernel/lib/cbsensor.ko /lib/modules/`uname -r`/kernel/lib/cbsensor.ko.ORIG
    gdb -write /lib/modules/`uname -r`/kernel/lib/cbsensor.ko         
    (gdb) p /x g_enableHooks         $1 = -1         
    (gdb) set {int}&g_enableHooks = 0xFFFFFFBF         
    (gdb) p /x g_enableHooks         
    (gdb) q
  5. Reload module and restart daemon:
    service cbdaemon start

Additional Notes

While this is a known issue, there is no current timeline of when this will be fully addressed.
Confirm the cbdaemon service has started:
1. service cbdaemon status
2. lsmod | grep cbsensor

 

Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎09-09-2020
Views:
4590
Contributors