Re: Question about program run out of memory

梁晨 <[email protected]> Wed, 27 Aug 2008 12:55:21 +0800 (CST)
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
Thank you, I tried "ulimit -Sv 1024000" successful, finally I wrote this line "* hard as 1024000" into /etc/security/limits.conf, so it can be apply when system booting.


> Check out ulimit. It controls a number of parameters such as maximum  
> memory size, core dump size, open file descriptors...

>>On Tue, 26 Aug 2008 19:16:35 -0600, Áº³¿ <[email protected]> wrote:

>> hi,
>> I encountered such a problem when a program have some bug that it will  
>> ask for endless memory, until the system completely dead, I can only  
>> reboot it. Can I do some restriction of the max memory per process?  
>> Thanks!


      ___________________________________________________________ 
 ÑÅ»¢ÓÊÏ䣬ÄúµÄÖÕÉúÓÊÏ䣡 
http://cn.mail.yahoo.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html