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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [solved] 503 Service Unavailable ON WP > wp-admin/options.php

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2012, 10:14 AM
pooyan pooyan is offline
Senior Member
 
Join Date: Jan 2011
Posts: 142
Default [solved] 503 Service Unavailable ON WP > wp-admin/options.php

Hello,

After i updated lsws, on all wordpress sites and on all admin pages etc: wp-admin/options.php and ... when i enter submit display :

503 Service Unavailable
The server is temporarily busy, try again later! Powered By LiteSpeed Web Server
LiteSpeed Technologies is not responsible for administration and contents of this web site!

Last edited by NiteWave; 07-09-2012 at 09:44 PM..
Reply With Quote
  #2  
Old 07-02-2012, 11:46 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
pls check error log (enable debug loglevel) and see any clue as to why the 503 error.
Reply With Quote
  #3  
Old 07-03-2012, 05:33 AM
pooyan pooyan is offline
Senior Member
 
Join Date: Jan 2011
Posts: 142
Quote:
Originally Posted by webizen View Post
pls check error log (enable debug loglevel) and see any clue as to why the 503 error.
who can i do check error log also enable debug loglevel ?
Reply With Quote
  #4  
Old 07-03-2012, 10:21 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
Admin Console => Configuration => Server => Log

Log Level: DEBUG
Debug Level: Low
Reply With Quote
  #5  
Old 07-03-2012, 10:34 AM
pooyan pooyan is offline
Senior Member
 
Join Date: Jan 2011
Posts: 142
For check error log need i see /usr/local/apache/logs/error_log ?
Reply With Quote
  #6  
Old 07-03-2012, 10:52 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
Quote:
Originally Posted by pooyan View Post
For check error log need i see /usr/local/apache/logs/error_log ?
That's the one.
Reply With Quote
  #7  
Old 07-04-2012, 05:38 AM
pooyan pooyan is offline
Senior Member
 
Join Date: Jan 2011
Posts: 142
Latest error log:
2012-07-04 15:51:37.274 [NOTICE] Loading LiteSpeed/4.1.12 Enterprise ...
2012-07-04 15:51:37.275 [DEBUG] Daemonized!
2012-07-04 15:51:37.475 [NOTICE] [ADMIN] server socket: uds://usr/local/lsws/admin/tmp/admin.sock.7592
2012-07-04 15:51:37.475 [NOTICE] Loading configuration from /usr/local/lsws/conf/httpd_config.xml ...
2012-07-04 15:51:37.476 [NOTICE] Recovering server socket: [127.0.0.1:443]
2012-07-04 15:51:37.476 [NOTICE] Recovering server socket: [127.0.0.1:80]
2012-07-04 15:51:37.476 [NOTICE] Recovering server socket: [176.9.64.112:443]
2012-07-04 15:51:37.476 [NOTICE] Recovering server socket: [176.9.64.112:80]
2012-07-04 15:51:37.476 [NOTICE] Recovering server socket: [176.9.64.122:443]
2012-07-04 15:51:37.476 [NOTICE] Recovering server socket: [176.9.64.122:80]
2012-07-04 15:51:37.476 [NOTICE] Recovering server socket: [176.9.64.123:443]
2012-07-04 15:51:37.476 [NOTICE] Recovering server socket: [176.9.64.123:80]
2012-07-04 15:51:37.476 [NOTICE] Recovering server socket: [176.9.64.124:443]
2012-07-04 15:51:37.476 [NOTICE] Recovering server socket: [176.9.64.124:80]
2012-07-04 15:51:37.476 [NOTICE] Recovering server socket: [176.9.64.125:443]
2012-07-04 15:51:37.476 [NOTICE] Recovering server socket: [176.9.64.125:80]
2012-07-04 15:51:37.476 [NOTICE] Recovering server socket: [*:7080]
2012-07-04 15:51:37.476 [NOTICE] [config] chroot is disabled.
2012-07-04 15:51:37.476 [INFO] old priority: -19, new priority: -19
2012-07-04 15:51:37.476 [INFO] [config:server:basic] For better obscurity, server version number is hidden in the response header.
2012-07-04 15:51:37.477 [INFO] Start listen socket [/usr/local/lsws/admin/cgid/cgid.sock.343].
2012-07-04 15:51:37.477 [NOTICE] [PID: 22853]: start cgid: 22855, /usr/local/lsws/bin/httpd
2012-07-04 15:51:37.477 [WARN] [config:server:tuning] invalid value of <maxReqBodySize>:2047M, use default=2097152
2012-07-04 15:51:37.477 [DEBUG] Reuse current listener [adminListener].
2012-07-04 15:51:37.477 [WARN] [config:server:listener] No listener is available for normal virtual host!
2012-07-04 15:51:37.477 [NOTICE] The maximum number of file descriptor limit is set to 21000.
2012-07-04 15:51:37.477 [DEBUG] [/usr/local/lsws/admin/conf/admin_config.xml:1] processing direcitve: php_admin_value expose_php 0.
2012-07-04 15:51:37.477 [DEBUG] [/usr/local/lsws/admin/conf/admin_config.xml:1] add PHP config: expose_php 0
2012-07-04 15:51:37.477 [DEBUG] [/usr/local/lsws/admin/conf/admin_config.xml:2] processing direcitve: php_admin_flag allow_url_fopen On.
2012-07-04 15:51:37.477 [DEBUG] [/usr/local/lsws/admin/conf/admin_config.xml:2] add PHP config: allow_url_fopen On
2012-07-04 15:51:37.477 [DEBUG] [/usr/local/lsws/admin/conf/admin_config.xml:3] processing direcitve: php_admin_value session.save_path '/usr/local/lsws//admin/tmp'.
2012-07-04 15:51:37.477 [DEBUG] [/usr/local/lsws/admin/conf/admin_config.xml:3] add PHP config: session.save_path '/usr/local/lsws//admin/tmp'
2012-07-04 15:51:37.477 [DEBUG] Associates [_AdminVHost] with [*:7080] on hostname/IP[*] succeed!
2012-07-04 15:51:37.477 [NOTICE] [config] Cache function requires a 2-CPU license or above.
2012-07-04 15:51:37.477 [WARN] [config:server:epsr:lsphp5] Improper configuration: the value of PHP_LSAPI_CHILDREN should not be less than 'Max connections', 'Max conn$
Reply With Quote
  #8  
Old 07-04-2012, 06:25 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,295
Quote:
2012-07-04 15:51:37.477 [WARN] [config:server:epsr:lsphp5] Improper configuration: the value of PHP_LSAPI_CHILDREN should not be less than 'Max connections', 'Max conn$
please post your ext App lsphp5's settings here
Reply With Quote
  #9  
Old 07-04-2012, 06:37 AM
pooyan pooyan is offline
Senior Member
 
Join Date: Jan 2011
Posts: 142
Name lsphp5
Address uds://tmp/lshttpd/lsphp5.sock
Max Connections 2000
Environment PHP_LSAPI_MAX_REQUESTS=500 PHP_LSAPI_CHILDREN=35
Initial Request Timeout (secs) 400
Retry Timeout (secs) 0
Persistent Connection Yes
Connection Keepalive Timeout 0
Response Buffering Yes
Auto Start Yes
Command $SERVER_ROOT/fcgi-bin/lsphp5
Back Log 100
Instances 1
suEXEC User Empty
suEXEC Group Empty
Run On Start Up None Set
Max Idle Time 10
Priority 0
Memory Soft Limit (bytes) 1200M
Memory Hard Limit (bytes) 1000M
Process Soft Limit 1000
Process Hard Limit 800
Reply With Quote
  #10  
Old 07-04-2012, 07:14 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,295
looks the settings has been modified heavily from the default one, it may be the cause of various strange behavior.
Max Connections 2000
LSAPI_CHILDREN=35
==>they should match. please change "Max Connections" back to 35

Initial Request Timeout (secs) 400
==>default one is 60. any reason to set so large -- 400?

Connection Keepalive Timeout 0
==>please set a value other than 0: -1, 1, 5, 10 ... etc, or just Not Set it.

Response Buffering Yes
==> set it to default "No"

Max Idle Time 10
==> too small ? increase it or leave it blank.

Memory Soft Limit (bytes) 1200M
Memory Hard Limit (bytes) 1000M
==>soft limit should <= hard limit

Process Soft Limit 1000
Process Hard Limit 800
==>same as above: soft limit should <= hard 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


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



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