panic (kmem_map too small) with smbfs

Kris Kennaway kris at obsecurity.org
Sat May 14 23:21:13 PDT 2005


On Sat, May 14, 2005 at 08:11:48PM -0700, Doug White wrote:
> 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.

I think there is at least one PR about this.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050514/dc52df41/attachment.bin


More information about the freebsd-current mailing list