Why is LiteSpeed running slowly on certain servers?

Please refer to these documents to optimize your LiteSpeed performance:

http://www.litespeedtech.com/docs/webserver/config/tuning

https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:php:improve-performance

In our experience, generally speaking, these are the most possible logical explanations:

Your PHP setup may be different among your systems. Please verify. Try to turn on PHP opcode cache.

MySQL might be the cause as well. Please check with the Top command output. If your PHP process uses a lot of CPU resource, the bottleneck is the PHP code. If MySQL uses a lot of CPU resource, then your issue is caused by MySQL. Perhaps a table needs to be indexed.

Lastly, if the CPU usage is not high, you may have some network bottleneck. It could be a failure in the DNS lookup or a script has slow speed accessing another server.

  • 8 Users Found This Useful
Was this answer helpful?

Related Articles

Working with Laravel Framework

LiteSpeed works well with Laravel Framework. The performance increase will depend on your PHP...

Should I get a more powerful license?

If your CPU usage is not spiking or becoming a bottleneck, then your existing license is okay for...

Support for http-headers "if-modified-since" or a way to activate them.

HTTP headers are generated by the browser automatically when performing a conditional GET, when...

Transfer License between Accounts

We do not transfer leased licenses.  If you want to transfer an owned license from an account...