By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,402 Members | 1,047 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,402 IT Pros & Developers. It's quick & easy.

Example of signaling and creating a python daemon

P: n/a
Hi. I am running a zope server. Zope runs 4 threads and I have a
document processing method that can require minutes to run so I do not
want to run out of threads. A solution to this is to run this process
asynchronously. What I am hoping to do is send a signal to a python
deamon to run a process and then go back to sleep.

I am hoping to find a clear example of:
* sending a signal from a python script to start a python daemon
somewhere on the filesystem
* a python daemon that utilizes the signal to wake up from sleep and
run a method, then go back to sleep.

I have no experience daemonizing a script so this help would be much
appreciated. I have found a couple of scripts googling on creating a
deemon but not work in this way.

Regards,
David
Sep 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
--snip--
I have no experience daemonizing a script so this help would be much
appreciated. I have found a couple of scripts googling on creating a
deemon but not work in this way.

Regards,
David


Hi, maybe this two link can help:

http://aspn.activestate.com/ASPN/Coo...n/Recipe/66012

http://aspn.activestate.com/ASPN/Coo.../Recipe/278731

Petr Jakes

Sep 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.