分类:linux日期:2013-05-31 - 22:18:27评论:21条作者:老谢
正常我的VPS内存使用在220MB左右,由于一次折腾导致VPS重启后发现内存一直在330M左右,虽然我768MB的内存完全足够,但是对于一个有点小洁癖的人来说,无法忍受。。于是乎检查之。。。
[root@www ~]# ps -A --sort -rss -o comm,pmem,pcpu |uniq -c |head -15
1 COMMAND %MEM %CPU
1 clamd 12.6 0.0
1 httpd 4.2 0.1
1 httpd 4.1 0.1
1 iscsiuio 4.1 0.0
1 httpd 4.1 0.2
1 httpd 4.0 0.1
1 httpd 3.9 0.1
1 httpd 3.8 0.1
1 httpd 3.8 0.4
1 httpd 1.4 0.1
1 httpd 1.1 0.0
1 httpd 1.0 0.2
1 mysqld 1.0 1.4
1 httpd 0.8 0.0 |
[root@www ~]# ps -A --sort -rss -o comm,pmem,pcpu |uniq -c |head -15
1 COMMAND %MEM %CPU
1 clamd 12.6 0.0
1 httpd 4.2 0.1
1 httpd 4.1 0.1
1 iscsiuio 4.1 0.0
1 httpd 4.1 0.2
1 httpd 4.0 0.1
1 httpd 3.9 0.1
1 httpd 3.8 0.1
1 httpd 3.8 0.4
1 httpd 1.4 0.1
1 httpd 1.1 0.0
1 httpd 1.0 0.2
1 mysqld 1.0 1.4
1 httpd 0.8 0.0
clamd居然吃了12.6%的内存,猛然想起来这货是我装的一个杀软…卸载后完事….
接着还有iscsiuio这个东西,至于这是什么。。老谢也不知道。。man了一下,描述如下:
DESCRIPTION
iscsiuio is the UserSpace I/O driver for the Broadcom NetXtreme II BCM5706/5708/5709 series PCI/PCI-X Gigabit
Ethernet Network Interface Card (NIC) and for the Broadcom NetXtreme II BCM57710/57711/57712/57800/57810/57840
series PCI-E 10 Gigabit Ethernet Network Interface Card. The driver has been tested on 2.6.28 kernels and
above.
Refer to the README.TXT from the driver package on how to compile and install the driver.
Refer to various Linux documentations on how to configure network protocol and address.
没看懂啥意思,反正国内外论坛都搜了,说是可以关闭,不对系统造成影响,既然如此就关掉好了
chkconfig iscsi off
chkconfig iscsid off
service iscsid stop |
chkconfig iscsi off
chkconfig iscsid off
service iscsid stop
接着…..世界终于爽了………
[root@www ~]# vmstat -S M
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 0 548 0 69 0 0 22 10 0 161 4 0 87 9 0
[root@www ~]# free -m
total used free shared buffers cached
Mem: 768 219 548 0 0 68
-/+ buffers/cache: 150 617
Swap: 0 0 0 |
[root@www ~]# vmstat -S M
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 0 548 0 69 0 0 22 10 0 161 4 0 87 9 0
[root@www ~]# free -m
total used free shared buffers cached
Mem: 768 219 548 0 0 68
-/+ buffers/cache: 150 617
Swap: 0 0 0
PS:服务商一定喜欢我酱紫的客户….Orz
最新评论
zwwooooo:买特斯拉和买iPhone的人群其实相似...
平安家属子痕:一直坚持油车,看你写的心里有...
秦大叔:室内每年能开2万公里电车确实划算 ...
灰常记忆:尊贵的特斯拉车主啊,对了一直对单...
拳废神域界:我的车现在平常跑不了啥,就放假...
大峰:电车起步超级快,我油车反正是跟不上,...
Mr.Chou:电车高速上真120和油车120真的有区...
Mr.Chou:18 19年入手的房子现在死的心都有了...
老何:不至于跌得这么狠吧
Andy烧麦:这些大厂都能提供必要的售后