From: "vinay" <vinays@burntmail.com>
To: "Xavier Roche" <roche+kml2@exalead.com>, linux-kernel@vger.kernel.org
Subject: Re: Kernels Out Of Memoy(OOM) killer Problem ?
Date: Tue, 09 Aug 2005 09:23:25 +0000 [thread overview]
Message-ID: <W7860621974246141123579405@burntmail> (raw)
Hello Xavier.
Thanks for replying.
I checked that the /proc/sys/vm/overcommit_memory is already set to 0.
In my case the problem is that I don't have many options like changing
the overcommit_memory etc.
Only thing I need to do is, have a proper cleanup will exiting the application. As the application is receiving SIKILL from OMM killer the required signal handler is not getting called and no cleanup is happening.
So could you please suggest me that what could be done in this regard.
Thanks and Regards
Vinay.
> -----Original Message-----
> From: Xavier Roche [mailto:roche+kml2@exalead.com]
> Sent: Tuesday, August 9, 2005 08:06 AM
> To: linux-kernel@vger.kernel.org
> Subject: Re: Kernels Out Of Memoy(OOM) killer Problem ?
>
> vinay wrote:
> > I have a problem with linux kernel's Out Of Memory (OOM) killer.
> > I wanted to know, is there any way that we can force OOM killer to send a signal other than SIGKILL to kill a process when ever OOM detects a system memory crunch.
>
> As far as I understand the kernel, oom is called when the system has no
> memory pages left, and MUST get one to continue normal (ie. kernel)
> processing. The kernel just do not have the time to execute some
> user-space code, it MUST get free pages where they are (and hence, kill
> immediately some innocent process).
>
> This condition should not occur without using overcommit. Are you sure
> you are not using overcommit ? (cat /proc/sys/vm/overcommit_memory)
>
> To dasable it:
> echo 0 > /proc/sys/vm/overcommit_memory
>
> Overcommit is quite dangerous on production systems, because it leads to
> oom kills on heavy loads (at least, this is what I experienced).
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
next reply other threads:[~2005-08-09 9:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-09 9:23 vinay [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-08-09 7:52 vinay
2005-08-09 8:06 ` Xavier Roche
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=W7860621974246141123579405@burntmail \
--to=vinays@burntmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=roche+kml2@exalead.com \
/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
all inboxes | Powered by JetHome®