503 error / connection reset by peers / Wordpress

#1
Hi,

We are experiencing 503 errors on a particular Wordpress plugin (wpUserLinks). Every time a user submits a POST form, it responses 503.

The following is the error log:

2009-10-08 21:40:05.961 [INFO] [xxx] connection to [/tmp/lshttpd/lsphp5.sock] on request #176, confirmed, 1, associated process: 11316, running: 1, error: Connection reset by peer!
2009-10-08 21:40:05.961 [NOTICE] [xxx] Request in process stage, fail with 503
2009-10-08 21:40:05.961 [NOTICE] [xxx] oops! 503 Service Unavailable
2009-10-08 21:40:05.961 [NOTICE] [xxx] Content len: 144, Request line:
POST /link-feed/ HTTP/1.1
2009-10-08 21:40:05.961 [NOTICE] [xxx] Redirect: #1, URL: /index.php

If reverted back to Apache, no issues at all.

We've tried to tweak all sorts of configurations in LSWS but no dice. Any suggestions?

EDIT: LSWS 4.0.10, PHP 5.2.10
 
Last edited:

mistwang

LiteSpeed Staff
#2
looks like PHP crashed in the middle of processing the request.

Make sure you using the same PHP version for both Apache and LiteSpeed, with similar configuration options.
If the plugin uses a lot of memory, you need to increase the memory limit.
 
#3
Thanks for the suggestion George.

We've tried to increase the PHP memory size to almost 1GB, didn't help.

The PHP version aren't the same. It's 5.2.5 on Apache vs 5.2.10 on LSWS, however, the configurations are exactly the same. I've compared phpinfo and made sure of it.

We are using APC, but I've disabled APC and the problem still persists.

Any other settings we can tweak other than memory limit?
 

Josh

New Member
#7
FYI, I ran into a similar issue (503's on certain Wordpress pages, etc.) and I went from PHP 5.3 back to PHP 5.2.13 and the 503's went away.
 
Top