作者DRLai (蘇打)
看板Linux
標題[問題] 限制使用者的記憶體/CPU使用?
時間Fri Sep 26 07:21:29 2008
我記得Linux上好像可以限制一個使用者使用的資源
最近發現有些使用者程式寫的可能不是很好
佔掉了系統上9x %的記憶體
導致系統大lag..甚至無反應
想請問該怎麼設定呢?
或是在google上怎麼搜尋才能找到相關資料?
感謝^^"
--
▊ ◥ thePainter. ◤ ▎
▊ ◣◢
◣ ◤ ◣
◤ ▎
▊ ◥◤ ◣
◤ ◤ ▎ http://www.wretch.cc/blog/myelf
▊ ◥ ◢ ◤ ◤ ◤
▎ Wretch@BBS -> P_myelf
▊ ◢◤ thePainter. ◣ ▎ φthePainter.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.138.145.197
→ joexx12:man nice & renice can change process priority 09/26 08:04
推 antontw:限制記憶體使用,請用 ulimit (樓上玩的是優先順序) 09/26 12:24
→ DRLai:感謝,找到ulimit的資料了^^" 09/26 16:42