A art182 Member Jun 10, 2007 #1 Jun 10, 2007 #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 )
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 )
M mistwang LiteSpeed Staff Jun 11, 2007 #2 Jun 11, 2007 #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.
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.
A art182 Member Jun 14, 2007 #3 Jun 14, 2007 #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 ...
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 ...
M mistwang LiteSpeed Staff Jun 14, 2007 #4 Jun 14, 2007 #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.
Self managed mode is perfered as all PHP processes can share their opcode cache. CPU usage and performance wise, there is no big difference.