Merhaba arkadaşlar. Linux Centos 7 server'ımda ram'le ilgili bir sorun var. Server'ım 1 çekirdek CPU'ya ve 2048 MB ram'e sahip. Server'ı yeni kiraladım ve kiraladıktan sonra içine sadece nano, varnish cache, centos web panel gibi birkaç bilindik paket yükledim. Fakat server'ım 1400 MB ram kullanıyor. top ve ps -aux komutlarıyla hangi sürecin çok ram kullandığını göremiyorum. Sistem boştayken veya CWP açıkken kullanılan ram 400-500 MB civarı. Sistemi reboot edip 30 dakika kadar bazı yerlerde gezinerek ve bazı işlemler yaparak ram kullanımını gözlemledim. 400-500 MB civarlarındaydı. Ancak ssh bağlantısını kesip saatler sonra bağlandığımda bir bakıyorum 1400-1500 MB ram kullanılıyor. Bu kadar ram'i hangi sürecin kullandığını nasıl görebilirim? ps -aux ve top komutlarının çıktısı aşağıda.

top:

1 root 20 0 125480 2508 1464 S 0,0 0,1 0:14.10 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.17 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:03.51 ksoftirqd/0
5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
7 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
9 root 20 0 0 0 0 R 0,0 0,0 0:07.89 rcu_sched
10 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 lru-add-drain
11 root rt 0 0 0 0 S 0,0 0,0 0:01.37 watchdog/0
13 root 20 0 0 0 0 S 0,0 0,0 0:00.07 kdevtmpfs
14 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
15 root 20 0 0 0 0 S 0,0 0,0 0:00.09 khungtaskd
16 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 writeback
17 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
18 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
19 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
20 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
21 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kblockd
22 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 md
23 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 edac-poller
29 root 20 0 0 0 0 S 0,0 0,0 0:58.89 kswapd0
30 root 25 5 0 0 0 S 0,0 0,0 0:00.00 ksmd
31 root 39 19 0 0 0 S 0,0 0,0 0:00.90 khugepaged
32 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 crypto
40 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kthrotld
42 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kmpath_rdacd
43 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kaluad
44 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kpsmoused
46 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ipv6_addrconf
59 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 deferwq
91 root 20 0 0 0 0 S 0,0 0,0 0:00.03 kauditd
266 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 mpt_poll_0
268 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 mpt/0
270 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ata_sff
273 root 20 0 0 0 0 S 0,0 0,0 0:00.00 scsi_eh_0
274 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 scsi_tmf_0
275 root 20 0 0 0 0 S 0,0 0,0 0:00.01 scsi_eh_1
277 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 scsi_tmf_1
278 root 20 0 0 0 0 S 0,0 0,0 0:00.00 scsi_eh_2
279 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 scsi_tmf_2
293 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ttm_swap
295 root -51 0 0 0 0 S 0,0 0,0 0:00.00 irq/16-vmwgfx



ps -aux:

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 125480 2508 ? Ss 04:57 0:14 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
root 2 0.0 0.0 0 0 ? S 04:57 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 04:57 0:03 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< 04:57 0:00 [kworker/0:0H]
root 7 0.0 0.0 0 0 ? S 04:57 0:00 [migration/0]
root 8 0.0 0.0 0 0 ? S 04:57 0:00 [rcu_bh]
root 9 0.0 0.0 0 0 ? S 04:57 0:07 [rcu_sched]
root 10 0.0 0.0 0 0 ? S< 04:57 0:00 [lru-add-drain]
root 11 0.0 0.0 0 0 ? S 04:57 0:01 [watchdog/0]
root 13 0.0 0.0 0 0 ? S 04:57 0:00 [kdevtmpfs]
root 14 0.0 0.0 0 0 ? S< 04:57 0:00 [netns]
root 15 0.0 0.0 0 0 ? S 04:57 0:00 [khungtaskd]
root 16 0.0 0.0 0 0 ? S< 04:57 0:00 [writeback]
root 17 0.0 0.0 0 0 ? S< 04:57 0:00 [kintegrityd]
root 18 0.0 0.0 0 0 ? S< 04:57 0:00 [bioset]
root 19 0.0 0.0 0 0 ? S< 04:57 0:00 [bioset]
root 20 0.0 0.0 0 0 ? S< 04:57 0:00 [bioset]
root 21 0.0 0.0 0 0 ? S< 04:57 0:00 [kblockd]
root 22 0.0 0.0 0 0 ? S< 04:57 0:00 [md]
root 23 0.0 0.0 0 0 ? S< 04:57 0:00 [edac-poller]
root 29 0.2 0.0 0 0 ? S 04:57 0:58 [kswapd0]
root 30 0.0 0.0 0 0 ? SN 04:57 0:00 [ksmd]
root 31 0.0 0.0 0 0 ? SN 04:57 0:00 [khugepaged]
root 32 0.0 0.0 0 0 ? S< 04:57 0:00 [crypto]
root 40 0.0 0.0 0 0 ? S< 04:57 0:00 [kthrotld]
root 42 0.0 0.0 0 0 ? S< 04:57 0:00 [kmpath_rdacd]
root 43 0.0 0.0 0 0 ? S< 04:57 0:00 [kaluad]
root 44 0.0 0.0 0 0 ? S< 04:57 0:00 [kpsmoused]
root 46 0.0 0.0 0 0 ? S< 04:57 0:00 [ipv6_addrconf]
root 59 0.0 0.0 0 0 ? S< 04:57 0:00 [deferwq]
root 91 0.0 0.0 0 0 ? S 04:57 0:00 [kauditd]
root 266 0.0 0.0 0 0 ? S< 04:57 0:00 [mpt_poll_0]
root 268 0.0 0.0 0 0 ? S< 04:57 0:00 [mpt/0]
root 270 0.0 0.0 0 0 ? S< 04:57 0:00 [ata_sff]
root 273 0.0 0.0 0 0 ? S 04:57 0:00 [scsi_eh_0]
root 274 0.0 0.0 0 0 ? S< 04:57 0:00 [scsi_tmf_0]
root 275 0.0 0.0 0 0 ? S 04:57 0:00 [scsi_eh_1]
root 277 0.0 0.0 0 0 ? S< 04:57 0:00 [scsi_tmf_1]
root 278 0.0 0.0 0 0 ? S 04:57 0:00 [scsi_eh_2]
root 279 0.0 0.0 0 0 ? S< 04:57 0:00 [scsi_tmf_2]
root 293 0.0 0.0 0 0 ? S< 04:57 0:00 [ttm_swap]
root 295 0.0 0.0 0 0 ? S 04:57 0:00 [irq/16-vmwgfx]
root 361 0.0 0.0 0 0 ? S< 04:57 0:00 [kdmflush]
root 362 0.0 0.0 0 0 ? S< 04:57 0:00 [bioset]
root 371 0.0 0.0 0 0 ? S< 04:57 0:00 [kdmflush]
root 372 0.0 0.0 0 0 ? S< 04:57 0:00 [bioset]
root 386 0.0 0.0 0 0 ? S< 04:57 0:00 [bioset]
root 387 0.0 0.0 0 0 ? S< 04:57 0:00 [xfsalloc]
root 388 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs_mru_cache]
root 389 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs-buf/dm-0]
root 390 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs-data/dm-0]
root 391 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs-conv/dm-0]
root 392 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs-cil/dm-0]
root 393 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs-reclaim/dm-]
root 394 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs-log/dm-0]
root 395 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs-eofblocks/d]
root 396 0.0 0.0 0 0 ? S 04:57 0:13 [xfsaild/dm-0]
root 397 0.0 0.0 0 0 ? S< 04:57 0:00 [kworker/0:1H]
root 465 0.0 0.1 39236 2564 ? Ss 04:57 0:03 /usr/lib/systemd/systemd-journald
root 496 0.0 0.0 124792 44 ? Ss 04:57 0:00 /usr/sbin/lvmetad -f
root 499 0.0 0.0 44336 328 ? Ss 04:57 0:00 /usr/lib/systemd/systemd-udevd
root 538 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs-buf/sda1]
root 539 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs-data/sda1]
root 540 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs-conv/sda1]
root 541 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs-cil/sda1]
root 542 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs-reclaim/sda]
root 543 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs-log/sda1]
root 544 0.0 0.0 0 0 ? S< 04:57 0:00 [xfs-eofblocks/s]
root 547 0.0 0.0 0 0 ? S 04:57 0:00 [xfsaild/sda1]
root 596 0.0 0.0 55508 636 ? Spolkitd 614 0.0 0.0 538436 1752 ? Ssl 04:57 0:01 /usr/lib/polkit-1/polkitd --no-debug
root 619 0.0 0.0 26376 1120 ? Ss 04:57 0:02 /usr/lib/systemd/systemd-logind
dbus 620 0.0 0.0 58196 1284 ? Ss 04:57 0:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
chrony 623 0.0 0.0 120348 1008 ? S 04:57 0:02 /usr/sbin/chronyd
root 629 0.0 0.1 478828 3592 ? Ssl 04:57 0:03 /usr/sbin/NetworkManager --no-daemon
root 643 0.0 0.0 126284 588 ? Ss 04:57 0:00 /usr/sbin/crond -n
root 646 0.0 0.0 25904 132 ? Ss 04:57 0:00 /usr/sbin/atd -f
root 652 0.0 0.0 110088 192 tty1 Ss+ 04:57 0:00 /sbin/agetty --noclear tty1 linux
root 866 0.0 0.0 573812 1076 ? Ssl 04:57 0:08 /usr/bin/python -Es /usr/sbin/tuned -l -P
root 870 0.0 0.0 112812 420 ? Ss 04:57 0:00 /usr/sbin/sshd -D
memcach+ 872 0.0 0.0 344080 224 ? Ssl 04:57 0:01 /usr/bin/memcached -u memcached -p 11211 -m 64 -c 1024
root 876 0.0 0.0 216132 656 ? Ss 04:57 0:04 cwp-phpfpm: master process (/usr/local/cwp/php71/etc/php-fpm.conf)
root 879 0.0 0.1 216376 2300 ? Ssl 04:57 0:03 /usr/sbin/rsyslogd -n
root 902 0.0 0.0 15692 444 ? Ss 04:57 0:00 /usr/sbin/dovecot -F
root 930 0.0 0.0 150064 264 ? Ss 04:57 0:00 /sbin/pure-ftpd /etc/pure-ftpd/pure-ftpd.conf
mysql 959 0.1 1.9 790200 35816 ? Ssl 04:57 0:27 /usr/sbin/mysqld
named 986 0.0 2.4 167312 46472 ? Ssl 04:57 0:02 /usr/sbin/named -u named -c /etc/named.conf
root 1001 0.0 0.0 97872 256 ? Ss 04:57 0:00 cwpsrv: master process /usr/local/cwpsrv/bin/cwpsrv
root 1002 0.0 0.1 98868 2220 ? S 04:57 0:00 cwpsrv: worker process
root 1003 0.0 0.1 98868 2328 ? S 04:57 0:02 cwpsrv: worker process
dovecot 1028 0.0 0.0 9360 228 ? S 04:57 0:00 dovecot/anvil
root 1029 0.0 0.0 9488 256 ? S 04:57 0:00 dovecot/log
root 1278 0.0 0.0 90288 428 ? Ss 04:57 0:00 /usr/libexec/postfix/master -w
postfix 1282 0.0 0.0 90460 224 ? S 04:57 0:00 qmgr -l -t fifo -u
root 2820 0.0 0.1 119976 2300 ? Ss 05:03 0:01 /usr/local/apache/bin/httpd -k start
nobody 2823 0.0 0.2 409076 4276 ? Sl 05:03 0:00 /usr/local/apache/bin/httpd -k start
nobody 2824 0.0 0.2 409076 4276 ? Sl 05:03 0:00 /usr/local/apache/bin/httpd -k start
nobody 2825 0.0 0.2 409076 4276 ? Sl 05:03 0:00 /usr/local/apache/bin/httpd -k start
root 2829 0.0 0.0 47104 1632 ? Ss 05:03 0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nobody 2908 0.0 0.2 48864 3920 ? S 05:03 0:01 nginx: worker process
varnish 2911 0.0 0.2 31852 4832 ? SLs 05:03 0:03 /usr/sbin/varnishd -P /var/run/varnish.pid -f /etc/varnish/default.vcl -a :82 -T 127.0.0.1:6082 -S /etc/varnish/se
varnish 2921 0.0 5.0 253540 95172 ? SLl 05:03 0:16 /usr/sbin/varnishd -P /var/run/varnish.pid -f /etc/varnish/default.vcl -a :82 -T 127.0.0.1:6082 -S /etc/varnish/se
root 3380 0.0 0.0 15948 308 ? S 05:25 0:00 dovecot/ssl-params
root 3446 0.0 0.0 0 0 ? S 06:23 0:06 [kworker/u2:0]
root 3464 0.0 0.0 0 0 ? S 06:38 0:00 [kworker/u2:2]
postfix 4429 0.0 0.2 90392 4068 ? S 09:58 0:00 pickup -l -t fifo -u -o content_filter= -o receive_override_options=no_header_body_checks
root 4817 0.0 0.0 0 0 ? R 10:16 0:00 [kworker/0:3]
root 4828 0.0 0.3 159356 6152 ? Ss 10:25 0:00 sshd: root@pts/0
root 4830 0.0 0.1 115436 2032 pts/0 Ss 10:25 0:00 -bash
root 4854 0.0 0.0 0 0 ? S 10:30 0:00 [kworker/0:1]
root 4855 0.0 0.0 0 0 ? S 10:35 0:00 [kworker/0:0]
root 4857 0.0 0.0 0 0 ? S 10:38 0:00 [kworker/0:2]
root 4863 0.0 0.0 155324 1880 pts/0 R+ 10:40 0:00 ps -aux