Re: Question about program run out of memory

梁晨 <[email protected]>
Newsgroups gmane.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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.