linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about program run out of memory
@ 2008-08-27  1:16 梁晨
  2008-08-27  2:37 ` Richard Nairn
  2008-08-29 14:03 ` Yuri Csapo
  0 siblings, 2 replies; 4+ messages in thread
From: 梁晨 @ 2008-08-27  1:16 UTC (permalink / raw)
  To: linux-admin

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Question about program run out of memory
@ 2008-08-27  4:55 梁晨
  0 siblings, 0 replies; 4+ messages in thread
From: 梁晨 @ 2008-08-27  4:55 UTC (permalink / raw)
  To: Richard Nairn, linux-admin

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, Áº³¿ <lcpcsky@yahoo.com.cn> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-29 14:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-27  1:16 Question about program run out of memory 梁晨
2008-08-27  2:37 ` Richard Nairn
2008-08-29 14:03 ` Yuri Csapo
  -- strict thread matches above, loose matches on Subject: below --
2008-08-27  4:55 梁晨

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).