Flood of 503 Service Temporarily Unavailable Errors on Many Sites
Forum
  1. Forums
  2. General
  3. General Discussion
  1. David Turner
  2. Thursday, 15 January 2015
  3.  Subscribe via email
mod_lsapi
Rate this post:
  1. 15.01.2015 02:01:35
  2. # 1
David Turner Accepted Answer
Posts: 7
Joined: 15.12.2014
0
Votes
Undo
After enabling mod_lsapi most of the sites on the server are throwing 503 temporarily unavailable errors. Checking the CloudLinux stats in cPanel\'s web host manager all the user accounts given a hefty amount and not are hitting their thresholds. Checking the Apache error_log file I am seeing flooding of the following error:

[Wed Jan 14 23:23:54 2015] [error] [client xxx.xxx.xxx.xxx] mod_lsapi: [host http://www.adomain.com&;#93; Could not connect to lsphp backend: connect to lsphp failed: 2 No such file or directory
[Wed Jan 14 23:23:54 2015] [error] [client xxx.xxx.xxx.xxx] mod_lsapi: [host http://www.adomain.com&;#93; Could not stat script filename (/home/username/public_html/index.php): errno 2

What would cause this ? All these sites load perfectly fine with ruid2 but I would like to use the memory limits and cagefs of CloudLinux.

Thank you.
  1. 15.01.2015 08:01:17
  2. # 2
Alexey Berezhok Accepted Answer
Posts: 35
Joined: 20.04.2010
0
Votes
Undo
Hello,

looks like that mod_lsapi can\'t access to target php file. Can you write to helpdesk of CloudLinux? We need to investigate the trouble more detail (we need to check config files for vhost and mod_lsapi and rights for scripts).
  1. 15.01.2015 14:01:33
  2. # 3
Donald Holl Accepted Answer
Posts: 4
Joined: 01.06.2011
0
Votes
Undo
Could not connect to lsphp backend: connect to lsphp failed: 2 No such file or directory
Does the following directory exist? /tmp/lshttpd
stat /tmp/lshttpd
I recently observed an identical error when the aforementioned directory was missing, (but the system was also exhausting all available memory and had to be allocated more RAM).
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.