Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 1997 04:40:01 -0700 (PDT)
From:      David Greenman <dg@root.com>
To:        freebsd-bugs
Subject:   Re: kern/4345: Kernel panic is caused by passing file descriptors through AF_UNIX socket 
Message-ID:  <199708271140.EAA27078@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/4345; it has been noted by GNATS.

From: David Greenman <dg@root.com>
To: abelits@phobos.illtel.denver.co.us
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/4345: Kernel panic is caused by passing file descriptors through AF_UNIX socket 
Date: Wed, 27 Aug 1997 04:34:19 -0700

 >Sending large number of file descriptors through AF_UNIX sockets causes
 >a kernel panic. The panic may occur if file descriptors are passed and
 >then closed, although keeping them open and collecting  them in the 
 >receiver process after receiving always causes panic.
 
    The panic is indirectly caused by running out of mbuf clusters. It should
 be possible to work around the problem by increasing the limit on the number
 of mbuf clusters by using the "NMBCLUSTERS=<n>" kernel option. A value for <n>
 on the order of 2000-4000 should be sufficient.
 
 -DG
 
 David Greenman
 Core-team/Principal Architect, The FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708271140.EAA27078>