[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fix infinite loop eating all the memory
From: |
Colin Leroy |
Subject: |
[PATCH] fix infinite loop eating all the memory |
Date: |
Fri, 7 Oct 2005 15:03:38 +0200 |
Hi,
As noticed by Con Kolivas:
http://article.gmane.org/gmane.linux.kernel.ck/4045
`tail -f /dev/zero` eats all the available memory and swap until tail
gets killed by the OOM killer (on linux, at least).
The attached patch fixes it; it may not be perfect, but I think this
issue is worth fixing, so it can be a start.
Thanks,
--
Colin
tail_oom.patch
Description: Text document
- [PATCH] fix infinite loop eating all the memory,
Colin Leroy <=