This guide provides basic information about configuring the LSAPI handler. =
The configuration file is located at:
The default settings are suitable for the majority of servers and rarely need modification.
If you do however find that you would like to modify the configuration the following would typically be the most useful directives for tuning LSAPI:
lsapi_backend_children – maximum number of simultaneously running children backend processes. Default value is 80. Increase to speed up response time.
lsapi_backend_pgrp_max_idle – how long a control backend process will wait for a new request before it exits, in seconds. Default value is 30. Increase to make faster response; decrease to minimize memory usage.
lsapi_backend_max_process_time – the maximum processing time allowed when processing a request, in seconds. Should match max_execution_time in php.ini settings.
lsapi_backend_max_idle – how long a backend child process will wait for a new request before it exits, in seconds. Increase for better websites performance. Default is 300.
lsapi_backend_max_reqs – how many requests each child process will handle before it exits automatically. Default is 10000.
The documentation of all of the LSAPI configuration directives can be found here: