mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Diego Calleja <diegocg@gmail.com>
To: Iwan Sanders <iwan.sanders@tuxproject.info>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Kernel messages
Date: Thu, 14 Apr 2005 14:22:16 +0200	[thread overview]
Message-ID: <20050414142216.2b2da0a0.diegocg@gmail.com> (raw)
In-Reply-To: <425E23CC.2010509@tuxproject.info>

El Thu, 14 Apr 2005 10:03:24 +0200,
Iwan Sanders <iwan.sanders@tuxproject.info> escribió:

> Can someone explain to me what just happend? I would really like to know 
>   :-)
> I think that the machine ran out of memory and the OOM killer shot some 
> processes, this is what I found
> in my logfiles:

This is exactly the kind of reports that I wanted to avoid with this small cosmetic change:


--- stable/mm/oom_kill.c.orig	2005-04-02 17:44:14.000000000 +0200
+++ stable/mm/oom_kill.c	2005-04-02 18:01:02.000000000 +0200
@@ -189,7 +189,8 @@
 		return;
 	}
 	task_unlock(p);
-	printk(KERN_ERR "Out of Memory: Killed process %d (%s).\n", p->pid, p->comm);
+	printk(KERN_ERR "The system has run Out Of Memory (RAM + swap), a process will be killed to free some memory\n");
+	printk(KERN_ERR "OOM: Killed process %d (%s).\n", p->pid, p->comm);
 
 	/*
 	 * We give our sacrificial lamb high priority and access to

      parent reply	other threads:[~2005-04-14 12:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-14  8:03 Iwan Sanders
2005-04-14  8:23 ` Coywolf Qi Hunt
2005-04-14 12:22 ` Diego Calleja [this message]

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=20050414142216.2b2da0a0.diegocg@gmail.com \
    --to=diegocg@gmail.com \
    --cc=iwan.sanders@tuxproject.info \
    --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

all inboxes | Powered by JetHome®