Environment
Novell Operations Center 5.0 Event Manager
Situation
You want to understand what the property controls.
Or you are seeing out of memory exception, cannot create a native thread.
Or you are seeing out of memory exception, cannot create a native thread.
Resolution
What property, com.mosol.Eve.Agent.AutoCloseStrategy, lives in config/Eve.properties. It's default setting to keep an agent socket alive for N minutes, defined by com.mosol.Eve.Agent.AutoCloseKeepAliveValue.
The default settings create a monitor for each open and close on the socket for one minute. This can be performance impacting if there are large number of opens and closes in a short period of time. There are several optional values.
NONE = Do not create a socket monitor. Best starting option if you are getting out of memory exceptions.
MOS_SO_TIMEOUT = Do not create a monitor, set the socket timeout to N milliseconds. This this case,
com.mosol.Eve.Agent.AutoCloseKeepAliveValue, is defined as milliseconds.
SO_KEEPALIVE = Do not monitor, set the keep alive flag on the socket. The socket might stay alive for a long time if not closed.
MOS_KEEPALIVE = Default behavior. Create a monitor for N minutes.
The default settings create a monitor for each open and close on the socket for one minute. This can be performance impacting if there are large number of opens and closes in a short period of time. There are several optional values.
NONE = Do not create a socket monitor. Best starting option if you are getting out of memory exceptions.
MOS_SO_TIMEOUT = Do not create a monitor, set the socket timeout to N milliseconds. This this case,
com.mosol.Eve.Agent.AutoCloseKeepAliveValue, is defined as milliseconds.
SO_KEEPALIVE = Do not monitor, set the keep alive flag on the socket. The socket might stay alive for a long time if not closed.
MOS_KEEPALIVE = Default behavior. Create a monitor for N minutes.