VPS low performance for Wordpress sites

tarta

Verified User
Joined
Jan 31, 2018
Messages
81
hi,
I have a VPS (4x CPU 2,2GHz, 8GB RAM) on Debian 9 with apache+nginx.

The server has a really low performance when it comes to wordpress sites hosted on it. For instance, online-business or promo-codes4u.com response time vary from 3-15s or even timeout and Wordpress sites being offline.

at the same time, prestashop 1.6 with 500 products does not face any performance related issue.

Prestashop is up all time. The issue is with Wordpress only.

TOP shows:
top - 20:06:55 up 1 day, 8:52, 3 users, load average: 0.37, 0.36, 0.28
Tasks: 192 total, 2 running, 190 sleeping, 0 stopped, 0 zombie
%Cpu(s): 5.5 us, 1.3 sy, 0.0 ni, 93.1 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st
KiB Mem : 8179364 total, 307372 free, 1976112 used, 5895880 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 5713108 avail Mem

I can't see any issues / errrors neither in syslog nor messages.

What might be the cause and where to search for issues?
 
Have you tried installing a completely fresh wordpress install to see if it happens also?
 
This can be perfectly related to wordpress itself.

Please install a fresh wordpress installation and run tests again.
 
I suggest follow the advice of #ViadCk, then delete cache, clean database. If it not solve the problem, remove unused and/pr unneccesary plugins, disable all plugins and activate one by one, after activiting every plugin, check server response, load time.
 
We had the same issue (Wordpress sites with a TTFB of over 4 seconds, regardless of the amount of CPUs/RAM, no issues with non-Wordpress sites) when using pure Apache with mod_php or php-fpm. This was resolved for us by switching to pure Nginx + php-fpm (using Debian 9 as well).
 
Last edited:
I'll think of complete switch to nginx, but it does not support rewrites..
 
This can be perfectly related to wordpress itself.

Please install a fresh wordpress installation and run tests again.

I've just installed a new fresh wordpress and the performance is much better
 
hi,
I have a VPS (4x CPU 2,2GHz, 8GB RAM) on Debian 9 with apache+nginx.

The server has a really low performance when it comes to wordpress sites hosted on it. For instance, online-business or promo-codes4u.com response time vary from 3-15s or even timeout and Wordpress sites being offline.

at the same time, prestashop 1.6 with 500 products does not face any performance related issue.

Prestashop is up all time. The issue is with Wordpress only.

TOP shows:
top - 20:06:55 up 1 day, 8:52, 3 users, load average: 0.37, 0.36, 0.28
Tasks: 192 total, 2 running, 190 sleeping, 0 stopped, 0 zombie
%Cpu(s): 5.5 us, 1.3 sy, 0.0 ni, 93.1 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st
KiB Mem : 8179364 total, 307372 free, 1976112 used, 5895880 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 5713108 avail Mem

I can't see any issues / errrors neither in syslog nor messages.

What might be the cause and where to search for issues?

%wa on the top i see it well. It does not have IOWait. Load Average correct, 93.1 id, 5.5 us, and 1.3 sy correct.

Install some cache plugin in WordPress. I tried tuning Apache, MySQL and PHP.
 
Last edited:
Back
Top