Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 13:48:36 -0800 (PST)
From:      Archie Cobbs <archie@dellroad.org>
To:        Trond Davidsen <trond.davidsen@ii.uib.no>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: Mpd with a large number, 200+ , of bundles
Message-ID:  <200111132148.fADLmak59111@arch20m.dellroad.org>
In-Reply-To: <3BF0FB94.1020005@ii.uib.no> "from Trond Davidsen at Nov 13, 2001 11:53:08 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Trond Davidsen writes:
> > Those two events correspond to the netgraph data and control sockets
> > associated with the bundle. Not sure how important that is..
> > the ng_socket(4) code relies on the standard generic socket code
> > so unlikely that the problem lies there.
> > 
> > The fact that it's blocked on "piperd" implies that something is
> > going wrong with a message pipe (mpd uses pipe(2) to communicate
> > with itself). But the tsleep() call in pipe_read() uses PCATCH,
> > so 'kill' should work...
> > 
> > What version of FreeBSD again?
> 
> FreeBSD vpn-gw3.uib.no 4.4-STABLE FreeBSD 4.4-STABLE #2: Sat Nov 10 
> 17:37:02 CET 2001     root@vpn-gw3.uib.no:/usr/obj/usr/src/sys/VPN-GW3  i386
> 
> cvsuped about a month ago.  I tried to cvsup and rebuild now, but the 
> kernel compile crashes in the linuxulator module.

Hmm.. well, we should try to pick this apart one problem at a time.

If you can get mpd into a state where "kill -9" doesn't kill it,
then that seems like a kernel bug to me, and so we should probably
hone in on that first..  maybe we can come up with a simple test
case, e.g. using the event library debug output, write a program
that opens the same number of file descriptors, pipes, etc. and
registers the same event handlers, etc..

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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