[uds://tmp/lshttpd/lsphp5.sock] Request in process stage, fail with 503

#1
Hi!

I have Cpanel, litespeed enterprise and a phpBB forum.

Some of my users are receiving the 503 error when they want to access to a page.

In error log, I can see :

connection to [uds://tmp/lshttpd/lsphp5.sock] on request #344, confirmed: 1, Connection reset by peer!

[uds://tmp/lshttpd/lsphp5.sock] Request in process stage, fail with 503

oops! 503 Service Unavailable

Content len: 0, Request line:
(null)


Do you have an idea why some of my users are receving this erro?

thanks!
 

anewday

Well-Known Member
#2
Could be due to the security (throttling) settings. I see this same entry on my logs when a certain spider crawls my forums, it is being too aggresive. What values do you have for static/dynamic requests/s, soft/hard limit, etc. ?
 
#3
Hi, my members are receiving this error, not only bot. And it's very random.

There my setting :

Static Requests/second 35
Dynamic Requests/second 30
CPU Soft Limit (sec) 0
CPU Hard Limit (sec) 0
Memory Soft Limit (bytes) 2000M
Memory Hard Limit (bytes) 2500M
Process Soft Limit 5000
Process Hard Limit 10000

Should I increase static and dynamic resquests per seconds?
 

mistwang

LiteSpeed Staff
#4
That's due to PHP crash in middle of a request.
If you use 5.2.10, you should fall back to 5.2.9, there are stability issue with 5.2.10.
 

mistwang

LiteSpeed Staff
#8
It is hard to say which version is the most reliable one, as different user may trigger different bug. My suggestion is to try 5.2.9 and 5.2.10 on your server see which one is the best for you.
 
#9
Hi! Thanks a lot for your recommandations.

I upgrade my php to 5.2.10 and a part of my phpbb forum visitors are receiving again the error 503.

When a visitor clear their cookies, he no longer receive the error 503.

Should I upgrade the max connections in php.ini ?

[uds://tmp/lshttpd/lsphp5.sock] Request in process stage, fail with 503
2009-07-15 18:10:02.785 [NOTICE] oops! 503 Service Unavailable
 
#13
No, it's a phpbb forum, so it's very small tasks.

For exemple, a member want to read a reply in the forum : error 503. He can't access to this forum without clear his forum cookies.

I have 50 000 uniques visitors per day, but only a little part got this error. One day, this member receive this error, an other day it's an other...

The error come in rush hour(load average=3) and during the nigh(load average = .02)
 

mistwang

LiteSpeed Staff
#14
Please try downloading 4.0.6 build and upgrade manually, a build of 4.0.6 has problem causing random 503 errors, it has been available on our web site for a little while, then fixed. To be safe, update again.

Does 503 error happen at the beginning when you switch to LiteSpeed or, it starts to happen with certain PHP version or LSWS version?
 
#18
Just another question, is it normal that connect to php is "reset by peer" ?

connection to [uds://tmp/lshttpd/lsphp5.sock] on request #10, confirmed: 0, Connection reset by peer!

thanks
 
Top