• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

High memory usage

stevefigueras

Basic Pleskian
Hello all
This is my free -m
total used free shared buffers cached
Mem: 1998 1903 95 0 45 542
-/+ buffers/cache: 1315 683
Swap: 2662 36 2625

Not good ....

I got 5 wordpress and 5 statics website on this server and 100 visitors by 24H00 each day.

Question 1 : Why the memory is so low and the swap so high ?
Question 2 : Why i don't find high usage process in top command ?
Question 3 How can i resolve this problem ?

Thanks all
 
Hello i got a problem with my free memory so i tried today to restart my server and ... yeahhhhh memory is free for 80% but minute after minute i see on top command that free memory decrease :(

After 7Hours from restart i got this
total used free shared buffers cached
Mem: 1998 1483 514 0 221 512
-/+ buffers/cache: 750 1248
Swap: 2055 0 2055

Thank you for your help.
 
I tried this command
ps -eo pmem,pcpu,rss,vsize,args | sort -k 1 -r | more

The top list is
%MEM %CPU RSS VSZ COMMAND
3.9 0.0 81144 405804 /usr/sbin/httpd
3.2 0.0 66800 385856 /usr/sbin/httpd
3.0 0.0 63288 382120 /usr/sbin/httpd
3.0 0.0 63152 382424 /usr/sbin/httpd
3.0 0.0 63136 382252 /usr/sbin/httpd
2.9 0.0 59472 378056 /usr/sbin/httpd
2.8 0.0 59220 378148 /usr/sbin/httpd
2.8 0.0 59168 378116 /usr/sbin/httpd
2.5 0.0 52148 242148 /usr/bin/spamd --nouser-config --username=popuser --daemonize --helper-home-dir=/var/qmail --virtual-config-dir=/var/qmail/mailnames/%d/%l/.spamassassin --create-prefs --max-children=5 -r /var/run/spamd.pid
2.4 0.0 49960 242148 spamd child
2.4 0.0 49960 242148 spamd child
2.1 0.1 44900 969136 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock
1.4 0.0 30180 342236 /usr/sbin/httpd
1.3 0.0 27712 344876 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/bin/modules/watchdog/wdcollect -c /usr/local/psa/etc/modules/watchdog/wdcollect.inc.php
1.0 0.0 20924 342660 /usr/sbin/httpd
0.7 0.0 16368 246920 /usr/sbin/httpd
0.6 0.0 12592 236524 /usr/sbin/named -u named -c /etc/named.conf -u named -n 2 -t /var/named/chroot
0.4 0.0 9648 350480 sw-engine-fpm: master process (/etc/sw-engine/sw-engine-fpm.conf)
0.2 0.0 4416 107604 sshd: root@pts/0

Do you think it's normal ?
Does it normal i get the same process many time ?
 
Back
Top