public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Memory management in Kernel 2.4.x
@ 2002-05-28 14:46 Dmitry Volkoff
  0 siblings, 0 replies; 28+ messages in thread
From: Dmitry Volkoff @ 2002-05-28 14:46 UTC (permalink / raw)
  To: linux-kernel

Hello,

> Unfortunately, the memory management of kernel 2.4.x didn't get better until 
> today. It is very easy to make a machine dead. Take the following script: 
> 
> http://groups.google.com/groups?q=malloc+bestie&hl=de&lr=&selm=slrn8aiglm.tqd.pfk@c.zeiss.de&rnum=2 
> 
> The result with kernel 2.4.19pre8ac4: 

What about results with latest -aa kernels? 
I'm writing this letter while running your killer-test ;)
My machine is perfectly responsive.

$ uname -a
Linux localhost 2.4.19-pre6vm33 #2 Sat Apr 13 00:56:55 MSD 2002 i686 unknown
This is vanilla 2.4.19-pre6 + vm33 from Andrea Arcangelly.

Funny stats:

bash-2.05$ free
total       used       free     shared    buffers     cached
Mem:        516496     512804       3692          0       2080      10064
-/+ buffers/cache:     500660      15836
Swap:      1028120    1028120          0

I'm running X, netscape, mutt, top, 5 xterms, web, mysql, ftp, samba etc.
Lots of "0-order allocation failed" in the log. Anyway it is usable!
The good thing is VM is killing right process most of the time: 

VM: killing process memory-killer

Netscape got killed. Big deal, I can start it again and it works... 

P.S. Running it already for 20 minutes.

-- 

    DV

^ permalink raw reply	[flat|nested] 28+ messages in thread
[parent not found: <fa.n12rl6v.9644rg@ifi.uio.no>]
[parent not found: <fa.iklie8v.5k2hbj@ifi.uio.no>]
[parent not found: <fa.huj8e2v.10ggghn@ifi.uio.no>]
* Memory management in Kernel 2.4.x
@ 2002-05-27  9:40 Andreas Hartmann
  2002-05-27 10:28 ` Florian Weimer
  2002-05-27 12:02 ` Alan Cox
  0 siblings, 2 replies; 28+ messages in thread
From: Andreas Hartmann @ 2002-05-27  9:40 UTC (permalink / raw)
  To: linux-kernel

Hello all!


Unfortunately, the memory management of kernel 2.4.x didn't get better until 
today. It is very easy to make a machine dead. Take the following script:

http://groups.google.com/groups?q=malloc+bestie&hl=de&lr=&selm=slrn8aiglm.tqd.pfk@c.zeiss.de&rnum=2


The result with kernel 2.4.19pre8ac4:

May 27 11:04:21 athlon kernel: Out of Memory: Killed process 763 (knode).
May 27 11:04:22 athlon kernel: Out of Memory: Killed process 764 (knode).
May 27 11:04:22 athlon kernel: Out of Memory: Killed process 765 (knode).
May 27 11:04:22 athlon kernel: Out of Memory: Killed process 766 (knode).
May 27 11:04:40 athlon kernel: Out of Memory: Killed process 322 
(mozilla-bin).
May 27 11:04:40 athlon kernel: Out of Memory: Killed process 324 
(mozilla-bin).
May 27 11:04:40 athlon kernel: Out of Memory: Killed process 325 
(mozilla-bin).
May 27 11:04:40 athlon kernel: Out of Memory: Killed process 326 
(mozilla-bin).
May 27 11:04:40 athlon kernel: Out of Memory: Killed process 327 
(mozilla-bin).
May 27 11:04:40 athlon kernel: Out of Memory: Killed process 755 
(mozilla-bin).
May 27 11:04:40 athlon kernel: Out of Memory: Killed process 899 
(mozilla-bin).
May 27 11:04:40 athlon kernel: Out of Memory: Killed process 902 
(mozilla-bin).
May 27 11:04:40 athlon kernel: Out of Memory: Killed process 903 
(mozilla-bin).
May 27 11:04:54 athlon kernel: Out of Memory: Killed process 295 (kdeinit).
May 27 11:05:00 athlon kernel: Out of Memory: Killed process 293 (kdeinit).
May 27 11:05:05 athlon kernel: Out of Memory: Killed process 283 (kdeinit).
May 27 11:05:13 athlon kernel: Out of Memory: Killed process 932 (kdeinit).
May 27 11:05:16 athlon kernel: Out of Memory: Killed process 287 (kdeinit).
May 27 11:05:31 athlon kernel: Out of Memory: Killed process 300 (kdeinit).
May 27 11:05:31 athlon kernel: Out of Memory: Killed process 303 (korgac).
May 27 11:05:37 athlon kernel: Out of Memory: Killed process 297 (kwikdisk).
May 27 11:06:05 athlon kernel: Out of Memory: Killed process 292 (kdeinit).
May 27 11:06:46 athlon kernel: Out of Memory: Killed process 289 (kdeinit).
May 27 11:06:52 athlon kernel: Out of Memory: Killed process 269 (kdeinit).
May 27 11:06:57 athlon kernel: Out of Memory: Killed process 304 (kalarmd).
May 27 11:07:18 athlon kernel: Out of Memory: Killed process 286 (kdeinit).
May 27 11:07:21 athlon kernel: Out of Memory: Killed process 1103 (malloc).
May 27 11:07:21 athlon kernel: Out of Memory: Killed process 1103 (malloc).
May 27 11:07:34 athlon kernel: Out of Memory: Killed process 1104 (malloc).
May 27 11:07:52 athlon kernel: Out of Memory: Killed process 1104 (malloc).
May 27 11:08:04 athlon kernel: Out of Memory: Killed process 1105 (malloc).
May 27 11:09:12 athlon last message repeated 5 times
May 27 11:09:16 athlon kernel: Out of Memory: Killed process 1106 (malloc).
May 27 11:09:24 athlon kernel: Out of Memory: Killed process 1107 (malloc).
May 27 11:09:51 athlon kernel: Out of Memory: Killed process 1108 (malloc).
May 27 11:10:01 athlon kernel: Out of Memory: Killed process 1111 (malloc).
May 27 11:10:07 athlon kernel: Out of Memory: Killed process 1112 (malloc).
May 27 11:10:12 athlon kernel: Out of Memory: Killed process 1115 (malloc).
May 27 11:10:58 athlon kernel: Out of Memory: Killed process 1118 (malloc).
May 27 11:10:59 athlon kernel: Out of Memory: Killed process 1118 (malloc).
May 27 11:11:05 athlon kernel: Out of Memory: Killed process 1124 (malloc).
May 27 11:11:10 athlon kernel: Out of Memory: Killed process 1121 (malloc).
May 27 11:11:18 athlon kernel: Out of Memory: Killed process 1127 (malloc).
May 27 11:11:24 athlon kernel: Out of Memory: Killed process 1130 (malloc).
May 27 11:11:33 athlon kernel: Out of Memory: Killed process 1133 (malloc).
May 27 11:11:44 athlon kernel: Out of Memory: Killed process 1134 (malloc).
May 27 11:11:45 athlon kernel: Out of Memory: Killed process 1135 (malloc).
May 27 11:11:50 athlon kernel: Out of Memory: Killed process 1136 (malloc).
May 27 11:11:59 athlon kernel: Out of Memory: Killed process 1137 (malloc).
May 27 11:12:28 athlon kernel: Out of Memory: Killed process 1138 (malloc).
May 27 11:12:32 athlon kernel: Out of Memory: Killed process 1138 (malloc).
May 27 11:13:04 athlon kernel: Out of Memory: Killed process 1139 (malloc).
May 27 11:13:04 athlon kernel: Out of Memory: Killed process 1139 (malloc).


KDE was down. The machine didn't respond during this fork bomb.



I have got the same problem with an remote rsync via ssh when rsnc breaks 
down because of an data-error when rsyncing about 30 G of datas at the end 
of the session. With 2.4.x-kernels I need a lot of more memory for this 
process than with kernel 2.2.


Kind regards,
Andreas Hartmann

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2002-06-05 13:37 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-28 14:46 Memory management in Kernel 2.4.x Dmitry Volkoff
     [not found] <fa.n12rl6v.9644rg@ifi.uio.no>
     [not found] ` <fa.jd9c9pv.190gl8n@ifi.uio.no>
2002-05-28  5:42   ` Andreas Hartmann
2002-05-28 11:49     ` Alan Cox
2002-05-28 18:14       ` Andreas Hartmann
     [not found] <fa.iklie8v.5k2hbj@ifi.uio.no>
     [not found] ` <fa.na0lviv.e2a93a@ifi.uio.no>
2002-05-27 12:58   ` Andreas Hartmann
2002-05-27 13:45     ` Peter Wächtler
2002-05-27 15:25       ` Alan Cox
2002-05-27 14:37         ` Peter Wächtler
2002-05-27 21:22         ` H. Peter Anvin
2002-05-27 21:33           ` Benjamin LaHaise
2002-05-27 21:34             ` H. Peter Anvin
2002-05-27 21:37               ` Benjamin LaHaise
2002-05-27 21:39                 ` H. Peter Anvin
2002-05-27 22:50             ` Alan Cox
2002-05-27 21:56               ` William Lee Irwin III
2002-05-27 23:07                 ` Alan Cox
2002-05-27 22:48           ` Alan Cox
2002-06-05 13:33             ` Bill Davidsen
2002-05-31 21:19       ` Andrea Arcangeli
2002-06-01 12:35         ` Andreas Hartmann
2002-06-01 22:59           ` Andrea Arcangeli
2002-06-01 13:12         ` Andreas Hartmann
2002-06-03  8:11         ` Peter Wächtler
     [not found] <fa.huj8e2v.10ggghn@ifi.uio.no>
     [not found] ` <fa.o5cc8mv.12h4to1@ifi.uio.no>
2002-05-27 12:10   ` Andreas Hartmann
2002-05-27 11:52     ` Zwane Mwaikambo
  -- strict thread matches above, loose matches on Subject: below --
2002-05-27  9:40 Andreas Hartmann
2002-05-27 10:28 ` Florian Weimer
2002-05-27 12:02 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox