Litespeed Tuning Setting for Max PHP suexec Connection

LiteSpeed Web Server (LSWS) is lightweight, high-performance Apache replacement that increase performance of server by reducing load on server Upgrading takes 15 minutes and improve your performance by reducing harware usage.

One of the advantages LiteSpeed Web Server (LSWS) is a small performance in transaction files are highly efficient when compared with apache,many website are shifting to LSWS for good performance . so for this we are sharing some tuning tips

To use LSWS with suexec condition turned off, LSWS can work directly with optimized performance.

When to change LSWS Settings

Check the max number CONNection and inclusive use of Live Stats LSWS connection. If the numbers In Use has often approached max CONNection, marks the limit should be raised.

Litespeed Tuning Setting for Max PHP suexec Connection

Above image shows that it reached max connection limit so we will raise this limit ,Go to LSWS admin panel from your server WHM.After that, select the Configuration >> Server >> General

Litespeed Tuning Setting for Max PHP suexec Connection

After that, find the setting that says “PHP suexec Max Conn”, by default the value is low, 20

Litespeed Tuning Setting for Max PHP suexec Connection

Increase the value to a number that works for your website requirements, or that fit your website. After that, press “Save, if ther number is above 1000 then consult your hosting provider because your server may require more ram or memory to handle traffic

Litespeed Tuning Setting for Max PHP suexec Connection

After that, there will be a warning to LSWS restarted to activate the new setting. Follow it, press the “Apply Changes

Advertisement