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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > 503 Service Unavilable After with to 3.3.10 , lsphp5 Fresh Installation

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2008, 08:41 PM
vivek vivek is offline
Senior Member
 
Join Date: Jan 2008
Posts: 275
Default 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
Reply With Quote
  #2  
Old 04-13-2008, 08:42 PM
vivek vivek is offline
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]#
Reply With Quote
  #3  
Old 04-13-2008, 08:43 PM
vivek vivek is offline
Senior Member
 
Join Date: Jan 2008
Posts: 275
I tried with both suPHP enabled and disabled.
Reply With Quote
  #4  
Old 04-13-2008, 09:45 PM
mistwang mistwang is offline
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.
Reply With Quote
  #5  
Old 04-13-2008, 09:58 PM
vivek vivek is offline
Senior Member
 
Join Date: Jan 2008
Posts: 275
Quote:
Originally Posted by mistwang View Post
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 ?
Reply With Quote
  #6  
Old 04-13-2008, 10:20 PM
vivek vivek is offline
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 ?
Reply With Quote
  #7  
Old 04-14-2008, 06:33 AM
mistwang mistwang is offline
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.
Reply With Quote
  #8  
Old 04-14-2008, 11:36 AM
vivek vivek is offline
Senior Member
 
Join Date: Jan 2008
Posts: 275
Quote:
Originally Posted by mistwang View Post
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.
Reply With Quote
  #9  
Old 04-14-2008, 12:16 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Quote:
Originally Posted by vivek View Post
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.
Reply With Quote
  #10  
Old 04-15-2008, 05:45 AM
vivek vivek is offline
Senior Member
 
Join Date: Jan 2008
Posts: 275
Any reply for the first post ?
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 05:11 AM.



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