Date: Sun, 05 Nov 2000 15:13:28 +0000 From: David Malone <dwmalone@maths.tcd.ie> To: Maarten van Schie <AnEra@dds.nl> Cc: David Malone <dwmalone@maths.tcd.ie>, Kent Stewart <kstewart@urx.com>, David Kelly <dkelly@hiwaay.net>, stable@FreeBSD.ORG Subject: Re: Strange latency? Was: 4.1.1-Stable Message-ID: <200011051513.aa82787@salmon.maths.tcd.ie> In-Reply-To: Your message of "Sun, 05 Nov 2000 14:09:58 %2B0100." <Pine.BSF.4.21.0011051324300.75325-100000@oT.o8.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> After I start it it just sits down and does the following: > 75337 root 2 0 4220K 2448K kqread 0:00 0.00% 0.00% pine > 978 pine 5.002428 RET kevent 0 > 978 pine 5.009282 RET kevent 0 > 978 pine 10.019485 RET kevent 0 > 978 pine 13.983712 RET kevent 1 > 978 pine 5.004701 RET kevent 0 > 978 pine 5.009152 RET kevent 0 These are almost certainly DNS requests - pine wouldn't use kevent itself, as FreeBSD is currently the only system to have the kqueue system. The only part of the C library that seems to use kevent is the resolver, so these point to DNS requests of some sort. 5 seconds is a long time to be waiting for a reply, so it looks like you may not be getting responses from some nameservers. > 978 pine 0.000042 RET sigprocmask 0 > 978 pine 0.000092 CALL select(0x1,0xbfbff5b8,0,0xbfbff538,0xbfbff638) > -> 978 pine 150.002556 RET select 0 This looks like it might be waiting for a keypress. If the first argument is 1, that means it can only be examining file discriptor 0, which is STDIN. It is possible that pine has rearanged it's file descriptors, but that would be my first guess. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200011051513.aa82787>