作者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