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 A39429DCBC8 for ; Mon, 27 Mar 2006 15:13:20 -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 52869-06 for ; Mon, 27 Mar 2006 15:13:20 -0400 (AST) Received: from hub.org (hub.org [200.46.204.220]) by postgresql.org (Postfix) with ESMTP id 60E879DCAA1 for ; Mon, 27 Mar 2006 15:13:18 -0400 (AST) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id 2559162C901 for ; Mon, 27 Mar 2006 15:13:20 -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 51581-09; Mon, 27 Mar 2006 15:13:17 -0400 (AST) Received: from ganymede.hub.org (blk-222-82-85.eastlink.ca [24.222.82.85]) by hub.org (Postfix) with ESMTP id 9FE6D62C8C4; Mon, 27 Mar 2006 15:13:17 -0400 (AST) Received: by ganymede.hub.org (Postfix, from userid 1000) id 903A75D7FE; Mon, 27 Mar 2006 15:13:17 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 89B124A8AA; Mon, 27 Mar 2006 15:13:17 -0400 (AST) Date: Mon, 27 Mar 2006 15:13:17 -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: <6BCB9D8A16AC4241919521715F4D8BCEA351D9@algol.sollentuna.se> Message-ID: <20060327145628.F947@ganymede.hub.org> References: <6BCB9D8A16AC4241919521715F4D8BCEA351D9@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.571 required=5 tests=[AWL=0.092, DNS_FROM_RFC_ABUSE=0.479] X-Spam-Score: 0.571 X-Spam-Level: X-Archive-Number: 200603/162 X-Sequence-Number: 9752 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 > 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/updatetor > 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 ... second ... have you manually verified that the process(es) *aren't* running, or just relying on that script? As i stated above, I see 36 processes running for the past 24 hrs +, and a bunch for a shorter period ... > Tar up /usr/local/www/bt.postgresql.org. > There are no "bittorrent binaries", they are all python scripts. And > they live under taht directory along with all our utility scripts. Ah, okay ... I thought that we were using bittorrent as was installed ages ago, not a self-maintained version ... but, if that is the case, then I'm going to get rid of the template stuff over there sometime this week, since that will be simple enough to do ... python 2.4.2 is auto-installed, so no problems there ... 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 ... But, it doesn't look like bittorrent is reaping child processes: # ps aux | grep "(python)" | wc -l 166 out of: # ps aux | grep python | wc -l 201 > Where are you looking? That's before I started doing the web stuff, and > I'm definitly the one who put in what's tyhere now. /usr/local/bin ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664