Carl Banks pavlovevide...@gmail.com (CB) wrote:
CB On Jul 29, 7:14 am, Piet van Oostrum p...@cs.uu.nl wrote:
Carl Banks pavlovevide...@gmail.com (CB) wrote:
CB On Jul 28, 3:15 pm, John D Giotta jdgio...@gmail.com wrote:
I'm looking to run a process with a limit of 3 instances, but each
John D Giotta jdgio...@gmail.com wrote:
I'm looking to run a process with a limit of 3 instances, but each
execution is over a crontab interval. I've been investigating the
threading module and using daemons to limit active thread objects, but
I'm not very successful at grasping the
Carl Banks pavlovevide...@gmail.com (CB) wrote:
CB On Jul 28, 3:15 pm, John D Giotta jdgio...@gmail.com wrote:
I'm looking to run a process with a limit of 3 instances, but each
execution is over a crontab interval. I've been investigating the
threading module and using daemons to limit
I'm working with up to 3 process session per server, each process
running three threads.
I was wishing to tie back the 3 session/server to a semaphore, but
everything (and everyone) say semaphores are only good per process.
--
http://mail.python.org/mailman/listinfo/python-list
That was my original idea. Restricting each process by pid:
#bash
procs=`ps aux | grep script.pl | grep -v grep | wc -l`
if [ $procs -lt 3 ]; then
python2.4 script.py config.xml
else
exit 0
fi
--
http://mail.python.org/mailman/listinfo/python-list
John D Giotta schrieb:
I'm working with up to 3 process session per server, each process
running three threads.
I was wishing to tie back the 3 session/server to a semaphore, but
everything (and everyone) say semaphores are only good per process.
That's not true. Named semaphores are the best
On Jul 29, 7:14 am, Piet van Oostrum p...@cs.uu.nl wrote:
Carl Banks pavlovevide...@gmail.com (CB) wrote:
CB On Jul 28, 3:15 pm, John D Giotta jdgio...@gmail.com wrote:
I'm looking to run a process with a limit of 3 instances, but each
execution is over a crontab interval. I've been
I'm looking to run a process with a limit of 3 instances, but each
execution is over a crontab interval. I've been investigating the
threading module and using daemons to limit active thread objects, but
I'm not very successful at grasping the documentation.
Is it possible to do what I'm trying
John D Giotta schrieb:
I'm looking to run a process with a limit of 3 instances, but each
execution is over a crontab interval. I've been investigating the
threading module and using daemons to limit active thread objects, but
I'm not very successful at grasping the documentation.
Is it
On Jul 28, 2009, at 7:19 PM, Christian Heimes wrote:
John D Giotta schrieb:
I'm looking to run a process with a limit of 3 instances, but each
execution is over a crontab interval. I've been investigating the
threading module and using daemons to limit active thread objects,
but
I'm not
John D Giotta jdgio...@gmail.com writes:
I'm looking to run a process with a limit of 3 instances, but each
execution is over a crontab interval. I've been investigating the
threading module and using daemons to limit active thread objects, but
I'm not very successful at grasping the
On Jul 28, 3:15 pm, John D Giotta jdgio...@gmail.com wrote:
I'm looking to run a process with a limit of 3 instances, but each
execution is over a crontab interval. I've been investigating the
threading module and using daemons to limit active thread objects, but
I'm not very successful at
12 matches
Mail list logo