hjc0759 发表于 2008-11-12 21:14:50

1109r1正式版出现了内存泄露

版本信息 版本代号为"ZHOU(周朝)r1",创建于2008-11-09 21:24:07
特征库 特征库版本为20081110

last pid: 67884;load averages:
3.21,2.64, 2.55                                                      up 0+13:01:2821:14:00
555 processes: 7 running, 469 sleeping, 78 zombie, 1 lock
CPU states: 13.3% user,0.0% nice, 15.0% system,4.1% interrupt, 67.6% idle
Mem: 329M Active, 531M Inact, 80M Wired, 28M Cache, 71M Buf, 28M Free
Swap: 2022M Total, 106M Used, 1916M Free, 5% Inuse
当我做一个IP群组,内存越来越小;最后提示出错shmget fail

[ 本帖最后由 hjc0759 于 2008-11-12 21:16 编辑 ]

panabit 发表于 2008-11-12 21:37:37

原帖由 hjc0759 于 2008-11-12 21:14 发表 http://www.panabit.com/forum/images/common/back.gif
版本信息 版本代号为"ZHOU(周朝)r1",创建于2008-11-09 21:24:07
特征库 特征库版本为20081110

last pid: 67884;load averages:
3.21,2.64, 2.55                                                   ...

你怎么使用的?
应该不会有这个问题,这个问题已经修复了。

hjc0759 发表于 2008-11-12 21:40:58

我在命令行里面添加的
floweye table addip 1 202.16.135.7 202.16.135.7
floweye table addip 1 202.16.87.28 202.16.87.28
。。。。。。。。。。。。

hjc0759 发表于 2008-11-12 21:42:55

last pid: 87080;load averages:3.22,2.89,2.93                                                      
up 0+13:32:1221:44:31
588 processes: 12 running, 467 sleeping, 81 zombie, 28 lock
CPU states:7.8% user,0.0% nice, 19.3% system,3.7% interrupt, 69.1% idle
Mem: 368M Active, 478M Inact, 99M Wired, 42M Cache, 73M Buf, 10M Free
Swap: 2023M Total, 127M Used, 1896M Free, 6% Inuse

panabit 发表于 2008-11-12 21:43:47

原帖由 hjc0759 于 2008-11-12 21:40 发表 http://www.panabit.com/forum/images/common/back.gif
我在命令行里面添加的
floweye table addip 1 202.16.135.7 202.16.135.7
floweye table addip 1 202.16.87.28 202.16.87.28
。。。。。。。。。。。。

我这里没有发现这个问题。
请适用/usr/panabit/bin/floweye看看.

hjc0759 发表于 2008-11-13 00:02:03

ln-s过去/usr/panaibt/bin/floweye 还是会出现这个问题:shmget fail(cannot allocate memory)

[ 本帖最后由 hjc0759 于 2008-11-13 08:16 编辑 ]

panabit 发表于 2008-11-13 10:10:13

原帖由 hjc0759 于 2008-11-13 00:02 发表 http://www.panabit.com/forum/images/common/back.gif
ln-s过去/usr/panaibt/bin/floweye 还是会出现这个问题:shmget fail(cannot allocate memory)

1. 你使用ipcs看看,结果贴上来
2. 有必要的话,重新启动整个系统,早一点版本有这个问题,但是8.10正式版已经修复了。

hjc0759 发表于 2008-11-13 11:03:19

以上方法都试过了,以前没有用过ip群组没有这个问题
Message Queues:
T         ID          KEY MODE      OWNER    GROUP   

Shared Memory:
T         ID          KEY MODE      OWNER    GROUP   
m       131072            0 --rw-------   root    wheel
m      65537            0 --rw-------   root    wheel
m      65538            0 --rw-------   root    wheel
m      65539            0 --rw-------   root    wheel
m      65540            0 --rw-------   root    wheel
m      65541            0 --rw-------   root    wheel
m      65542            0 --rw-------   root    wheel
m      65543            0 --rw-------   root    wheel
m      65544            0 --rw-------   root    wheel
m      65545            0 --rw-------   root    wheel
m      65546            0 --rw-------   root    wheel
m      65547            0 --rw-------   root    wheel
m      65548            0 --rw-------   root    wheel
m       131085            0 --rw-------   root    wheel
m       131086            0 --rw-------   root    wheel
m      4194319            0 --rw-------   root    wheel
m      8585232            0 --rw-------   root    wheel
m      3145745            0 --rw-------   root    wheel
////////////////////////////////////////////////////////////
Message Queues:
T         ID          KEY MODE      OWNER    GROUP   

Shared Memory:
T         ID          KEY MODE      OWNER    GROUP   
m       131072            0 --rw-------   root    wheel
m      65537            0 --rw-------   root    wheel
m      65538            0 --rw-------   root    wheel
m      65539            0 --rw-------   root    wheel
m      65540            0 --rw-------   root    wheel
m      65541            0 --rw-------   root    wheel
m      65542            0 --rw-------   root    wheel
m      65543            0 --rw-------   root    wheel
m      65544            0 --rw-------   root    wheel
m      65545            0 --rw-------   root    wheel
m      65546            0 --rw-------   root    wheel
m      65547            0 --rw-------   root    wheel
m      65548            0 --rw-------   root    wheel
m       131085            0 --rw-------   root    wheel
m       131086            0 --rw-------   root    wheel
m      4194319            0 --rw-------   root    wheel
m      8585232            0 --rw-------   root    wheel
m      3145745            0 --rw-------   root    wheel
m      3342354            0 --rw-------   root    wheel

huanglr 发表于 2008-11-13 11:10:25

我們也有用IP組,但好像沒有這個問題哦.

hjc0759 发表于 2008-11-13 13:03:59

serverIP 是固定的吧,我的是利用脚本定时将部分连接数多的IP加入黑名单ip群组,做动态带宽。
floweye table clear all
sleep 3
floweye table addip 1 202.192.128.101 202.192.128.101
floweye table addip 1 202.192.126.195 202.192.126.195
floweye table addip 1 202.192.117.60 202.192.117.60
floweye table addip 1 202.192.72.85 202.192.72.85
floweye table addip 1 202.192.87.34 202.192.87.34
floweye table addip 1 202.192.73.190 202.192.73.190
floweye table addip 1 202.192.133.25 202.192.133.25
floweye table addip 1 202.192.128.112 202.192.128.112
floweye table addip 1 202.192.86.26 202.192.86.26
floweye table addip 1 202.192.130.24 202.192.130.24
floweye table addip 1 202.192.130.38 202.192.130.38
floweye table addip 1 202.192.72.222 202.192.72.222
floweye table addip 1 202.192.87.28 202.192.87.28
~
这时出现问题了。
页: [1] 2
查看完整版本: 1109r1正式版出现了内存泄露