限制使用者的記憶體/CPU使用? - Linux

Table of Contents

我記得Linux上好像可以限制一個使用者使用的資源

最近發現有些使用者程式寫的可能不是很好

佔掉了系統上9x %的記憶體

導致系統大lag..甚至無反應

想請問該怎麼設定呢?

或是在google上怎麼搜尋才能找到相關資料?

感謝^^"

--
thePainter.
◣◢
◤ ◣ http://www.wretch.cc/blog/myelf
◢ ◤ ◤ ◤ Wretch@BBS -> P_myelf
thePainter. φthePainter.

--

All Comments

Steve avatarSteve2008-09-27
man nice & renice can change process priority
Una avatarUna2008-09-28
限制記憶體使用,請用 ulimit (樓上玩的是優先順序)
Ula avatarUla2008-10-03
感謝,找到ulimit的資料了^^"