|
|

04-13-2008, 08:41 PM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 275
|
|
503 Service Unavilable After with to 3.3.10 , lsphp5 Fresh Installation
Hello
I recently installed a fresh copy of lsws with php 5.2.4. Everything is working fine.
But since then one of our website , which is using Jooma, is showing 503 error
Check HERE and try to post a comment below.
I tried to increase the process soft and hard limit to even 1000 from the default vals 200. , but seems not working
Mistwang, you must be knowing why I recompiled and reinstalled litespeed.
Any help to fix it ?
Vivek
|

04-13-2008, 08:42 PM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 275
|
|
|
[root@monster logs]# grep -i youthkerala.com error_log
2008-04-13 23:34:13.103 [INFO] [APVH_youthkerala.comSuphp:] pid list size: 1
2008-04-13 23:34:13.103 [INFO] [APVH_youthkerala.comSuphp:] add child process pid: 10510
[root@monster logs]# grep -i youthkerala.com error_log
2008-04-13 23:34:13.103 [INFO] [APVH_youthkerala.comSuphp:] pid list size: 1
2008-04-13 23:34:13.103 [INFO] [APVH_youthkerala.comSuphp:] add child process pid: 10510
2008-04-13 23:34:13.513 [INFO] [116.68.66.194:53372-0#APVH_youthkerala.com] connection to [uds://tmp/lshttpd/APVH_youthkerala.com_Suphp.sock] on request #0, error: Connection reset by peer!
2008-04-13 23:34:13.535 [INFO] [APVH_youthkerala.comSuphp:] pid list size: 2
2008-04-13 23:34:13.535 [INFO] [116.68.66.194:53372-0#APVH_youthkerala.com] add child process pid: 10514
2008-04-13 23:34:13.535 [INFO] Pid: 10510 associated with [APVH_youthkerala.comSuphp:]
2008-04-13 23:34:13.535 [INFO] [APVH_youthkerala.comSuphp:] pid list size: 1, pid stop list size: 0
2008-04-13 23:34:13.770 [INFO] [116.68.66.194:53372-0#APVH_youthkerala.com] connection to [uds://tmp/lshttpd/APVH_youthkerala.com_Suphp.sock] on request #0, error: Connection reset by peer!
2008-04-13 23:34:13.790 [INFO] [APVH_youthkerala.comSuphp:] pid list size: 2
2008-04-13 23:34:13.790 [INFO] [116.68.66.194:53372-0#APVH_youthkerala.com] add child process pid: 10520
2008-04-13 23:34:13.790 [INFO] Pid: 10514 associated with [APVH_youthkerala.comSuphp:]
2008-04-13 23:34:13.790 [INFO] [APVH_youthkerala.comSuphp:] pid list size: 1, pid stop list size: 0
2008-04-13 23:34:14.057 [INFO] [116.68.66.194:53372-0#APVH_youthkerala.com] connection to [uds://tmp/lshttpd/APVH_youthkerala.com_Suphp.sock] on request #0, error: Connection reset by peer!
2008-04-13 23:34:14.057 [NOTICE] [116.68.66.194:53372-0#APVH_youthkerala.com] oops! 503 Service Unavailable
2008-04-13 23:34:14.057 [NOTICE] [116.68.66.194:53372-0#APVH_youthkerala.com] Content len: 123, Request line:
2008-04-13 23:34:14.057 [INFO] Pid: 10520 associated with [APVH_youthkerala.comSuphp:]
2008-04-13 23:34:14.057 [INFO] [APVH_youthkerala.comSuphp:] pid list size: 0, pid stop list size: 0
2008-04-13 23:34:14.057 [NOTICE] [APVH_youthkerala.comSuphp:] stop worker processes
[root@monster logs]# grep -i youthkerala.com stderr.log
[root@monster logs]#
|

04-13-2008, 08:43 PM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 275
|
|
|
I tried with both suPHP enabled and disabled.
|

04-13-2008, 09:45 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,583
|
|
|
enabled suEXEC, and strace lsphp5 process to find out why, maybe the process crashed, or missing a required PHP module.
|

04-13-2008, 09:58 PM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 275
|
|
Quote:
Originally Posted by mistwang
enabled suEXEC, and strace lsphp5 process to find out why, maybe the process crashed, or missing a required PHP module.
|
suEXEC is already enabled. then what to do ? Can you take a look at this ?
|

04-13-2008, 10:20 PM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 275
|
|
|
Now,
What is this mail ?
lfd: Excessive resource usage: server (492)
Time: Mon Apr 14 00:18:53 2008
Account: server
Resource: Virtual Memory Size
Exceeded: 111 > 100 (MB)
Executable: /home/lsws/fcgi-bin/lsphp-5.2.4
Command Line: lsphp5
PID: 492
Killed: No
I cant find any option in External App with 100M . How do I increase it ?
|

04-14-2008, 06:33 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,583
|
|
|
Memory soft/hard limit for lsphp5 external app. I am not sure it is limited by the system or not though.
Also need to check why it use more than 100MB for a joomla site, allocate too much memory for opcode cache or something else.
|

04-14-2008, 11:36 AM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 275
|
|
Quote:
Originally Posted by mistwang
Memory soft/hard limit for lsphp5 external app. I am not sure it is limited by the system or not though.
Also need to check why it use more than 100MB for a joomla site, allocate too much memory for opcode cache or something else.
|
This email is not regrding the joomla site. Its regarding another domain.
|

04-14-2008, 12:16 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,583
|
|
Quote:
Originally Posted by vivek
What is this mail ?
lfd: Excessive resource usage: server (492)
Time: Mon Apr 14 00:18:53 2008
Account: server
Resource: Virtual Memory Size
Exceeded: 111 > 100 (MB)
Executable: /home/lsws/fcgi-bin/lsphp-5.2.4
Command Line: lsphp5
PID: 492
Killed: No
I cant find any option in External App with 100M . How do I increase it ?
|
I think this email is sent by lfd, 100 MB probably is a configuration for lfd script.
|

04-15-2008, 05:45 AM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 275
|
|
|
Any reply for the first post ?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 05:11 AM.
|
|