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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > CGI does not work in LSWS 1.3.1

Reply
 
Thread Tools Display Modes
  #1  
Old 03-20-2004, 02:57 AM
bogus bogus is offline
Member
 
Join Date: Dec 2003
Location: Brittany / France / Europe
Posts: 31
Default CGI does not work in LSWS 1.3.1

And the logs/stderr.log says :
lsws/DEFAULT/cgi-bin/helloworld: fork: Resource temporarily unavailable


Whereas I'm still able to launch programs from the shell, menus, ... so it is not a system wide resource exhaustion (I've have plenty of free swap & ram).

Any hint?

Thanks.
Reply With Quote
  #2  
Old 03-20-2004, 08:15 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You probably run a lot of other processes with user that lsws is running as, you need to go to server "security" tab, change the process limit in "CGI Resource Limits" table, either increase the limit or set it to "0" to disable it.

Let me know whether it works.
Reply With Quote
  #3  
Old 03-21-2004, 09:21 AM
bogus bogus is offline
Member
 
Join Date: Dec 2003
Location: Brittany / France / Europe
Posts: 31
You are right, it works. When testing as normal user, the default limit may seem low, especially if the user runs Gnome or KDE desktops (many background processes).

Thank you !
Reply With Quote
  #4  
Old 03-24-2004, 10:21 AM
bogus bogus is offline
Member
 
Join Date: Dec 2003
Location: Brittany / France / Europe
Posts: 31
Default Limit too low on LInux

Hello,

PLease note that linux does not make a difference betweeb threads and processes. So your CGI process limit is too low, because PHP FastCGI threads are already many more (you launch more than 25 of them by default, and set the limit as low as 25...)

Sincerely,
Reply With Quote
  #5  
Old 03-25-2004, 11:55 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Thanks, we will increase the default limit.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
LSWS 2.0RC6 + Tomcat tomcatter Java JSP/Servlet 4 11-12-2009 11:31 AM
LSWS 3.0RC2 and trac-fcgi Erg CGI/Perl/Python 13 02-06-2009 12:16 PM
Not to stop FCGI apps while reloading LSWS Roman2K Feedback/Feature Requests 4 10-12-2005 01:21 PM
LSWS killed my pet squirrel!!! DNSFusion Bug Reports 1 07-24-2004 08:01 PM
Testimonial : LSWS as web app frontend instead of Apache bogus Feedback/Feature Requests 1 03-26-2004 10:32 AM


All times are GMT -7. The time now is 06:23 AM.



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