This is an old revision of the document!


Improve site performance

Is your site running slow? Are you going to run some performance/benchmark test? There are some check points which may help to boost site performance dramatically.

  • You should consider LiteSpeed Cache Plugin, which should make your site fly.
  • Try PHP 7 instead of PHP 5.x. PHP 7 claims to be twice faster than php 5.x.
  • You should install and enable PHP opcode cache.
  • Check the real time stats for number of PHP processes during peak time(LSWS web admin → Actions → Real-Time Stats→External Application), check “In Use”, “Idle”, “WaitQ” . If WaitQ > 0 frequently, PHP max concurrency may need to be increased. For shared hosting environment, where PHP SuEXEC is normally used, then “PHP suEXEC Max Conn” needs to be increased. Check here on if the PHP SuEXEC has been used. here on how to increase PHP max concurrency.
  • If the server has enough free memory, put PHP sessions, opcode cache disk storage under /dev/shm. If server I/O wait is high, enable AIO logging.
  • Check your “top” output to find out the process using too much CPU/memory. It could be a buggy PHP code issue leading to the problem.
  • And many more …

Since the situation may vary so much case by case, we recommend to choose LiteSpeed premium support services for a professional review, fine running and install/enable necessary elements to optimize your server and maximize your site performance. Check our hourly support here.

  • Admin
  • Last modified: 2016/08/05 14:07
  • by Jackson Zhang