Php Setups

#1
Hello,
Im currently using ea4 Apache with php7.0 fpm.
Tested openlitespeed v1.4.28.
How do we setup php as process group.
When i was using Litespeed it was as simple as putting a bit of stuff in an apache include file:

<IfModule LiteSpeed>
LSPHP_ProcessGroup on
LSPHP_Workers 15
</IfModule>

Also currently with ea4 php-fpm pools my settings are:
Max children: 10
Process idle timeout: 10
Max request: 20

With the max children always at 10 with ea4 php-fpm i cant seem to set that with my openlitespeed php setup.
Even when i edited the environment variable:
LSAPI_CHILDREN
Max connections

Even when i set those two variables to 10 i always seems to have more than 10 processes of lsphp.
Help appreciated, Thankyou.
 
#3
It will be 10 lsphp processes per account but OpenLiteSpeed does not support working with Apache + cPanel.
Hello,
Im not using OLS with Apache.
To simplify, I have 1 account on my server.
When i setup LSAPI_CHILDREN and max connections in to lets say 10, running top shows more than 10 lsphp processes.

Also how to set up process groups ?
Is it a Litespeed only feature ?
Thankyou.
 

lskagan

Administrator
#4
For each OLS process you have it will spawn a main LSPHP process for each account. At which point it will spawn up-to how many children you specified.
 
Top