[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix infinite loop eating all the memory
From: |
Alfred M\. Szmidt |
Subject: |
Re: [PATCH] fix infinite loop eating all the memory |
Date: |
Fri, 07 Oct 2005 18:13:53 +0200 |
At which point would the arbitrary limit become acceptable?
Never.
10MB of data seems big enough to avoid hitting the case on any
normal file, for example.
8 char. long user seemed big enough, 2 char. years seemd big enough,
argument lists of 1024 chars seemd long enough, etc etc. What seems
big enough right now, might be laughable tomorrow, and will be a pita
to fix.
the OOM killer is known to sometimes misbehave and may well kill
sshd on a remote server.
Then it would be better to fix the OOM killer to look at what grows
the fastest, and what hogs the most memory and kill that instead of a
process that has been nice all the time.