Hello,
I have a Centos 7.7 VPS (kvm virtualization), WHM v82.0.16 with 58 GB RAM, 10 cores and good disk speed.
There are about 150 Cpanel accounts on that server - half of them with Wordpress.
The load of the server is floating between 1 and 4 with average of 2.
/proc/sys/vm/swappiness is 1
mysqladmin status
Uptime: 1323221 Threads: 29 Questions: 1279971013 Slow queries: 2219 Opens: 3063496 Flush tables: 1 Open tables: 15000 Queries per second avg: 1259.711
The mariadb 10.3 server is tuned with mysqltuner and few other tricks.
My concerns is that the memory is not used (and wasted). "free -h" command gives:
total used free shared buff/cache available
Mem: 58G 10G 41G 3.9G 6.6G 43G
Swap: 8.0G 478M 7.5G
How I can tell to WHM/Cpanel and daemons to use more memory/caches and in this way to speed my server and decrease CPU usage?
Any idea why more than 40 GB of the memory is not used?
When I had a hardware server with the same set of accounts and 32GB of RAM and 16 GB swap - those resources are fully used and were not enough.
Now with the VPS I have plenty of RAM but unused.
I read a lot of guides how to decrease the memory usage, but could not find anything, about how to utilize the resources that are wasted (im my case memory).
Regards
ntk
I have a Centos 7.7 VPS (kvm virtualization), WHM v82.0.16 with 58 GB RAM, 10 cores and good disk speed.
There are about 150 Cpanel accounts on that server - half of them with Wordpress.
The load of the server is floating between 1 and 4 with average of 2.
/proc/sys/vm/swappiness is 1
mysqladmin status
Uptime: 1323221 Threads: 29 Questions: 1279971013 Slow queries: 2219 Opens: 3063496 Flush tables: 1 Open tables: 15000 Queries per second avg: 1259.711
The mariadb 10.3 server is tuned with mysqltuner and few other tricks.
My concerns is that the memory is not used (and wasted). "free -h" command gives:
total used free shared buff/cache available
Mem: 58G 10G 41G 3.9G 6.6G 43G
Swap: 8.0G 478M 7.5G
How I can tell to WHM/Cpanel and daemons to use more memory/caches and in this way to speed my server and decrease CPU usage?
Any idea why more than 40 GB of the memory is not used?
When I had a hardware server with the same set of accounts and 32GB of RAM and 16 GB swap - those resources are fully used and were not enough.
Now with the VPS I have plenty of RAM but unused.
I read a lot of guides how to decrease the memory usage, but could not find anything, about how to utilize the resources that are wasted (im my case memory).
Regards
ntk
Last edited: