Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Increasing amount of cached (unflushed/un-invalidated) file pages causing kernel panics



fgsdfg4t534tf3%onet.pl@localhost (Marcin Kaminski) writes:

>I'm wondering what is the default value of kern.maxvnodes based on, as I've=
> noticed, it varies from one board to another.

It is based on the MAXUSERS value (a kernel constant) but scaled up
according to memory size.


>Nonetheless one issue persists. Kernel panic

>[ 781.6927155] panic: kernel diagnostic assertion "len <=3D buflen" failed:=
> file "/.../usr/src/sys/kern/uipc_mbuf.c", line 1822 =
>[ 781.6927155] fp ffffc000b015fa80 vpanic() at ffffc0000056a4dc netbsd:vpan=
>ic+0x14c
>[ 781.7027167] fp ffffc000b015fae0 kern_assert() at ffffc000007cade8 netbsd=
>:kern_assert+0x58
>[ 781.7027167] fp ffffc000b015fb70 m_align() at ffffc00000598f44 netbsd:m_a=
>lign+0x114
>[ 781.7027167] fp ffffc000b015fba0 m_split_internal() at ffffc00000599e48 n=
>etbsd:m_split_internal+0xc8
>[ 781.7127197] fp ffffc000b015fbf0 nfsrv_getstream() at ffffc000004713fc ne=
>tbsd:nfsrv_getstream+0xac
>[ 781.7127197] fp ffffc000b015fc40 nfsrv_rcv() at ffffc000004716e8 netbsd:n=
>fsrv_rcv+0x1c8

That looks like a bug in the NFS server code, not sure how that could
be related to memory usage. The panic is triggered by receiving an NFS
request.

What is the NFS client ?



Home | Main Index | Thread Index | Old Index