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

Go Back   LiteSpeed Support Forums > External Applications > CGI/Perl/Python > fcgid instead of fastcgi (py) ?

Reply
 
Thread Tools Display Modes
  #1  
Old 08-30-2007, 10:56 AM
jnrey jnrey is offline
Member
 
Join Date: Aug 2007
Posts: 17
Default fcgid instead of fastcgi (py) ?

Hello

I would like to know if the Litespeed fastcgi app with python can be set as fcgid (which has better idle process mgt. -> see mod_fcgid). Otherwise, any suggestions, or info when it will be available ?

Many thanks !
Reply With Quote
  #2  
Old 08-30-2007, 11:22 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
python fcgi server may fork children process by itself, in kind of configuration, LiteSpeed cannot control fcgi processes.

In order to let LSWS to manage fcgi processes, you need to make sure python fcgi does not fork any children processes. The process started by web server is the process to handle requests. Then, change the fcgi external app configuration, set "Instances" to match "Max Connections", set "Max Idle time" a value greater than zero.
Reply With Quote
  #3  
Old 08-31-2007, 06:41 AM
jnrey jnrey is offline
Member
 
Join Date: Aug 2007
Posts: 17
Thank you for your reply. Pardon my ignorance, but if I let LSWS manage fcgi processes, I understand python will still control the fcgi process per se, right ? If so, then using fcgid will be a python issue, but LSWS should be able to handle fcgid as well. Is this what you meant ? If not, what would be the difference the way LSWS controls fastcgi, and the way fcgid works ?

Thanks.
Reply With Quote
  #4  
Old 08-31-2007, 10:08 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
If fcgi processes are managed by LSWS, LSWS can start and stop FCGI processes on demand, If fcgi processes are managed by python's internal fcgi process manager (fcgid), then LSWS only start one parent fcgi(d) process, the rest is the at the hand of python.
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 04:12 PM.



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