503 error after switch to litespeed

#1
Hello,

yesterday we finally switched our web server from apache ( suphp ) to litespeed proudly :)

but some websites get error 503.

there is no problem when i switch to apache ( suphp ) or apache ( lsapi ) we get 503 error just when switch to litespeed.

can you please help :)

for example :

2020-05-30 09:04:32.449275 [INFO] [9688] [2.147.167.189:64095-7#APVH_domain.com] connection to [uds://tmp/lshttpd/APVH_sangston_Suea-php71.sock] on request #0, confirmed, 1, associated process: 7333, running: 0, error: Connection reset by peer!
2020-05-30 09:04:33.385826 [INFO] [9688] [2.147.167.189:64095-7#APVH_domain.com] connection to [uds://tmp/lshttpd/APVH_sangston_Suea-php71.sock] on request #0, confirmed, 1, associated process: 7343, running: 1, error: Connection reset by peer!
2020-05-30 09:04:34.327268 [INFO] [9688] [2.147.167.189:64095-7#APVH_domain.com] connection to [uds://tmp/lshttpd/APVH_sangston_Suea-php71.sock] on request #0, confirmed, 1, associated process: 7350, running: 1, error: Connection reset by peer!
2020-05-30 09:04:34.327290 [NOTICE] [9688] [2.147.167.189:64095-7#APVH_domain.com] Max retries has been reached, 503!
2020-05-30 09:04:34.327304 [NOTICE] [9688] [2.147.167.189:64095-7#APVH_domain.com] oops! 503 Service Unavailable
2020-05-30 09:04:34.327306 [NOTICE] [9688] [2.147.167.189:64095-7#APVH_domain.com] Content len: 0, Request line: 'GET /?customize_changeset_uuid=77da991a-8f98-4d50-889f-d4988a9cd056&customize_theme=constrau&customize_messenger_channel=preview-0 HTTP/1.1'
2020-05-30 09:04:34.327307 [INFO] [9688] [2.147.167.189:64095-7#APVH_domain.com] Cookie len: 306, wordpress_test_cookie=WP+Cookie+check; _lscache_vary=ef5c326fff8dde64ce6c029474920f5a; wordpress_logged_in_e8b506ac89dcc11a325c5b2030954f1d=sangstone%7C1592022774%7CarfdeWOUDHKZOmcVNruThwcpRl7yncSmesBGEEty6Ku%7C2ceaa7d5fc80ed5caa4f11ba4ab267575bcf7f8e42588d91df2c217c4018b827; wp-settings-time-2=1590813264
2020-05-30 09:04:34.327311 [INFO] [9688] [2.147.167.189:64095-7#APVH_domain.com] abort request..., code: 4
2020-05-30 09:04:34.327332 [INFO] [9688] [2.147.167.189:64095-7#APVH_domain.com] File not found [/home/sangston/public_html/503.shtml]
 
#2
i changed PHP version from 5.6 to 7.1 and problem fixed.

but when i switch to apache ( suphp and lsapi ) website work on php 5.6 too,

but on litespeed does not work on php 5.6
 

Pong

Administrator
Staff member
#3
Do you use cpanel? LiteSpeed should use the same PHP as apache. If not, you can log a ticket with us with tmp root ssh access for us to check.
 
Top