From owner-freebsd-current@FreeBSD.ORG Wed Jul 14 17:24:55 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F309416A4CE for ; Wed, 14 Jul 2004 17:24:54 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCDCE43D2F for ; Wed, 14 Jul 2004 17:24:54 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id D28DE72DF2; Wed, 14 Jul 2004 10:24:54 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id CD3CA72DB5; Wed, 14 Jul 2004 10:24:54 -0700 (PDT) Date: Wed, 14 Jul 2004 10:24:54 -0700 (PDT) From: Doug White To: Daniel Lang In-Reply-To: <20040714170519.GA4100@atrbg11.informatik.tu-muenchen.de> Message-ID: <20040714102226.B7621@carver.gumbysoft.com> References: <20040714170519.GA4100@atrbg11.informatik.tu-muenchen.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: calcru: runtime went backwards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 17:24:55 -0000 On Wed, 14 Jul 2004, Daniel Lang wrote: > since my most severe problems appear to be resolved, no more > panics so far (*knock on wood*), I would like to ask about > some other matters which are occurring on this host (see now > resolved and closed PR kern/68779 for machine details). > > 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. Do you have WITNESS and/or INVARIANTS enabled? > 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? > 2. I also get lots of the following messages: > > [..] > Jul 14 18:02:08 atleo6 ftpd[81983]: getsockname (/usr/libexec/ftpd): Socket operation on non-socket > Jul 14 18:02:26 atleo6 ftpd[81992]: getsockname (/usr/libexec/ftpd): Socket operation on non-socket > Jul 14 18:03:56 atleo6 ftpd[82043]: getsockname (/usr/libexec/ftpd): Socket operation on non-socket > 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? -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org