SIP Servlet Engine© Documentations
 
  Top >   System Administration >   Configuration >   Session Swapping Function
 
 

Session Swapping Function

The session swapping function is used to store a part of internal information of application sessions retained in memory for a long time (and their SIP sessions) in a file. When a session stored in the file is accessed, the session is restored from the file. This function enables you to reduce the size of the JVM memory heap usage. But swapping in/out a great deal of sessions may result in a decrease in SIP messaging performance because this function involves file input and output.

After the specified period has elapsed since the last access, the application session is stored in the file. This period can be configured in the SSE configuration file (sipserver.xml).

Here is an example setting in the sipserver.xml. It is configured to swap out application sessions after 10 minutes (600000 milliseconds) has elapsed since the last access. For more information, see SIP Servlet Container (sipserver.xml).

 <container-param>
   <param-name>SessionSwapoutDuration</param-name>
   <param-value>600000</param-value>
 </container-param>

Last Modified:Wed Dec 01 17:56:25 JST 2004