linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: 梁晨 <lcpcsky@yahoo.com.cn>
To: Richard Nairn <richard@nairnconsulting.ca>, linux-admin@vger.kernel.org
Subject: Re: Question about program run out of memory
Date: Wed, 27 Aug 2008 12:55:21 +0800 (CST)	[thread overview]
Message-ID: <241721.31994.qm@web15608.mail.cnb.yahoo.com> (raw)

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

             reply	other threads:[~2008-08-27  4:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-27  4:55 梁晨 [this message]
  -- strict thread matches above, loose matches on Subject: below --
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=241721.31994.qm@web15608.mail.cnb.yahoo.com \
    --to=lcpcsky@yahoo.com.cn \
    --cc=linux-admin@vger.kernel.org \
    --cc=richard@nairnconsulting.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).