1. 程式人生 > >zabbix報內存剩余不足

zabbix報內存剩余不足

內存處理故障

[root@&& ~]# free  -h
              total        used        free      shared  buff/cache   available
Mem:           3.7G        3.4G        106M        628K        213M         88M
Swap:            0B          0B          0B
[root@** ~]#
[root@** ~]# top
top - 08:59:17 up 101 days, 16:33,  2 users,  load average: 0.00, 0.01, 0.05
Tasks:  80 total,   1 running,  79 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.3 us,  0.2 sy,  0.0 ni, 99.5 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  3881936 total,   110764 free,  3553236 used,   217936 buff/cache
KiB Swap:        0 total,        0 free,        0 used.    92288 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                                                                                                                  
  537 cloud     20   0 4985392 3.237g   5112 S   0.3 87.4  55:18.76 java                                                                                                                                                                                                     
15265 root      20   0  122036   1280    668 S   0.3  0.0  23:46.43 wrapper                                                                                                                                                                                                  
19379 root      20   0  197500  13552   2268 S   0.3  0.3  64:06.90 ilogtail                                                                                                                                                                                                 
    1 root      20   0   43120   2868   1724 S   0.0  0.1   0:52.11 systemd                                                                                                                                                                                                  
    2 root      20   0       0      0      0 S   0.0  0.0   0:01.17 kthreadd                                                                                                                                                                                                 
    3 root      20   0       0      0      0 S   0.0  0.0   0:10.40 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:08.75 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 S   0.0  0.0  21:30.86 rcu_sched                                                                                                                                                                                                
   10 root      rt   0       0      0      0 S   0.0  0.0   0:19.99 watchdog/0                                                                                                                                                                                               
   11 root      rt   0       0      0      0 S   0.0  0.0   0:15.38 watchdog/1                                                                                                                                                                                               
   12 root      rt   0       0      0      0 S   0.0  0.0   0:08.57 migration/1                                                                                                                                                                                              
   13 root      20   0       0      0      0 S   0.0  0.0   0:02.75 ksoftirqd/1                                                                                                                                                                                              
   15 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/1:0H                                                                                                                                                                                             
   17 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kdevtmpfs                                                                                                                                                                                                
   18 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 netns                                                                                                                                                                                                    
   19 root      20   0       0      0      0 S   0.0  0.0   0:01.69 khungtaskd
[root@** ~]# ps -ef |grep 537
cloud      537     1  0 May24 ?        00:55:19 /opt/jre/bin/java -Djava.util.logging.config.file=/home/cloud/userCenter/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -server -Xms3G -Xmx3G -XX:NewSize=128m -XX:MaxNewSize=128m -XX:PermSize=128m -XX:MaxPermSize=256m -XX:-UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection -XX:CMSInitiatingOccupancyFraction=80 -XX:+CMSParallelRemarkEnabled -XX:SoftRefLRUPolicyMSPerMB=0 -Djava.endorsed.dirs=/home/cloud/userCenter/endorsed -classpath /opt/*******/bin/bootstrap.jar:/opt/******/bin/tomcat-juli.jar -Dcatalina.base=/home/cloud/userCenter -Dcatalina.home=/opt/********* -Djava.io.tmpdir=/home/cloud/userCenter/temp org.apache.catalina.startup.Bootstrap start
root      1638   696  0 09:04 pts/1    00:00:00 grep --color=auto 537
[root@** ~]#

技術分享

本文出自 “磚家博客” 博客,請務必保留此出處http://wsxxsl.blog.51cto.com/9085838/1937377

zabbix報內存剩余不足