LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > 1 Instances

Reply
 
Thread Tools Display Modes
  #1  
Old 06-10-2007, 11:29 AM
art182 art182 is offline
Member
 
Join Date: Oct 2006
Posts: 15
Default 1 Instances

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 )
Reply With Quote
  #2  
Old 06-10-2007, 08:44 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
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.
Reply With Quote
  #3  
Old 06-14-2007, 02:47 AM
art182 art182 is offline
Member
 
Join Date: Oct 2006
Posts: 15
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 ...
Reply With Quote
  #4  
Old 06-14-2007, 08:39 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Self managed mode is perfered as all PHP processes can share their opcode cache.
CPU usage and performance wise, there is no big difference.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:36 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.