1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Anonymous User
  2. Wednesday, 09 October 2019
  3.  Subscribe via email
Just installed mod_lsapi yesterday and while I am not noticing any issues there appears to be some behind the scenes. This server has heavy traffic, but the vast majority are very small requests that happen quickly. I was previously using suphp and suexec. After adding mod_lsapi in EA4 the only thing I have changed is the handler in multiphp manager to lsapi. Using mpm-event. Here are some of the things I have found so far :

/var/log/apache2/lsphp-stderr.log :
[8792] Reached max children process limit: 120, extra: 0, current: 120, busy: 120, please increase LSAPI_CHILDREN.

/var/log/apache2/sulsphp_log :
[Wed Oct 09 12:45:44 2019] sulsphp: uid:(502/user); gid:(502/user); with suexec mode; cmd:(/opt/cpanel/ea-php73/root/usr/bin/lsphp)

/var/log/apache2/error_log :
[Tue Oct 08 23:31:21.596388 2019] [lsapi:error] [pid 8032:tid 47763622516480] [client] [host http://www.example.com] get_client_block(16384) failed
[Tue Oct 08 23:31:21.596431 2019] [lsapi:error] [pid 8032:tid 47763622516480] [client] [host http://www.example.com] Client error on sending request(POST /app/app/add_log.php HTTP/1.1); uri(/app/app/add_log.php) content-length(994): user_get_body(tmpstackbuf, 16384): read from client failed

Any advice would be appreciated. The 1st and 3rd worry me as it looks as though we are denying/failing requests which is going to be a problem.
Rate this post:
  1. 15.10.2019 08:10:53
  2. # 1
Sergey Khristich Accepted Answer
Posts: 504
Joined: 20.05.2019
Hello, thank you for reaching out! You can try increasing lsapi_backend_max_process_time 600 in lsapi.conf. For the Reached max children process limit error, you can increase lsapi_backend_children for the UID in vhost.conf or globally in lsapi.conf too. More information here https://docs.cloudlinux.com/apache_mod_lsapi/#troubleshooting.
Please let us know if you have any questions.
Marketing Manager
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
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)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.