From: "Richard Nairn" <richard@nairnconsulting.ca>
To: 梁晨 <lcpcsky@yahoo.com.cn>, linux-admin@vger.kernel.org
Subject: Re: Question about program run out of memory
Date: Tue, 26 Aug 2008 20:37:19 -0600 [thread overview]
Message-ID: <op.ugixkhh6k1m0hh@scorpio> (raw)
In-Reply-To: <963533.65471.qm@web15605.mail.cnb.yahoo.com>
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
--
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
next prev parent reply other threads:[~2008-08-27 2:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-27 1:16 Question about program run out of memory 梁晨
2008-08-27 2:37 ` Richard Nairn [this message]
2008-08-29 14:03 ` Yuri Csapo
-- strict thread matches above, loose matches on Subject: below --
2008-08-27 4:55 梁晨
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=op.ugixkhh6k1m0hh@scorpio \
--to=richard@nairnconsulting.ca \
--cc=lcpcsky@yahoo.com.cn \
--cc=linux-admin@vger.kernel.org \
/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 NNTP newsgroup(s).