Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #40062
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <vytasd2013@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.006 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'feature.': 0.07; 'indexing': 0.07; 'before.': 0.09; 'complicate': 0.09; 'pointers': 0.09; 'cc:addr:python-list': 0.10; 'file,': 0.15; '>>': 0.16; '(just': 0.16; 'accesses': 0.16; 'gilles': 0.16; 'mapped': 0.16; 'processes.': 0.16; 'simplest': 0.16; 'xml-rpc,': 0.16; '\xe9crit': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'thu,': 0.17; 'memory': 0.18; 'app': 0.19; 'feb': 0.19; 'email addr:gmail.com>': 0.20; 'os,': 0.22; 'cc:2**0': 0.23; '>': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'handling': 0.27; 'message-id:@mail.gmail.com': 0.27; 'chris': 0.28; 'url:mailman': 0.29; '(and': 0.32; 'problem.': 0.32; 'url:python': 0.32; 'file': 0.32; 'url:listinfo': 0.32; 'received:google.com': 0.34; 'thanks': 0.34; 'open': 0.35; 'pm,': 0.35; 'url:org': 0.36; 'subject:" ': 0.36; "i'll": 0.36; 'possible': 0.37; 'two': 0.37; 'files': 0.38; 'things': 0.38; 'space': 0.39; 'hello,': 0.39; 'help': 0.40; 'url:mail': 0.40; 'your': 0.60; 'first': 0.61; 'solve': 0.62; 'learned': 0.65; 'stated': 0.69; 'sounds': 0.71; '2013': 0.84; 'are)': 0.84; 'good!': 0.84; 'ideas.': 0.91; 'tied': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=WfLOpXJWZwJEQvJT63PtSejPdfnbnZ991nHfgNOzrTk=; b=khb4/rH6YDGueOLNy3TFNhuT/SjoIs0MNCRPcSiZ9ziZ2C7YNww4l6AlP1CzfpOjlX 7ZUIdAezBE5hOqydWwozqhQlYId00C7FhLK53o960WwvNupWanPy/qDHYqFVDaDw8vB5 NUpztKtznpG2DvooNkDSy4+l6JDtSleXhlBvHPU1ppGu4C23v+8hQF2tMtvVSsHCtZkX UzQ9Zgq9FdvSpxC56ajBQXkikC2Z/FwmkbHnsXb+7FMKMACwR8uxrzCTPCqoq83htsIL KiVtRePuqG1mgKYi7hiSgjGGx4IqKrGuE9pbbWFyhHAFTx9Ry46zSQavXw4xrxyk5E5s vrQQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.181.12.103 with SMTP id ep7mr26367632wid.12.1361972818947; Wed, 27 Feb 2013 05:46:58 -0800 (PST) |
| In-Reply-To | <CAPTjJmoYK6hqnebEeL4BoF0Fnf3HwHqNFHBMyONBVYNja3fZDQ@mail.gmail.com> |
| References | <3e4921b7-fde3-4de7-ab01-1c98ddf63363@googlegroups.com> <772c38fc-7ab7-4aeb-9127-29d21e5b1845@googlegroups.com> <CAPTjJmoYK6hqnebEeL4BoF0Fnf3HwHqNFHBMyONBVYNja3fZDQ@mail.gmail.com> |
| Date | Wed, 27 Feb 2013 13:46:58 +0000 |
| Subject | Re: "Daemonizing" an application. |
| From | "Vytas D." <vytasd2013@gmail.com> |
| To | Chris Angelico <rosuav@gmail.com> |
| Content-Type | multipart/alternative; boundary=f46d0438eddb113cd804d6b502f8 |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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.2619.1361972820.2939.python-list@python.org> (permalink) |
| Lines | 94 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1361972820 news.xs4all.nl 6917 [2001:888:2000:d::a6]:59851 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:40062 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hello, Just recently learned about memory-mapped files (module mmap). If two processes open the same file, this file is mapped for both processes. So at the same time the same memory space can be accesses by two processes. The documentation stated that memory-mapped files can (and are) used for inter-process communication. Also, you can work with the memory-mapped files using indexing (just like strings). So you might want to have a look at memory-mapped files if not considered before. Might help to solve your problem. Vytas On Wed, Feb 27, 2013 at 1:21 PM, Chris Angelico <rosuav@gmail.com> wrote: > On Thu, Feb 28, 2013 at 12:06 AM, Gilles Lenfant > <gilles.lenfant@gmail.com> wrote: > > Le mercredi 27 février 2013 11:52:19 UTC+1, Gilles Lenfant a écrit : > >> Hello, > >> > > Hello again, > > > > And thanks to all for your pointers and ideas. > > > > As the app is already tied to an Unix like OS, I'll go with signal > handling first since I can do all I need through reconfiguration (SIGHUP). > > > > If I need other controls, I shall use an XML-RPC, since it's an OTB > feature. > > Sounds good! Definitely go with the simplest possible solution first; > you can always complicate things later. > > ChrisA > -- > http://mail.python.org/mailman/listinfo/python-list >
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
"Daemonizing" an application. Gilles Lenfant <gilles.lenfant@gmail.com> - 2013-02-27 02:52 -0800
Re: "Daemonizing" an application. Chris Angelico <rosuav@gmail.com> - 2013-02-27 22:03 +1100
Re: "Daemonizing" an application. Werner Thie <werner@thieprojects.ch> - 2013-02-27 12:08 +0100
Re: "Daemonizing" an application. Sven <svenito@gmail.com> - 2013-02-27 11:15 +0000
Re: "Daemonizing" an application. Gilles Lenfant <gilles.lenfant@gmail.com> - 2013-02-27 05:06 -0800
Re: "Daemonizing" an application. Chris Angelico <rosuav@gmail.com> - 2013-02-28 00:21 +1100
Re: "Daemonizing" an application. "Vytas D." <vytasd2013@gmail.com> - 2013-02-27 13:46 +0000
Re: "Daemonizing" an application. Tarek Ziadé <tarek@ziade.org> - 2013-02-27 14:55 +0100
Re: "Daemonizing" an application. Gilles Lenfant <gilles.lenfant@gmail.com> - 2013-02-27 06:52 -0800
Re: "Daemonizing" an application. Gilles Lenfant <gilles.lenfant@gmail.com> - 2013-02-27 06:52 -0800
Re: "Daemonizing" an application. Tarek Ziadé <tarek@ziade.org> - 2013-02-27 15:00 +0100
csiph-web