作者shane123 (家产有八十七亿  ﰩ
看板PttCurrent
标题mbbsd 肥大的话有影响吗?
时间Tue May 24 22:39:51 2005
因为我把一些我认为我需要的东西都load 到 SHM
(还蛮多的 好像跑完 bin/shmctl init 就会吃掉40M的SHM)
结果top 一看
Mem: 110M Active, 58M Inact, 57M Wired, 12M Cache, 35M Buf, 10M Free
Swap: 466M Total, 132K Used, 466M Free
16353 bbs 2 0 50516K 1268K accept 0:00 0.00% 0.00% mbbsd.052422
16355 bbs 2 0 50516K 1248K accept 0:00 0.00% 0.00% mbbsd.052422
..
..
..
..
..
可是看起来 Mem似乎也没吃掉很多阿?
这到底是怎麽回事呢?
那我又该如何计算同时能让几个人上线呢?
thanks~
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.62.97.25
1F:推 ccpz:他会重复计算 shm,虽然大家共用,但是每个process 140.113.96.106 05/25
2F:→ ccpz:的mem 使用都会加上 shm 的大小 140.113.96.106 05/25
3F:推 shane123:thanks~~ 61.62.97.25 05/26