36.8 Configuring Memory for the Sentinel Server

By default, the Sentinel server consumes 75% of the computer memory. The setmemory.sh script in Sentinel dynamically calculates and allocates the default memory settings for the Sentinel server based on the amount of physical memory. The setmemory.sh script is located in the /opt/novell/sentinel/bin directory.

To make changes to the default memory settings, you must create a setmemory.properties file. The default location of this file is /etc/opt/novell/sentinel/config/setmemory.properties.

You can set the following configuration parameters in the setmemory.properties file:

  • JAVA_MEM_SERVER: The maximum heap memory (Xmx in MB) allocated to the Java process. The maximum setting for this parameter is 16384 (or 16 GB). Removing or increasing this limit can have a detrimental effect on system performance, including a reduced event rate (EPS).

  • JAVA_MEM_REPORT_PROCESS: The maximum memory allocated to the report processes. The maximum setting for this parameter is 16384 (or 16 GB). Removing or increasing this limit can have a detrimental effect on system performance, including a reduced event rate (EPS).

  • JAVA_MEM_PERMGEN: The maximum permanent generation memory (in MB) allocated to the process. By default, this value is 10% of the remaining allocated memory for the Sentinel server.

  • JAVA_MEM_BROKER: The maximum amount of memory allocated for the message bus broker. This affects how many connections the message bus broker can accept. By default, this value is 10% of the remaining allocated memory for the Sentinel server.

  • BROKER_MAX_CON: The maximum number of connections the message bus broker can accept. By default, this value is 10% of the remaining allocated memory for the Sentinel server.

  • CORRELATION_INPUT_BUFFER_MAX_SIZE: The memory allocated to hold the Correlation events. By default, this value is 10% of the remaining allocated memory for the Sentinel server. On the remote Correlation Engine, this value is 50% of the allocated memory for the Sentinel server.

When the server starts, these memory settings in the setmemory.properties file override the default settings.