Subject: Re: 2.0 kernel eating all memory
To: <>
From: Ruediger Engel <granada@a500.de>
List: port-m68k
Date: 01/28/2005 09:34:00
Hi!

Ruediger Engel wrote:

> Hi John!
>
>> Has anyone besides Al Zick and myself noticed that memory allocated 
>> to the kernel on NetBSD 2.0 on at least Amiga and mac68k keeps 
>> growing and growing until the system runs out of memory and crashes?
>>
> Yes, just to confirm this. My A4000 still does not run long enough to 
> have eaten up _all_ the memory, but after just 2 days of uptime it 
> already uses 32MB:
>
> Amiga 4000 with 128MB of memory after 2 days, mostly busy building 
> software from pkgsrc:
>    6 root      18    0     0K   32M syncer    22:57  0.15%  0.15% 
> [ioflush]
>
> Did anyone of the mac68k-Users confirm this or is this problem 
> netbsd/amiga-specific?
>
> Regards
> Ruediger
>
>
I need to correct myself! My Amiga 4000 with CSPPC/060/128MB RAM now 
runs for nearley 8 days, mostly busy cross-building NetBSD/amigappc 
(well, trying to...) and it did _not_ eat up all the memory:

 9:31AM  up 7 days, 18:40, 3 users, load averages: 1.06, 1.08, 1.08

The Kernel now uses 24MB of the physical RAM;

   6 root      18    0     0K   24M syncer   101:41  0.73%  0.73% [ioflush]

Maybe your settings for kern.maxvnodes are not appropriate? What 
happens, if you set them to as low as maybe 200 and then rise them again 
to 7000?

Regards
Ruediger