General

Running a Hub Under Linux

The default Linux configuration may not be sufficient for running CodeSonar's PostgreSQL database.

If kernel.shmmax is lower than 134217728, or kernel.shmall is lower than 32768, you will need expand the shared memory. (If the settings are greater than or equal to these values, you don't need to change them.)

  1. Create a file named /etc/sysctl.conf (if it does not already exist).
  2. Edit /etc/sysctl.conf to contain the following variable assignments.
    kernel.shmmax=134217728
    kernel.shmall=32768
    
  3. Save and close /etc/sysctl.conf
  4. Reboot so that the changes can take effect.
  5. If you are currently working through installation and hub setup, go on to C: Start The Hub.

Note

If you don't have access to /etc/sysctl.conf or don't want to make these settings permanent, use command line sysctl instead:

sysctl -w kernel.shmmax=134217728
sysctl -w kernel.shmall=32768

For more information

See Managing Kernel Resources in the PostgreSQL documentation.

Other Hub Sections