Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18061

Re: Daemon management

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <fredrik@dolda2000.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'instance,': 0.05; 'library,': 0.05; 'debugging.': 0.07; 'script,': 0.07; 'freezes': 0.09; 'shame': 0.09; 'sockets': 0.09; 'debugger': 0.16; 'debugger.': 0.16; 'wed,': 0.17; 'wrote:': 0.18; 'thanks,': 0.18; 'interesting.': 0.18; 'ryan': 0.18; 'appears': 0.19; 'seems': 0.20; 'dec': 0.22; 'header:In-Reply-To:1': 0.22; 'objects,': 0.23; 'guess': 0.26; 'remote': 0.28; 'sound': 0.28; "wasn't": 0.28; 'bit': 0.28; 'pm,': 0.29; 'url:)': 0.29; 'server': 0.30; 'handling': 0.30; '(the': 0.30; "i've": 0.31; "didn't": 0.31; 'does': 0.32; 'skip:l 30': 0.32; 'header:User-Agent:1': 0.33; 'to:addr:python-list': 0.34; 'it.': 0.34; 'lie': 0.34; 'similar': 0.36; 'charset:us-ascii': 0.37; 'but': 0.37; 'another': 0.37; 'references': 0.38; 'event': 0.38; 'url:org': 0.39; 'tool': 0.39; "it's": 0.40; 'to:addr:python.org': 0.40; 'more': 0.61; 'managing': 0.61; 'kind': 0.61; 'anything,': 0.73; '12:43': 0.84; 'attaches': 0.84; 'fredrik': 0.84; 'subject:management': 0.84; 'wanted,': 0.84
Date Tue, 27 Dec 2011 22:46:27 +0100 (CET)
From Fredrik Tolf <fredrik@dolda2000.com>
To python-list@python.org
Subject Re: Daemon management
In-Reply-To <jdcutr$cuk$1@dough.gmane.org>
References <alpine.DEB.2.02.1112270226440.4050@pc7.dolda2000.com> <jdcutr$cuk$1@dough.gmane.org>
User-Agent Alpine 2.02 (DEB 1266 2009-07-14)
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.3.7 (nerv.dolda2000.com [IPv6:2002:54d9:e3a5:200::1]); Tue, 27 Dec 2011 22:46:27 +0100 (CET)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4156.1325022391.27778.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1325022391 news.xs4all.nl 6900 [2001:888:2000:d::a6]:43810
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:18061

Show key headers only | View raw



On Wed, 28 Dec 2011, Lie Ryan wrote:
> On 12/27/2011 12:43 PM, Fredrik Tolf wrote:
>> [...]
> This is possible through the use of a debugger. I've never used it, but I 
> heard good thing of winpdb which has remote debugging. (http://winpdb.org/)

Thanks, but not as long as the debugger freezes the program it attaches 
to.

> Another tool that I've never used is rconsole, part of rfoo library, which 
> appears to be similar to pdm; it is also intended for the same kind of 
> problem, managing long-running-processes/daemons.

Interesting. That does sound very similar to what I wanted, so it's kind 
of a shame that I didn't find it. If anything, it seems that PDM is a bit 
more flexible in that it can handle limited references to remote 
objects, event notifications from the server to the client, and has better 
support for handling both TCP and Unix sockets (the rconsole script, for 
instance, seems to lack support for connecting to Unix sockets), so I 
guess my time wasn't wasted.

--

Fredrik Tolf

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Daemon management Fredrik Tolf <fredrik@dolda2000.com> - 2011-12-27 22:46 +0100

csiph-web