Skip to main content
Skip table of contents

Stopping LightWave Server

A LightWave Server instance may be shut down with the SERVER --shutdown command using the following syntax:

CODE
tacl> run SERVER --shutdown <process-name> [!]

where <process-name> is the name of the SERVER or SWORKER process to shut down. If "!" is specified, the shutdown will occur immediately with all current requests abruptly terminated.


This command may be used to shut down the SERVER process or individual SWORKER processes. When a SERVER process is shut down, all connected SWORKER processes are also shut down. The default behavior is to allow connections to drain, i.e., the SERVER will stop accepting connections but will allow existing connections to continue being serviced until they are all disconnected. Using the "!" option will cause the target process to immediately terminate all connections and shut down.

Note that while draining, the SERVER process will not shut down until all Console connections are terminated.

Examples

Stop the supervisor and all attached workers.

CODE
tacl> run server --shutdown $lws
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.