linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aleksandar Milivojevic <amilivojevic@pbl.ca>
To: linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: [2.4] 0-order allocation failed
Date: Thu, 07 Oct 2004 14:25:50 -0500	[thread overview]
Message-ID: <4165983E.5060605@pbl.ca> (raw)
In-Reply-To: <20041007164221.GD14614@logos.cnet>

Marcelo Tosatti wrote:
> On Thu, Oct 07, 2004 at 08:28:04PM +0200, Gabor Z. Papp wrote:
>>
>>There is really no way to run 2.4 without swap?
> 
> Nope. Any kernel can't. The thing is the system overcommits 
> memory (it allows applications to allocate more memory than the system 
> is able to handle).
> 
> If there is no place to "save" that memory once you run out of it,
> you're dead. Its a physical problem. :)

Hm, shouldn't there be command line option to instruct kernel not to 
overcommit memory?  For servers that don't really need disk, and 
wouldn't have much use for swap anyhow (like firewalls for example).  I 
do vaugly remember of such option in OSF/1 (Compaq Unix or whatever it 
is called nowdays) or Solaris.  Not sure which one.  Or maybe both.  If 
I remember correctly, there the default was not to overcommit, and (not 
recommended) option would allow kernel to overcommit.  Or I might be 
wrong about the default setting, but the option was there.  I don't 
remember if application that tried to allocate more memory that there 
was free on the system would be killed or if system call would simply fail.

-- 
Aleksandar Milivojevic <amilivojevic@pbl.ca>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7

  parent reply	other threads:[~2004-10-07 19:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-07 11:18 [2.4] 0-order allocation failed Michael Buesch
2004-10-07 15:15 ` Marcelo Tosatti
2004-10-07 17:17   ` Michael Buesch
2004-10-07 15:39     ` Marcelo Tosatti
2004-10-07 18:28       ` Gabor Z. Papp
2004-10-07 16:42         ` Marcelo Tosatti
2004-10-07 18:43           ` Gabor Z. Papp
2004-10-07 16:53             ` Marcelo Tosatti
2004-10-07 18:53               ` Gabor Z. Papp
2004-10-07 19:36                 ` Adam Heath
2004-10-07 19:25           ` Aleksandar Milivojevic [this message]
2004-10-07 18:50         ` Neil Horman
2004-10-07 18:54         ` Marc-Christian Petersen
2004-10-08  1:05           ` Marcelo Tosatti
2004-10-08  1:08             ` Marcelo Tosatti

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=4165983E.5060605@pbl.ca \
    --to=amilivojevic@pbl.ca \
    --cc=linux-kernel@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).