Skip to main content

Low memory utilization on VPS with enough RAM

Comments

3 comments

  • LucasRolff
    Hi @ntk > There are about 150 Cpanel accounts on that server - half of them with Wordpress. Those 150 accounts, how much disk space do they take? In general, how much disk space does your server use? > How I can tell to WHM/Cpanel and daemons to use more memory/caches You don't - Linux will fill up the cache as needed, and free up the cache as needed. If there's not enough content to cache (or no reason to cache it) then the OS won't do it. Things will only go into cache if they've been read at least once, so if you're only using 6.6GB of buff/cache, that means the amount of files that actually ever get accessed are relatively low. If you want to use more cache - put more data on your server that is getting accessed. > and in this way to speed my server and decrease CPU usage? You have 10 cores - load between 1 and 4, with an average of 2. There's no need to really decrease CPU usage. > 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. Likely configurations differ between the systems - maybe your old server was configured incorrectly, e.g. it could be configured in such a way that MySQL would simply eat memory for no reason.
    0
  • ntk
    Hi LucasRolff, Thank you for clarification for the cache. The /home consume about 500 GB and I have about 700 GB free on that partition. /var/lib/mysql consume 9.3 GB with about 660 databases. You are probably right about my old hardware server - the mysql version was 5.5 and now it is MariaDB 10.3. Probably the new version is a bit better on memory usage. The strange thing is that in munin statistics the old mysql was with up to 5 threads/connections, but now I see up to 75 threads/connections with average 35 on weekly basis. regards ntk
    0
  • cPanelLauren
    There are a ton of variables to consider with that as well - processing power, Disk IO, etc. Unless you're using two identical servers there's no real way to compare. What is your primary concern with using less resources?
    0

Please sign in to leave a comment.