X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id BE1D19DCD41 for ; Mon, 27 Mar 2006 16:17:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 70559-07 for ; Mon, 27 Mar 2006 16:17:07 -0400 (AST) Received: from hub.org (hub.org [200.46.204.220]) by postgresql.org (Postfix) with ESMTP id A54429DCCE6 for ; Mon, 27 Mar 2006 16:17:04 -0400 (AST) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id E312762C8BA for ; Mon, 27 Mar 2006 16:17:06 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 71353-02; Mon, 27 Mar 2006 16:17:04 -0400 (AST) Received: from ganymede.hub.org (blk-222-82-85.eastlink.ca [24.222.82.85]) by hub.org (Postfix) with ESMTP id 78FE362C7DA; Mon, 27 Mar 2006 16:17:04 -0400 (AST) Received: by ganymede.hub.org (Postfix, from userid 1000) id 461FF5C3C2; Mon, 27 Mar 2006 16:17:05 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 3DB373A142; Mon, 27 Mar 2006 16:17:05 -0400 (AST) Date: Mon, 27 Mar 2006 16:17:05 -0400 (AST) From: "Marc G. Fournier" X-X-Sender: scrappy@ganymede.hub.org To: Magnus Hagander cc: pgsql-www@postgresql.org Subject: Re: Bittorrent (Was: RE: [HACKERS] [SUGGESTION] CVSync ) In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCEA0F8AD@algol.sollentuna.se> Message-ID: <20060327161411.T947@ganymede.hub.org> References: <6BCB9D8A16AC4241919521715F4D8BCEA0F8AD@algol.sollentuna.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.572 required=5 tests=[AWL=0.093, DNS_FROM_RFC_ABUSE=0.479] X-Spam-Score: 0.572 X-Spam-Level: X-Archive-Number: 200603/165 X-Sequence-Number: 9755 On Mon, 27 Mar 2006, Magnus Hagander wrote: >>> It's automatically reproduced every 10 minutes. There are two >>> possibilities: >> >> 'k, I'm seeing processes running since 2pm Sunday ... so >> "every 10 minutes", what exactly is happening? >> >> # ps aux | grep btlaunchmany | grep Sun02 | wc -l >> 36 > > Yeah. That's a reasonably normal amount of timing. > What happens is that the script detects a lot of btlaunchmany that are > suddenly gone. Either they are still there, and not showing up, or they > are dead. It could well be that they've crashed. > > BTW, I've disabled the cronjob now since it sends an email to the slaves > list every 10 minutes :-) So right now, nothing happens. > > >>> 2) They are no longer reported in a way that Proc::ProcessTable can >>> read. See the code at >>> >> http://gborg.postgresql.org/cgi-bin/cvsweb.cgi/portal/tools/bt/updatet >>> or rents.pl?rev=1.8;cvsroot=pgweb for what we're trying to do. It is >>> *possible* this is done because the processes are swapped >> out, though >>> I >>> *think* I tested the code and it handled that. >> >> 'k, first ... "processes are swapped out" ... unless >> something really odd is happening, I've never heard of a >> process swapped out that is removed from the process table >> ... at least not under FreeBSD ... > > Nope, that would be really weird. But it could well be a bug in the perl > library Proc::ProcessTable as well. Or, it could be not listing 'non-reaped (ie. Zombie)' processes ... but, the ps listing doesn't seem to be marking them as Zombie ... >> If you can be online tomorrow afternoon ... ? that way, when >> I bring it back up, you are able to look over it for any issues ... > > Afternoon your time or mine ;-) I *think* we are 4 hours off ... always makes it fun to scheduale, I don't want to make it too late for you, but not too early for me :) How about 6pm-ish your time, which I htink is around 2pm mine? > Oh. Could *that* be where the problem comes from? Ithought the () > indicated they were swapped out, I thin kit does on linux :-) It could be ... only place I've ever noticed this is on a system where the child processes weren't being properly killed off though ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664