Example: Restart one process

The following example illustrates how to restart one processes on a Service Manager host because it is running consuming a high amount of system resources. This scenario uses the following system configuration:

System property Value
Number of hosts 3
Total Service Manager processes 21
Threads per process 40
Maximum number of concurrent users expected 700
Maximum user capacity 840

This horizontally scaled configuration can support 700 concurrent users with an extra 20% capacity to handle high usage and outages.

Problem

The system administrator notes that one Service Manager process is consuming a large amount of system resources such as CPU time or system memory.

Recommendation

While the root cause of the issue is being determined, the system administrator can schedule the restart of the Service Manager process. Restarting the process will temporarily free up system memory until the next system maintenance down time or until the root cause of the problem is identified and fixed.

The administrator uses the following command to restart the affected process:

sm -restart:0 -host:15.80.177.12 -pid:3433

This command causes process ID 3433 on the identified host to restart immediately. To provide the currently connected users time to save their work, the administrator adds the following parameters to the sm.ini file:

restartGraceInterval:15

The restartGraceInterval:15 value ensures that users on the Service Manager process have 15 minutes to save their work and re-login before the process restarts. Users who log off one process can immediately re-login and continue work on another available process.

Note: A host restart command does not restart the load balancer process. The only way to restart a load balancer process is to specify it by process ID. The system cannot accept new connection requests until after the load balancer process restarts.