CloudLinux: many lsphp processes, high cpu load, high memory usage


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » System Level » CloudLinux

CloudLinux: many lsphp processes, high cpu load, high memory usageLast Modified: Nov 17, 2017, 4:03 pm
Solution provided by CloudLinux support:

Issue

There was a huge amount CPU load, high memory usage and many lsphp processes.
The 'top' output showed 0.0% idle for cpu, and almost all memory and swap was used up (8G ram, 2G swap)
Load was hovering around ~50

Solution

  1. Edit

    /etc/httpd/conf/extra/mod_lsapi.conf

    and increase the lsapi_backend_children value to 200:

    lsapi_backend_children=200

  2. With mod_security, in the comodo DA plugin:

    Web Application Firewall | Free ModSecurity Rules from Comodo

    go to the tab "Security Engine" and set:

    Request Body Access: Off

  3. Restart httpd:

    service httpd restart

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST