Date: Wed, 10 Sep 2003 22:51:01 +0200 From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) To: Tomi.Vainio@Sun.COM Cc: freebsd-current@freebsd.org Subject: Re: ufs related panic with latest current Message-ID: <xzp3cf474ga.fsf@dwp.des.no> In-Reply-To: <16223.35291.354753.437544@ultrahot.finland.sun.com> (Tomi Vainio's message of "Wed, 10 Sep 2003 23:30:19 %2B0300") References: <16222.8328.482125.571191@ultrahot.finland.sun.com> <16222.14948.423489.596523@ultrahot.finland.sun.com> <20030910112539.F53623@carver.gumbysoft.com> <16223.32410.556709.818592@ultrahot.finland.sun.com> <xzp7k4g75p9.fsf@dwp.des.no> <16223.35291.354753.437544@ultrahot.finland.sun.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Tomi Vainio - Sun Finland <Tomi.Vainio@Sun.COM> writes: > Dag-Erling Sm=F8rgrav writes: > > Tomi Vainio - Sun Finland <Tomi.Vainio@Sun.COM> writes: > > > First maxusers was 0 then when changed it to 8. > > That's a regression. Keep it at 0. > I understood that there is a bug on new kmem allocator and this was an > attempt to reduce kmem allocations but it didn't help. Do you know if > this is going to fixed somehow or should people just install more > memory to get system stay up? Well, reducing maxusers isn't going to help much as it only controls a small part of kernel memory, and setting it too low may render the system unusable. The backtrace you showed seems to indicate that the panic happened somewhere in the softupdates code, but IIRC that code has a fairly conservative built-in limit on memory consumption and degrades gracefully when it hits that limit. It's likely that something else gobbled up all available kernel memory, and the mallloc() call from softupdates was simply the straw that broke the camel's back. If you have a serial console hooked up, you could try running while :; do vmstat -m ; sleep 1 ; done on the serial console while doing whatever it is you do that causes the problem. This will tell you how much kernel memory was in use at the time of the panic and what it was used for. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp3cf474ga.fsf>