WebAdmin Console - Service Manager
- Monitor the current status of the server, listeners, and virtual hosts.
- Apply configuration changes with a graceful restart.
- Enable or disable a particular virtual host.
- View the server log through the log viewer.
- Monitor real-time server statistics.
Table of Contents
Name - Server | PID | Actions | Apply Changes/Graceful Restart | Server Log Viewer | Real-Time Statistics | Toggle Debug Logging
Name - Listener | Status - Listener | Virtual Hosts Mappings
Name - Virtual Host | Status - Virtual Host | Actions - Virtual Host | Enable | Disable | Restart - Virtual Host
Name - Server⇑
The unique name that identifies this server. This is the Server Name specified in the general configuration.
PID (Process ID) of the current server process.
The PID will change each time the server is restarted.
Six actions are available from this menu: Graceful Restart, Toggle Debug Logging, Server Log Viewer, Real-Time Statistics, Version Manager, and Compile PHP.
- Apply Changes/Graceful Restart restarts server process gracefully without interrupting requests in process.
- Toggle Debug Logging turns debug logging on or off.
- Server Log Viewer allows you to view the server log through the log viewer.
- Real-Time Statistics allows you to view real-time server status.
- Version Management allows you to download new versions of LSWS and switch between different versions.
- Compile PHP allows you to compile PHP for LiteSpeed Web Server.
The shell utility $SERVER_ROOT/bin/lswsctrl can be used to control the server processes as well, but requires a login shell.
Apply Changes/Graceful Restart⇑
By clicking Graceful Restart, a new server process will be started. For Graceful Restart, the old server process will only exit after all requests to it have been finished (or the Graceful Restart Timeout (secs) limit has been reached). Configuration changes are applied at the next restart. Graceful Restart will apply these changes without any server downtime.
Graceful restart takes less than 2 seconds to generate a new server process.
Server Log Viewer⇑
The Server Log Viewer is a convenient tool for browsing the current server log to check for errors or problems. The log viewer searches the server log file in blocks for the specified log level. The default block size is 20KB. You can use the Begin, End, Next, and Prev buttons to navigate a large log file.
The size of a dynamically generated page is limited by Max Dynamic Response Body Size (bytes). So if the block is too big, the page might be truncated.
The Real-Time Statistics link leads to a page with a real-time server status report. This is a convenient tool to monitor the system. The report shows a snapshot of your server statistics. The refresh rate for this snapshot is controlled by the Refresh Interval drop-down list in the upper righthand corner. The report contains the following sections:
- Server Health shows the basic server statistics, uptime, load, and anti-DDoS blocked IPs.
- Server lists current traffic throughput, connections, and requests statistics.
- Virtual Host shows request processing statuses and external application statuses for each virtual host.
- External Application lists the external applications currently running and their usage statistics. The CGI daemon process lscgid is always running as an external application.
Toggle Debug Logging⇑
Toggle Debug Logging toggles the value of Debug Level between NONE and HIGH. As debug logging has an impact on performance and can fill up the hard drive quickly, so Debug Level should usually be set to NONE on a production server. This feature can be used instead to turn debug logging on and off quickly in order to debug a problem on a production server. Debug logging turned on or off in this way will not change anything shown in your server configurations.
Toggle Debug Logging will only work if Log Level is set to DEBUG. Important! Debug logging includes detailed information for each request and response. Active debug logging will severely degrade service performance and potentially saturate disk space in a very short time. This feature should only be used for a short period of time when trying to diagnose server issues.
Name - Listener⇑
The unique name that identifies this listener. This is the Listener Name you specified when setting up the listener.
Status - Listener⇑
The current status of this listener. The status is either Running or Error.
If the listener is in the Error state, you can view the server log to find out why.
Virtual Hosts Mappings⇑
Shows currently established mappings to virtual hosts from a particular listener. The virtual host name appears in brackets and is followed by the matching domain name(s) for this listener.
If a virtual host has not been loaded successfully (fatal errors in the virtual host configuration), the mapping to that virtual host will not be displayed.
Name - Virtual Host⇑
The unique name that identifies this virtual host. This is the Virtual Host Name you specified when setting up this virtual host.
Status - Virtual Host⇑
The current status of a virtual host. The status can be: Running, Stopped, Restart Required, or Running - Removed from Configuration.
- Running means the virtual host is loaded and in service.
- Stopped means the virtual host is loaded but not in service (disabled).
- Restart Required means this is a newly added virtual host and the server has not yet loaded its configuration.
- Running - Removed from Configuration means the virtual host has been deleted from the server's configuration but it is still in service.
Actions - Virtual Host⇑
This field shows buttons to disable, enable, or restart the virtual host. Actions taken on one virtual host do not affect the rest of the web server.
It is good idea to disable a virtual host temporarily when updating its content.
The Enable action starts up a stopped virtual host. This allows new requests to be accepted.
The Disable action stops a running virtual host. New requests will not be accepted, but requests being processed will finish as usual.
Restart - Virtual Host⇑
The Restart action causes the web server to load the newest configuration for this virtual host. Requests being processed will finish with the old configuration. The new configuration will only apply for new requests. All changes to a virtual host can be applied on the fly this way.