NutzCN Logo
问答 mysql内存占用过高问题分析
发布于 70天前 作者 Hamming 253 次浏览 复制 上一个帖子 下一个帖子
标签:

系统Linux centos
MySQL 8.0
内存占用如下 输入命令top

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
25495 mysql     20   0 1909952 587300  17840 S   0.3  7.3  68:02.30 mysqld
31831 root      20   0 4724132 476872  15256 S   0.0  6.0  21:38.07 java
  477 root      20   0   67768  23968  23656 S   0.0  0.3   0:12.82 systemd-journal
 1457 root      20   0  800072  21996   5584 S   0.0  0.3 117:26.94 exe
 1046 root      20   0  574200  14108    816 S   0.0  0.2   6:19.95 tuned

MySQL 占用了很多内存
查看my.cnf配置

mysql --help | grep 'Default options' -A 1
cat /etc/my.cnf

配置如下

# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html

[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
 innodb_buffer_pool_size = 128M
#
# Remove the leading "# " to disable binary logging
# Binary logging captures changes between backups and is enabled by
# default. It's default setting is log_bin=binlog
# disable_log_bin
#
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
#
# Remove leading # to revert to previous value for default_authentication_plugin,
# this will increase compatibility with older clients. For background, see:
# https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin
# default-authentication-plugin=mysql_native_password

datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

似乎没有什么问题
分析MySQL 内存 命令 加MySQL进程ID

pmap -d 25495

信息如下

[root@CentOS ~]# pmap -d 25495
25495:   /usr/sbin/mysqld
Address           Kbytes Mode  Offset           Device    Mapping
0000000000400000   49676 r-x-- 0000000000000000 0fd:00001 mysqld
0000000003483000    1288 r---- 0000000003082000 0fd:00001 mysqld
00000000035c5000    3592 rw--- 00000000031c4000 0fd:00001 mysqld
0000000003947000    1188 rw--- 0000000000000000 000:00000   [ anon ]
0000000004fce000   13532 rw--- 0000000000000000 000:00000   [ anon ]
00007f833e1bf000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833e1c0000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833e207000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833e208000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833e34f000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833e350000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833e497000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833e498000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833e6df000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833e6e0000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833e727000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833e728000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833e96f000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833e970000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833e9b7000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833e9b8000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833ec07000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833ec08000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833ec4f000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833ec50000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833ec97000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833ec98000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833ecdf000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833ece0000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833ed27000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833ed28000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833ed6f000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833ed70000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833edb7000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833edb8000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f833f7ff000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f833f800000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f8340000000   10300 rw--- 0000000000000000 000:00000   [ anon ]
00007f8340a0f000   55236 ----- 0000000000000000 000:00000   [ anon ]
00007f8344000000   21120 rw--- 0000000000000000 000:00000   [ anon ]
00007f83454a0000   44416 ----- 0000000000000000 000:00000   [ anon ]
00007f8348000000    4468 rw--- 0000000000000000 000:00000   [ anon ]
00007f834845d000   61068 ----- 0000000000000000 000:00000   [ anon ]
00007f834c000000   34748 rw--- 0000000000000000 000:00000   [ anon ]
00007f834e1ef000   30788 ----- 0000000000000000 000:00000   [ anon ]
00007f8350000000    6516 rw--- 0000000000000000 000:00000   [ anon ]
00007f835065d000   59020 ----- 0000000000000000 000:00000   [ anon ]
00007f8354000000    8964 rw--- 0000000000000000 000:00000   [ anon ]
00007f83548c1000   56572 ----- 0000000000000000 000:00000   [ anon ]
00007f8358000000    9636 rw--- 0000000000000000 000:00000   [ anon ]
00007f8358969000   55900 ----- 0000000000000000 000:00000   [ anon ]
00007f835c000000    9468 rw--- 0000000000000000 000:00000   [ anon ]
00007f835c93f000   56068 ----- 0000000000000000 000:00000   [ anon ]
00007f8360000000    7876 rw--- 0000000000000000 000:00000   [ anon ]
00007f83607b1000   57660 ----- 0000000000000000 000:00000   [ anon ]
00007f8364000000    5596 rw--- 0000000000000000 000:00000   [ anon ]
00007f8364577000   59940 ----- 0000000000000000 000:00000   [ anon ]
00007f8368000000    7208 rw--- 0000000000000000 000:00000   [ anon ]
00007f836870a000   58328 ----- 0000000000000000 000:00000   [ anon ]
00007f836c000000    9516 rw--- 0000000000000000 000:00000   [ anon ]
00007f836c94b000   56020 ----- 0000000000000000 000:00000   [ anon ]
00007f837001e000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837001f000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8370066000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8370067000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f83700ae000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83700af000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f83700f6000    1024 rw--- 0000000000000000 000:00000   [ anon ]
00007f83701f6000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83701f7000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f837023e000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837023f000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8370386000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8370387000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f83703ce000    2048 rw--- 0000000000000000 000:00000   [ anon ]
00007f83705ce000    1024 rw--- 0000000000000000 000:00000   [ anon ]
00007f83706ce000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83706cf000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f8370ecf000    2048 rw--- 0000000000000000 000:00000   [ anon ]
00007f83710cf000    2048 rw--- 0000000000000000 000:00000   [ anon ]
00007f83712cf000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83712d0000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371317000    2048 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371517000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371518000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f837155f000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371560000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f83715a7000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83715a8000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f83715ef000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83715f0000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371637000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371638000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f837167f000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371680000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f83716c7000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83716c8000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f837170f000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371710000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371757000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371758000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f837179f000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83717a0000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f83717e7000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83717e8000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f837182f000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371830000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371877000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371878000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f83718bf000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83718c0000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371907000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371908000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f837194f000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371950000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371997000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371998000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f83719df000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83719e0000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371a27000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371a28000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371a6f000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371a70000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371ab7000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371ab8000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371aff000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371b00000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371b47000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371b48000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371b8f000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371b90000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371bd7000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8371bd8000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371c1f000    1024 rw--- 0000000000000000 000:00000   [ anon ]
00007f8371d1f000      60 r-x-- 0000000000000000 0fd:00001 libbz2.so.1.0.6
00007f8371d2e000    2044 ----- 000000000000f000 0fd:00001 libbz2.so.1.0.6
00007f8371f2d000       4 r---- 000000000000e000 0fd:00001 libbz2.so.1.0.6
00007f8371f2e000       4 rw--- 000000000000f000 0fd:00001 libbz2.so.1.0.6
00007f8371f2f000     148 r-x-- 0000000000000000 0fd:00001 liblzma.so.5.2.2
00007f8371f54000    2044 ----- 0000000000025000 0fd:00001 liblzma.so.5.2.2
00007f8372153000       4 r---- 0000000000024000 0fd:00001 liblzma.so.5.2.2
00007f8372154000       4 rw--- 0000000000025000 0fd:00001 liblzma.so.5.2.2
00007f8372155000      92 r-x-- 0000000000000000 0fd:00001 libelf-0.176.so
00007f837216c000    2044 ----- 0000000000017000 0fd:00001 libelf-0.176.so
00007f837236b000       4 r---- 0000000000016000 0fd:00001 libelf-0.176.so
00007f837236c000       4 rw--- 0000000000017000 0fd:00001 libelf-0.176.so
00007f837236d000      16 r-x-- 0000000000000000 0fd:00001 libattr.so.1.1.0
00007f8372371000    2044 ----- 0000000000004000 0fd:00001 libattr.so.1.1.0
00007f8372570000       4 r---- 0000000000003000 0fd:00001 libattr.so.1.1.0
00007f8372571000       4 rw--- 0000000000004000 0fd:00001 libattr.so.1.1.0
00007f8372572000     312 r-x-- 0000000000000000 0fd:00001 libdw-0.176.so
00007f83725c0000    2048 ----- 000000000004e000 0fd:00001 libdw-0.176.so
00007f83727c0000       8 r---- 000000000004e000 0fd:00001 libdw-0.176.so
00007f83727c2000       4 rw--- 0000000000050000 0fd:00001 libdw-0.176.so
00007f83727c3000      16 r-x-- 0000000000000000 0fd:00001 libcap.so.2.22
00007f83727c7000    2044 ----- 0000000000004000 0fd:00001 libcap.so.2.22
00007f83729c6000       4 r---- 0000000000003000 0fd:00001 libcap.so.2.22
00007f83729c7000       4 rw--- 0000000000004000 0fd:00001 libcap.so.2.22
00007f83729c8000      72 r-x-- 0000000000000000 0fd:00001 libnss_myhostname.so.2
00007f83729da000    2044 ----- 0000000000012000 0fd:00001 libnss_myhostname.so.2
00007f8372bd9000      12 r---- 0000000000011000 0fd:00001 libnss_myhostname.so.2
00007f8372bdc000       4 rw--- 0000000000014000 0fd:00001 libnss_myhostname.so.2
00007f8372bdd000      24 r-x-- 0000000000000000 0fd:00001 libnss_dns-2.17.so
00007f8372be3000    2044 ----- 0000000000006000 0fd:00001 libnss_dns-2.17.so
00007f8372de2000       4 r---- 0000000000005000 0fd:00001 libnss_dns-2.17.so
00007f8372de3000       4 rw--- 0000000000006000 0fd:00001 libnss_dns-2.17.so
00007f8372de4000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8372de5000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f83735e5000     100 r-x-- 0000000000000000 0fd:00001 component_validate_password.so
00007f83735fe000    2044 ----- 0000000000019000 0fd:00001 component_validate_password.so
00007f83737fd000       4 r---- 0000000000018000 0fd:00001 component_validate_password.so
00007f83737fe000       4 rw--- 0000000000019000 0fd:00001 component_validate_password.so
00007f83737ff000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8373800000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f8374000000    5184 rw--- 0000000000000000 000:00000   [ anon ]
00007f8374510000   60352 ----- 0000000000000000 000:00000   [ anon ]
00007f8378017000      48 r-x-- 0000000000000000 0fd:00001 libnss_files-2.17.so
00007f8378023000    2044 ----- 000000000000c000 0fd:00001 libnss_files-2.17.so
00007f8378222000       4 r---- 000000000000b000 0fd:00001 libnss_files-2.17.so
00007f8378223000       4 rw--- 000000000000c000 0fd:00001 libnss_files-2.17.so
00007f8378224000      24 rw--- 0000000000000000 000:00000   [ anon ]
00007f837822a000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837822b000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f8378a2b000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8378a2c000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f837922c000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837922d000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f8379a2d000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8379a2e000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f837a22e000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837a22f000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f837aa2f000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837aa30000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f837b230000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837b231000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f837ba31000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837ba32000   11012 rw--- 0000000000000000 000:00000   [ anon ]
00007f837c4f3000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837c4f4000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f837ccf4000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837ccf5000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f837d4f5000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837d4f6000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f837dcf6000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837dcf7000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f837e4f7000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837e4f8000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f837ecf8000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837ecf9000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f837f4f9000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837f4fa000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f837fcfa000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f837fcfb000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f83804fb000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83804fc000   49164 rw--- 0000000000000000 000:00000   [ anon ]
00007f83834ff000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8383500000  142336 rw--- 0000000000000000 000:00000   [ anon ]
00007f838c000000    9808 rw--- 0000000000000000 000:00000   [ anon ]
00007f838c994000   55728 ----- 0000000000000000 000:00000   [ anon ]
00007f839001b000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f839001c000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8390063000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8390064000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f83900ab000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83900ac000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f83900f3000    1024 rw--- 0000000000000000 000:00000   [ anon ]
00007f83901f3000    6168 rw--- 0000000000000000 000:00000   [ anon ]
00007f83907f9000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83907fa000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f8390ffa000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8390ffb000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f83917fb000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83917fc000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f8391ffc000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8391ffd000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f83927fd000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83927fe000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f8392ffe000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8392fff000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f83937ff000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8393800000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f8394000000   15508 rw--- 0000000000000000 000:00000   [ anon ]
00007f8394f25000   50028 ----- 0000000000000000 000:00000   [ anon ]
00007f8398017000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8398018000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f839805f000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8398060000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f83980a7000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83980a8000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f83980ef000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83980f0000     960 rw--- 0000000000000000 000:00000   [ anon ]
00007f83981e0000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83981e1000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f83989e1000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83989e2000    9176 rw--- 0000000000000000 000:00000   [ anon ]
00007f83992e6000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83992e7000     280 rw--- 0000000000000000 000:00000   [ anon ]
00007f839932d000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f839932e000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f8399375000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8399376000     284 rw--- 0000000000000000 000:00000   [ anon ]
00007f83993bd000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f83993be000     280 rw--- 0000000000000000 000:00000   [ anon ]
00007f8399404000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8399405000     280 rw--- 0000000000000000 000:00000   [ anon ]
00007f839944b000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f839944c000     280 rw--- 0000000000000000 000:00000   [ anon ]
00007f8399492000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f8399493000    2728 rw--- 0000000000000000 000:00000   [ anon ]
00007f839973d000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f839973e000    8192 rw--- 0000000000000000 000:00000   [ anon ]
00007f8399f3e000      12 rw-s- 0000000000000000 000:0000b [aio] (deleted)
00007f8399f41000      12 rw-s- 0000000000000000 000:0000b [aio] (deleted)
00007f8399f44000    4772 rw--- 0000000000000000 000:00000   [ anon ]
00007f839a3ed000       4 ----- 0000000000000000 000:00000   [ anon ]
00007f839a3ee000  291996 rw--- 0000000000000000 000:00000   [ anon ]
00007f83ac115000     384 r-x-- 0000000000000000 0fd:00001 libpcre.so.1.2.0
00007f83ac175000    2048 ----- 0000000000060000 0fd:00001 libpcre.so.1.2.0
00007f83ac375000       4 r---- 0000000000060000 0fd:00001 libpcre.so.1.2.0
00007f83ac376000       4 rw--- 0000000000061000 0fd:00001 libpcre.so.1.2.0
00007f83ac377000     144 r-x-- 0000000000000000 0fd:00001 libselinux.so.1
00007f83ac39b000    2044 ----- 0000000000024000 0fd:00001 libselinux.so.1
00007f83ac59a000       4 r---- 0000000000023000 0fd:00001 libselinux.so.1
00007f83ac59b000       4 rw--- 0000000000024000 0fd:00001 libselinux.so.1
00007f83ac59c000       8 rw--- 0000000000000000 000:00000   [ anon ]
00007f83ac59e000      88 r-x-- 0000000000000000 0fd:00001 libresolv-2.17.so
00007f83ac5b4000    2044 ----- 0000000000016000 0fd:00001 libresolv-2.17.so
00007f83ac7b3000       4 r---- 0000000000015000 0fd:00001 libresolv-2.17.so
00007f83ac7b4000       4 rw--- 0000000000016000 0fd:00001 libresolv-2.17.so
00007f83ac7b5000       8 rw--- 0000000000000000 000:00000   [ anon ]
00007f83ac7b7000      12 r-x-- 0000000000000000 0fd:00001 libkeyutils.so.1.5
00007f83ac7ba000    2044 ----- 0000000000003000 0fd:00001 libkeyutils.so.1.5
00007f83ac9b9000       4 r---- 0000000000002000 0fd:00001 libkeyutils.so.1.5
00007f83ac9ba000       4 rw--- 0000000000003000 0fd:00001 libkeyutils.so.1.5
00007f83ac9bb000      56 r-x-- 0000000000000000 0fd:00001 libkrb5support.so.0.1
00007f83ac9c9000    2048 ----- 000000000000e000 0fd:00001 libkrb5support.so.0.1
00007f83acbc9000       4 r---- 000000000000e000 0fd:00001 libkrb5support.so.0.1
00007f83acbca000       4 rw--- 000000000000f000 0fd:00001 libkrb5support.so.0.1
00007f83acbcb000      84 r-x-- 0000000000000000 0fd:00001 libz.so.1.2.7
00007f83acbe0000    2044 ----- 0000000000015000 0fd:00001 libz.so.1.2.7
00007f83acddf000       4 r---- 0000000000014000 0fd:00001 libz.so.1.2.7
00007f83acde0000       4 rw--- 0000000000015000 0fd:00001 libz.so.1.2.7
00007f83acde1000     196 r-x-- 0000000000000000 0fd:00001 libk5crypto.so.3.1
00007f83ace12000    2044 ----- 0000000000031000 0fd:00001 libk5crypto.so.3.1
00007f83ad011000       8 r---- 0000000000030000 0fd:00001 libk5crypto.so.3.1
00007f83ad013000       4 rw--- 0000000000032000 0fd:00001 libk5crypto.so.3.1
00007f83ad014000      12 r-x-- 0000000000000000 0fd:00001 libcom_err.so.2.1
00007f83ad017000    2044 ----- 0000000000003000 0fd:00001 libcom_err.so.2.1
00007f83ad216000       4 r---- 0000000000002000 0fd:00001 libcom_err.so.2.1
00007f83ad217000       4 rw--- 0000000000003000 0fd:00001 libcom_err.so.2.1
00007f83ad218000     868 r-x-- 0000000000000000 0fd:00001 libkrb5.so.3.3
00007f83ad2f1000    2044 ----- 00000000000d9000 0fd:00001 libkrb5.so.3.3
00007f83ad4f0000      56 r---- 00000000000d8000 0fd:00001 libkrb5.so.3.3
00007f83ad4fe000      12 rw--- 00000000000e6000 0fd:00001 libkrb5.so.3.3
00007f83ad501000     296 r-x-- 0000000000000000 0fd:00001 libgssapi_krb5.so.2.2
00007f83ad54b000    2048 ----- 000000000004a000 0fd:00001 libgssapi_krb5.so.2.2
00007f83ad74b000       4 r---- 000000000004a000 0fd:00001 libgssapi_krb5.so.2.2
00007f83ad74c000       8 rw--- 000000000004b000 0fd:00001 libgssapi_krb5.so.2.2
00007f83ad74e000       8 r-x-- 0000000000000000 0fd:00001 libfreebl3.so
00007f83ad750000    2044 ----- 0000000000002000 0fd:00001 libfreebl3.so
00007f83ad94f000       4 r---- 0000000000001000 0fd:00001 libfreebl3.so
00007f83ad950000       4 rw--- 0000000000002000 0fd:00001 libfreebl3.so
00007f83ad951000    1804 r-x-- 0000000000000000 0fd:00001 libc-2.17.so
00007f83adb14000    2048 ----- 00000000001c3000 0fd:00001 libc-2.17.so
00007f83add14000      16 r---- 00000000001c3000 0fd:00001 libc-2.17.so
00007f83add18000       8 rw--- 00000000001c7000 0fd:00001 libc-2.17.so
00007f83add1a000      20 rw--- 0000000000000000 000:00000   [ anon ]
00007f83add1f000      84 r-x-- 0000000000000000 0fd:00001 libgcc_s-4.8.5-20150702.so.1
00007f83add34000    2044 ----- 0000000000015000 0fd:00001 libgcc_s-4.8.5-20150702.so.1
00007f83adf33000       4 r---- 0000000000014000 0fd:00001 libgcc_s-4.8.5-20150702.so.1
00007f83adf34000       4 rw--- 0000000000015000 0fd:00001 libgcc_s-4.8.5-20150702.so.1
00007f83adf35000    1028 r-x-- 0000000000000000 0fd:00001 libm-2.17.so
00007f83ae036000    2044 ----- 0000000000101000 0fd:00001 libm-2.17.so
00007f83ae235000       4 r---- 0000000000100000 0fd:00001 libm-2.17.so
00007f83ae236000       4 rw--- 0000000000101000 0fd:00001 libm-2.17.so
00007f83ae237000     932 r-x-- 0000000000000000 0fd:00001 libstdc++.so.6.0.19
00007f83ae320000    2044 ----- 00000000000e9000 0fd:00001 libstdc++.so.6.0.19
00007f83ae51f000      32 r---- 00000000000e8000 0fd:00001 libstdc++.so.6.0.19
00007f83ae527000       8 rw--- 00000000000f0000 0fd:00001 libstdc++.so.6.0.19
00007f83ae529000      84 rw--- 0000000000000000 000:00000   [ anon ]
00007f83ae53e000      40 r-x-- 0000000000000000 0fd:00001 libnuma.so.1.0.0
00007f83ae548000    2044 ----- 000000000000a000 0fd:00001 libnuma.so.1.0.0
00007f83ae747000       4 r---- 0000000000009000 0fd:00001 libnuma.so.1.0.0
00007f83ae748000       4 rw--- 000000000000a000 0fd:00001 libnuma.so.1.0.0
00007f83ae749000       4 r-x-- 0000000000000000 0fd:00001 libaio.so.1.0.1
00007f83ae74a000    2044 ----- 0000000000001000 0fd:00001 libaio.so.1.0.1
00007f83ae949000       4 r---- 0000000000000000 0fd:00001 libaio.so.1.0.1
00007f83ae94a000       4 rw--- 0000000000001000 0fd:00001 libaio.so.1.0.1
00007f83ae94b000       8 r-x-- 0000000000000000 0fd:00001 libdl-2.17.so
00007f83ae94d000    2048 ----- 0000000000002000 0fd:00001 libdl-2.17.so
00007f83aeb4d000       4 r---- 0000000000002000 0fd:00001 libdl-2.17.so
00007f83aeb4e000       4 rw--- 0000000000003000 0fd:00001 libdl-2.17.so
00007f83aeb4f000    2264 r-x-- 0000000000000000 0fd:00001 libcrypto.so.1.0.2k
00007f83aed85000    2048 ----- 0000000000236000 0fd:00001 libcrypto.so.1.0.2k
00007f83aef85000     112 r---- 0000000000236000 0fd:00001 libcrypto.so.1.0.2k
00007f83aefa1000      52 rw--- 0000000000252000 0fd:00001 libcrypto.so.1.0.2k
00007f83aefae000      16 rw--- 0000000000000000 000:00000   [ anon ]
00007f83aefb2000     412 r-x-- 0000000000000000 0fd:00001 libssl.so.1.0.2k
00007f83af019000    2048 ----- 0000000000067000 0fd:00001 libssl.so.1.0.2k
00007f83af219000      16 r---- 0000000000067000 0fd:00001 libssl.so.1.0.2k
00007f83af21d000      28 rw--- 000000000006b000 0fd:00001 libssl.so.1.0.2k
00007f83af224000      28 r-x-- 0000000000000000 0fd:00001 librt-2.17.so
00007f83af22b000    2044 ----- 0000000000007000 0fd:00001 librt-2.17.so
00007f83af42a000       4 r---- 0000000000006000 0fd:00001 librt-2.17.so
00007f83af42b000       4 rw--- 0000000000007000 0fd:00001 librt-2.17.so
00007f83af42c000      32 r-x-- 0000000000000000 0fd:00001 libcrypt-2.17.so
00007f83af434000    2044 ----- 0000000000008000 0fd:00001 libcrypt-2.17.so
00007f83af633000       4 r---- 0000000000007000 0fd:00001 libcrypt-2.17.so
00007f83af634000       4 rw--- 0000000000008000 0fd:00001 libcrypt-2.17.so
00007f83af635000     184 rw--- 0000000000000000 000:00000   [ anon ]
00007f83af663000      92 r-x-- 0000000000000000 0fd:00001 libpthread-2.17.so
00007f83af67a000    2044 ----- 0000000000017000 0fd:00001 libpthread-2.17.so
00007f83af879000       4 r---- 0000000000016000 0fd:00001 libpthread-2.17.so
00007f83af87a000       4 rw--- 0000000000017000 0fd:00001 libpthread-2.17.so
00007f83af87b000      16 rw--- 0000000000000000 000:00000   [ anon ]
00007f83af87f000     136 r-x-- 0000000000000000 0fd:00001 ld-2.17.so
00007f83af8a2000      12 rw-s- 0000000000000000 000:0000b [aio] (deleted)
00007f83af8a5000      12 rw-s- 0000000000000000 000:0000b [aio] (deleted)
00007f83af8a8000      12 rw-s- 0000000000000000 000:0000b [aio] (deleted)
00007f83af8ab000      12 rw-s- 0000000000000000 000:0000b [aio] (deleted)
00007f83af8ae000      12 rw-s- 0000000000000000 000:0000b [aio] (deleted)
00007f83af8b1000      12 rw-s- 0000000000000000 000:0000b [aio] (deleted)
00007f83af8b4000      12 rw-s- 0000000000000000 000:0000b [aio] (deleted)
00007f83af8b7000    1932 rw--- 0000000000000000 000:00000   [ anon ]
00007f83afa9a000       4 rw-s- 0000000000000000 000:0000b [aio] (deleted)
00007f83afa9b000      12 rw-s- 0000000000000000 000:0000b [aio] (deleted)
00007f83afa9e000       4 rw-s- 0000000000000000 000:0000b [aio] (deleted)
00007f83afa9f000       4 rw--- 0000000000000000 000:00000   [ anon ]
00007f83afaa0000       4 r---- 0000000000021000 0fd:00001 ld-2.17.so
00007f83afaa1000       4 rw--- 0000000000022000 0fd:00001 ld-2.17.so
00007f83afaa2000       4 rw--- 0000000000000000 000:00000   [ anon ]
00007ffcfec67000     132 rw--- 0000000000000000 000:00000   [ stack ]
00007ffcfecdc000       8 r-x-- 0000000000000000 000:00000   [ anon ]
ffffffffff600000       4 r-x-- 0000000000000000 000:00000   [ anon ]
mapped: 1909956K    writeable/private: 963604K    shared: 128K

有好多anon 是什么占用呢

2 回复

587300 才500多mb,不多呀

噢噢 尴尬 以为内存又要满了

添加回复
请先登陆
回到顶部