* 2.4.28: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0) ?
@ 2006-12-18 10:32 rrcwjpgr
2006-12-21 5:26 ` Willy Tarreau
0 siblings, 1 reply; 2+ messages in thread
From: rrcwjpgr @ 2006-12-18 10:32 UTC (permalink / raw)
To: linux-kernel
Hello,
first thanks for your great support on the Linux kernel.
I have a problem with kernel 2.4.28 and maybe somebody has an idea about my problem. When I type dmesg, I get this error messages:
__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
VM: killing process python
For any kind of reason a python script is killed.
What this kind of error message means?
Is this the memory killer? This would mean that maybe I have a memory leak in the python script?
Best regards,
saf
--
E-Mail sent with anti-spam site TrashMail.net!
Free disposable email addresses: http://www.trashmail.net/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.4.28: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0) ?
2006-12-18 10:32 2.4.28: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0) ? rrcwjpgr
@ 2006-12-21 5:26 ` Willy Tarreau
0 siblings, 0 replies; 2+ messages in thread
From: Willy Tarreau @ 2006-12-21 5:26 UTC (permalink / raw)
To: rrcwjpgr; +Cc: linux-kernel
Hello,
On Mon, Dec 18, 2006 at 11:32:43AM +0100, rrcwjpgr wrote:
> Hello,
>
> first thanks for your great support on the Linux kernel.
> I have a problem with kernel 2.4.28 and maybe somebody has an idea about my problem. When I type dmesg, I get this error messages:
> __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
> VM: killing process python
>
> For any kind of reason a python script is killed.
> What this kind of error message means?
> Is this the memory killer?
exactly !
> This would mean that maybe I have a memory leak in the python script?
Generally, when you get this on scripts written in such "high level"
languages, this is because you fill variables with a file which does
not fit into memory. I have often seen this in people's perl scripts,
and sometimes even in shell scripts. Eg:
count=$(cat file)
Where file is unexpectedly big, or even a link to /dev/zero. This is
an excellent OOM trigger.
You can use ulimit (man bash) to limit the amount of memory your script
can use. At least it will not make the system go ill.
Regards,
Willy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-21 5:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-18 10:32 2.4.28: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0) ? rrcwjpgr
2006-12-21 5:26 ` Willy Tarreau
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®