This is an old revision of the document!


How to improve mysite performance

Is your site running slow? Are you going to run some performance/benchmark test? There are some check points which should 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 how to know if PHP SuEXEC is used and how to increase PHP max concurrency.
  • Upgrading to higher CPU LiteSpeed license should give more processing power
  • 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.
  • Mod_Security firewall check may slow down the server and sites.
  • CloudLinux LVE limit hit may impact the performance
  • 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 15:30
  • by Jackson Zhang