LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   CGI does not work in LSWS 1.3.1 (http://www.litespeedtech.com/support/forum/showthread.php?t=35)

bogus 03-20-2004 02:57 AM

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.

mistwang 03-20-2004 08:15 AM

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.

bogus 03-21-2004 09:21 AM

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 !

bogus 03-24-2004 10:21 AM

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,

mistwang 03-25-2004 11:55 AM

Thanks, we will increase the default limit.


All times are GMT -7. The time now is 07:04 AM.