Date: Wed, 14 Jul 2004 21:34:16 +0200 From: Daniel Lang <dl@leo.org> To: Doug White <dwhite@gumbysoft.com> Cc: current@freebsd.org Subject: Re: calcru: runtime went backwards Message-ID: <20040714193415.GA4481@atrbg11.informatik.tu-muenchen.de> In-Reply-To: <20040714102226.B7621@carver.gumbysoft.com> References: <20040714170519.GA4100@atrbg11.informatik.tu-muenchen.de> <20040714102226.B7621@carver.gumbysoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Doug, Doug White wrote on Wed, Jul 14, 2004 at 10:24:54AM -0700: [..] > > 1. I get tons of messages like this on the console: > > > > calcru: runtime went backwards from 31915600 usec to 31915590 usec for pid 1265 (httpd) > > FreeBSD version or source update time would be nice. sys/param.h: #define __FreeBSD_version 502120 kern.osreldate: 502120 source updated I guess July 6th, with some manually applied patches: ./dev/sio/sio.c.patch (fix by Bruce Evans) ./kern/subr_witness.c.patch (fix by John Baldwin) ./netinet/tcp_output.c.patch (only diagnostics) > Do you have WITNESS and/or INVARIANTS enabled? Yes both. > > It always seems to be a httpd process. httpd is apache2 linked with > > "libthr". It especially happens if I use the 'ps' and the 'top' > > command. If this happens, the controlling terminal where the > > command (e.g. ps) was issued, hangs for a while. Everything else > > seems to be fine, though. > > > > I recall that there was a thread in -current about this matter, > > but I couldn't find any solution right now... > > There aren't a lot of libthr uses... thought of trying libpthread? Yes sure. But I thought Apache is the showcase application for libthr and the corresponding threading model. Also, I guess a more widespread use should help ironing out any issues with that. [..] > > Jul 14 18:04:23 atleo6 ftpd[82055]: getsockname (/usr/libexec/ftpd): Socket operation on non-socket > > [..] > > > > What could be wrong with ftpd here? I thought about ktracing ftpd, but > > there are 200-300 concurrent ftpd processes active and the messages > > appear very irregulary. If I could ktrace the parent ftpd and all > > its childen, I'm afraid the trace-log would fill up all disk-space > > before the problem even appears... Suggestions are appreciated > > though. > > Is this the stock ftpd? Yes, indeed (should be obvious from the path /usr/libexec/ftpd). I start ftpd standalone with the following options: /usr/libexec/ftpd -A -D -l -W -r -S -a ftp.leo.org -p /var/run/ftpd.pid Cheers, Daniel -- IRCnet: Mr-Spock - Eddie would go! - Daniel Lang * dl@leo.org * +49 89 289 18532 * http://www.leo.org/~dl/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040714193415.GA4481>