Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'python': 0.08; 'either.': 0.09; 'from:addr:timgolden.me.uk': 0.09; 'from:name:tim golden': 0.09; 'inspire': 0.09; 'message-id:@timgolden.me.uk': 0.09; 'pywin32': 0.09; 'earth,': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'restarted': 0.16; 'cc:addr :python-list': 0.16; 'wrote:': 0.16; 'subject:Windows': 0.18; 'purposes,': 0.18; 'cc:no real name:2**0': 0.20; 'sound': 0.21; "doesn't": 0.22; 'cc:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'runs': 0.23; 'pieces': 0.23; 'testing': 0.24; 'server.': 0.24; '"this': 0.24; 'changes,': 0.24; 'code': 0.25; 'windows': 0.26; "i'm": 0.27; '(the': 0.28; 'server': 0.29; 'cc:addr:python.org': 0.30; 'down,': 0.30; 'helpdesk': 0.30; 'standalone': 0.30; 'tjg': 0.30; 'subject:?': 0.31; 'anyone': 0.32; 'app': 0.33; 'sort': 0.33; 'header:User-Agent:1': 0.34; 'subject:service': 0.34; 'running': 0.35; 'requests': 0.35; 'external': 0.35; 'anything': 0.36; 'question': 0.36; 'another': 0.37; 'reasons': 0.37; 'run': 0.37; 'several': 0.37; 'but': 0.37; 'subject:: ': 0.39; 'received:192': 0.39; 'itself.': 0.39; "there's": 0.39; 'central': 0.62; 'services': 0.62; 'assist': 0.62; 'back': 0.62; 'apps': 0.63; 'from:addr:mail': 0.64; 'here': 0.65; 'agent': 0.65; 'situations.': 0.73; 'claim': 0.76; 'confidence,': 0.84; 'it"': 0.84; 'stop,': 0.84; 'to:none': 0.93; 'spectacular': 0.95 Date: Tue, 16 Aug 2011 08:52:37 +0100 From: Tim Golden User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 CC: python-list@python.org Subject: Re: Windows service in production? References: <90342eaa-28e2-4a86-9e5c-07299de10435@g9g2000yqb.googlegroups.com> In-Reply-To: <90342eaa-28e2-4a86-9e5c-07299de10435@g9g2000yqb.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1313481167 news.xs4all.nl 23933 [2001:888:2000:d::a6]:57719 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:11523 On 16/08/2011 05:32, snorble wrote: > Anyone know of a Python application running as a Windows service in > production? I'm planning a network monitoring application that runs as > a service and reports back to the central server. Sort of a heartbeat > type agent to assist with "this server is down, go check on it" type > situations. Don't know what it'll take to inspire you with confidence, but I have several Python services running here without a hitch. The longest have been running for about three years -- not without a stop, since they have to be restarted for reasons external to the service itself. There's no py2exe involved, just the pywin32 service wrappers. (The apps in question are also set up to run standalone for testing etc.). They're mostly around a helpdesk system: one app ingests email requests to the helpdesk; another post-processes call changes, currently to send out email alerts to interested parties; another triggers alarms on calls for various purposes, etc. I don't claim they're the most sophisticated pieces of code on Earth, but it doesn't sound like you're after anything spectacular either. TJG