No announcement yet.

mod_lsapi installed and finding some errors/issues in logs

  • Filter
  • Time
  • Show
Clear All
new posts

  • mod_lsapi installed and finding some errors/issues in logs

    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 : [code type="markup"] /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: uid502/user); gid502/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] get_client_block(16384) failed [Tue Oct 08 23:31:21.596431 2019] [lsapi:error] [pid 8032:tid 47763622516480] [client] [host] 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 [/code] 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.

  • #2
    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
    Please let us know if you have any questions.