High SWAP Utilization


#1
top - 09:52:20 up 18 days, 22:43,  2 users,  load average: 2.24, 1.94, 1.64
Tasks: 130 total,   1 running, 129 sleeping,   0 stopped,   0 zombie
%Cpu(s):  2.2 us,  2.2 sy,  0.0 ni, 95.3 id,  0.2 wa,  0.0 hi,  0.2 si,  0.0 st
KiB Mem :  3880400 total,   215276 free,  1156288 used,  2508836 buff/cache
KiB Swap:   524284 total,   325116 free,   199168 used.  2181592 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 1433 mysql     20   0 1659000 506472   5408 S   0.3 13.1  97:38.01 mysqld
29824 asterisk  20   0 1145884 114928   5708 S   0.0  3.0   5:03.71 letschat
25154 root      20   0  323284  86008   3052 S   0.0  2.2 179:04.75 fop2_server
13665 asterisk  20   0 2200752  80808   9112 S   5.3  2.1 443:42.86 asterisk
16867 asterisk  20   0 1099520  58616  14872 S   0.3  1.5   2:52.00 node /var/www/h
14377 asterisk  20   0  758940  56724  32176 S   0.0  1.5   0:00.83 httpd
13787 asterisk  20   0  943804  51976   4752 S   0.3  1.3  13:42.80 PM2 v2.10.7: Go
14859 asterisk  20   0  744144  42584  21852 S   0.0  1.1   0:00.33 httpd
 5186 asterisk  20   0  742208  36248  17316 S   1.7  0.9   0:01.05 httpd
10744 asterisk  20   0  742460  36132  17112 S   0.0  0.9   0:00.68 httpd
 7623 asterisk  20   0  741180  34376  16484 S   0.3  0.9   0:01.51 httpd
14587 asterisk  20   0  741692  33756  15536 S   0.0  0.9   0:00.24 httpd
17103 asterisk  20   0  741180  33292  15396 S   0.0  0.9   0:00.17 httpd
12620 asterisk  20   0  741180  33224  15324 S   0.0  0.9   0:00.30 httpd
17552 asterisk  20   0  740872  32924  15264 S   0.0  0.8   0:00.08 httpd
17896 asterisk  20   0  740848  32328  14664 S   0.0  0.8   0:00.08 httpd
14104 asterisk  20   0  986124  25548   4952 S   0.0  0.7   6:39.05 node /var/www/h
 5078 root      20   0  630040  19580   9064 S   0.0  0.5   0:59.93 httpd
17894 asterisk  20   0  630856  16544   5344 S   0.0  0.4   0:00.01 httpd
  996 mongodb   20   0  481824  15756   2468 S   0.3  0.4  59:35.85 mongod
  900 root      20   0  396632  13356   4116 S   0.0  0.3   2:06.82 rsyslogd
13495 root      20   0 1231576   9260   1660 S   0.0  0.2  26:40.53 fail2ban-server
29332 root      20   0  269148   7884   1800 S   0.0  0.2   1:13.13 asterniclog

MySQL is stuck at 13.1%
SWAP is 38%

I believe the above 2 parameters are worrisome. are they? What action should I do?


#2

Not really, swap and memory is a linux thing, (well handled) but press 1 while ‘topping’ you have here a load average of 2.24 in the last minute, a little less in the last 5mins and 15mins. If you have 4 cores you are likey good, if just one, you are ‘overloaded’


#3

Thanks @dicko
Server has 4GB RAM & 2 Cores.

I guess not required to bump up the server specs at this time?

Thanks


(system) closed #4

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.