看板 PttCurrent 關於我們 聯絡資訊
因為我把一些我認為我需要的東西都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
ccpz:他會重複計算 shm,雖然大家共用,但是每個process 140.113.96.106 05/25
ccpz:的mem 使用都會加上 shm 的大小 140.113.96.106 05/25
shane123:thanks~~ 61.62.97.25 05/26