Skip to contentSkip to conversation

Recipe for cooking 2.1.72's mm

DISCUSSION Rik van Riel 3 participants 3 messages Dec 16, 1997 – Dec 18, 1997 1 message not in the archive Memory management

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 2 lines · Pavel Machek

Sorry. There is a problem. It needs to be solved, not worked around. (Notice, that same process does nothing bad to 2.0.28).

On my system, it just gives one or two out-of-memory kills of random processes. I'd really like it if those processes would be a little less random... Killing kerneld or crond (or X... remember those poor stateless-vga-card users) is IMHO worse than killing a program from some USER. Finding the most hoggy non-root process group and killing some of it's programs shouldn't be too difficult.

btw: I'm using 2.1.66 with my mmap-age patch...

Quoted 4 lines

And: Work around is bad. Imagine your machine with such behaviour on 100MBit ethernet. Imagine me around (ping -f)ing your machine. That can keep your pages low for as long as I want. You do not your machine to go yo-yo (up and down and up and down ...).

Ok, so we should limit the amount of memory the kernel can grab for internal usage... Sysctl-wise of course, because some people have special purpose routing machines.

Rik.

+-----------------------------+------------------------------+
| For Linux mm-patches, go to | "I'm busy managing memory.." |
| my homepage (via LinuxHQ).  | [email protected]       |
| ...submissions welcome...   | http://www.fys.ruu.nl/~riel/ |
+-----------------------------+------------------------------+
#2 lore raw

Hi!

Quoted 10 lines
Quoted 2 lines

Sorry. There is a problem. It needs to be solved, not worked around. (Notice, that same process does nothing bad to 2.0.28).

On my system, it just gives one or two out-of-memory kills of random processes. I'd really like it if those processes would be a little less random... Killing kerneld or crond (or X... remember those poor stateless-vga-card users) is IMHO worse than killing a program from some USER. Finding the most hoggy non-root process group and killing some of it's programs shouldn't be too difficult.

Aha. So you were unsuccessfull while reproducing. On my system no process dies, but whole system is dead.

Quoted 10 lines

btw: I'm using 2.1.66 with my mmap-age patch...

Quoted 4 lines

And: Work around is bad. Imagine your machine with such behaviour on 100MBit ethernet. Imagine me around (ping -f)ing your machine. That can keep your pages low for as long as I want. You do not your machine to go yo-yo (up and down and up and down ...).

Ok, so we should limit the amount of memory the kernel can grab for internal usage... Sysctl-wise of course, because some people have special purpose routing machines.

It might be nice idea. I'm just afraid that for every limit, you find situation in which limit _must_ be exceeded or action is impossible.

Pavel

Signature · 2 lines
I'm really [email protected]. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).
#3 lore raw

zombies ....

In reply to Rik van Riel

Hi!
A small doubt.
Thing is according to books, a zombie has released all its memory
etc. but clogs up a system as the kernel has to maintain its return state.

How can you make the system release the zombie totally. ( i.e. it
shud not appear in ps command listsing even.).