1 Instances

#1
hello.
I set up php lsapi - 1 instances
PHP_LSAPI_CHILDREN=20

+ restart lsws ..

and I have 5 or more lsphp process

this is correct ? ( I think should be 1 process )
 

mistwang

LiteSpeed Staff
#2
That's normal. LSWS start one instance of PHP, and that process can fork up to 20 children PHP process to handle 20 PHP requests at the same time.
 
#3
ok. thanks..

I have one more question :

which way to run php is better for 'weak' server ?
( P3 1 ghz , 512 ram , slooow disk )

Server Managed Mode or Self Managed Mode ?
Is there any difference for cpu usage/performance ?


* sorry for my english ...
 

mistwang

LiteSpeed Staff
#4
Self managed mode is perfered as all PHP processes can share their opcode cache.
CPU usage and performance wise, there is no big difference.
 
Top