panic (kmem_map too small) with smbfs

Doug White dwhite at gumbysoft.com
Sat May 14 20:11:51 PDT 2005


On Sun, 15 May 2005, Ivan Voras wrote:

> I get regular and repeatable panics when using smbfs for a long time. In
> that workload, I'm usually playing video from a Windows XP network
> share, and after a few hours (approx. 2 - 4 hours, very irregular, but
> always happens)
> of constant usage (there are no other significant processes on the system), the
> machine panics. It's a Celeron M laptop with 256MB RAM, and otherwise very
> stable.
>
>
>
> #0  doadump () at pcpu.h:159
> #1  0xc0541e3e in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:410
> #2  0xc0542189 in panic (fmt=0xc071a72b "kmem_malloc(%ld): kmem_map too small: %ld total allocated")
>      at /usr/src/sys/kern/kern_shutdown.c:566

There may be a memory leak in smbfs. I don't know if you have enough
physical RAM to increase KVM usefully.  I'd monitor 'vmstat -m' while
running and see if one of the zones gets very large.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-current mailing list