I've read quite a lot of posts related to this, but none seem to solve my issues
When I visit my default PHP page (http://localhost:8090/phpinfo.php), I get the following:
503 Service Unavailable
The server is temporarily busy, try again later! Powered By LiteSpeed Web Server
(The "hello world" cgi page is fine)
This is a new install of litespeed (1st time I have used it)
The version is: v4.2.2
I'm using it on a Ubuntu Virtial server (VM ware). I've recently updated + upgraded (sudo apt-get update && sudo apt-get upgrade) to make sure all the packages are the latest
I've given the VMware 4 processors and 8 gigs
I've managed to install the PHP (eventually) without errors via the litespeed confMgr
I did have to do a few things here to begin with, but they were resolved using the info here:
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:lsapi:troubleshoot
The error messages suggest increasing the soft/hard process limit, so I've updated these via the confMgr (Configuration >> Server >> Security)
1) soft (from about 300) now to 1300
2) hard (from about 600) now to 1600
I've also tried setting both of these to 0 (the machine default), but I still get the error messages below when visiting the default php page:
There error in the stderr.log is:
2013-02-25 05:52:02.837 [STDERR] fork() failed, please increase process limit: Resource temporarily unavailable
The error in error.log is:
2013-02-25 05:52:05.041 [NOTICE] [127.0.0.1:50153-0#Example] Max retries has been reached, 503!
2013-02-25 05:52:05.041 [NOTICE] [127.0.0.1:50153-0#Example] oops! 503 Service Unavailable
2013-02-25 05:52:05.041 [NOTICE] [127.0.0.1:50153-0#Example] Content len: 0, Request line: 'GET /phpinfo.php HTTP/1.1'
2013-02-25 05:52:10.183 [INFO] [AdminPHP] add child process pid: 3323, procinfo: 0x87f09f8
2013-02-25 05:57:08.067 [INFO] [127.0.0.1:50167-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: 3321, running: 1, error: Connection reset by peer!
2013-02-25 05:57:08.067 [INFO] [127.0.0.1:50167-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: 3321, running: 1, error: Connection reset by peer!
2013-02-25 05:57:08.068 [INFO] [127.0.0.1:50167-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: 3321, running: 1, error: Connection reset by peer!
2013-02-25 05:57:08.068 [NOTICE] [127.0.0.1:50167-0#Example] Max retries has been reached, 503!
2013-02-25 05:57:08.068 [NOTICE] [127.0.0.1:50167-0#Example] oops! 503 Service Unavailable
2013-02-25 05:57:08.068 [NOTICE] [127.0.0.1:50167-0#Example] Content len: 0, Request line: 'GET /phpinfo.php HTTP/1.1'
2013-02-25 05:57:08.068 [INFO] [127.0.0.1:50167-0#Example] Cookie len: 107,
When I visit my default PHP page (http://localhost:8090/phpinfo.php), I get the following:
503 Service Unavailable
The server is temporarily busy, try again later! Powered By LiteSpeed Web Server
(The "hello world" cgi page is fine)
This is a new install of litespeed (1st time I have used it)
The version is: v4.2.2
I'm using it on a Ubuntu Virtial server (VM ware). I've recently updated + upgraded (sudo apt-get update && sudo apt-get upgrade) to make sure all the packages are the latest
I've given the VMware 4 processors and 8 gigs
I've managed to install the PHP (eventually) without errors via the litespeed confMgr
I did have to do a few things here to begin with, but they were resolved using the info here:
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:lsapi:troubleshoot
The error messages suggest increasing the soft/hard process limit, so I've updated these via the confMgr (Configuration >> Server >> Security)
1) soft (from about 300) now to 1300
2) hard (from about 600) now to 1600
I've also tried setting both of these to 0 (the machine default), but I still get the error messages below when visiting the default php page:
There error in the stderr.log is:
2013-02-25 05:52:02.837 [STDERR] fork() failed, please increase process limit: Resource temporarily unavailable
The error in error.log is:
2013-02-25 05:52:05.041 [NOTICE] [127.0.0.1:50153-0#Example] Max retries has been reached, 503!
2013-02-25 05:52:05.041 [NOTICE] [127.0.0.1:50153-0#Example] oops! 503 Service Unavailable
2013-02-25 05:52:05.041 [NOTICE] [127.0.0.1:50153-0#Example] Content len: 0, Request line: 'GET /phpinfo.php HTTP/1.1'
2013-02-25 05:52:10.183 [INFO] [AdminPHP] add child process pid: 3323, procinfo: 0x87f09f8
2013-02-25 05:57:08.067 [INFO] [127.0.0.1:50167-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: 3321, running: 1, error: Connection reset by peer!
2013-02-25 05:57:08.067 [INFO] [127.0.0.1:50167-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: 3321, running: 1, error: Connection reset by peer!
2013-02-25 05:57:08.068 [INFO] [127.0.0.1:50167-0#Example] connection to [/tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: 3321, running: 1, error: Connection reset by peer!
2013-02-25 05:57:08.068 [NOTICE] [127.0.0.1:50167-0#Example] Max retries has been reached, 503!
2013-02-25 05:57:08.068 [NOTICE] [127.0.0.1:50167-0#Example] oops! 503 Service Unavailable
2013-02-25 05:57:08.068 [NOTICE] [127.0.0.1:50167-0#Example] Content len: 0, Request line: 'GET /phpinfo.php HTTP/1.1'
2013-02-25 05:57:08.068 [INFO] [127.0.0.1:50167-0#Example] Cookie len: 107,