Date: Thu, 29 Nov 2001 08:52:34 -0600 From: Alfred Perlstein <bright@mu.org> To: Tariq Rashid <tariq@inty.net> Cc: freebsd-net@freebsd.org Subject: Re: isakmpd hogs CPU: select()? Message-ID: <20011129085234.S46769@elvis.mu.org> In-Reply-To: <MPENKFCCIIDAJKJJOLBHMEBKCDAA.tariq@inty.net>; from tariq@inty.net on Thu, Nov 29, 2001 at 02:05:42PM -0000 References: <MPENKFCCIIDAJKJJOLBHMEBKCDAA.tariq@inty.net>
next in thread | previous in thread | raw e-mail | index | archive | help
* Tariq Rashid <tariq@inty.net> [011129 08:04] wrote: > > as recognised in the ports bug report, the isakmpd port for freebsd soaks > up 99% CPU even when no connections have been established - even when in > completely passive-connection mode. > > i'm not an expert coder but i think the select() in the main loop (isakmpd.c > main()) is doing this. > > is there a difference between openbsd select() and freebsd 4.4R select()? > > i've ported over the latest isakmpd from openbsd and this is still the > case... > > anyone? truss(1) output might help, along with the code in question, along with what type of descriptors it's polling. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' http://www.morons.org/rants/gpl-harmful.php3 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?20011129085234.S46769>