Re: forking/subprocess/etc

2006-09-05 Thread Perrin Harkins
On Tue, 2006-09-05 at 17:50 -0400, Jonathan Vanasco wrote: > > Incidentally, I don't see why your Python job queue can't just > > execute a Perl script to do this job. > > didn't really think of that :) > > although if i did that, i'd have to do some crazy PID watching thing, > to make sure I

Re: forking/subprocess/etc

2006-09-05 Thread Jonathan Vanasco
On Sep 5, 2006, at 4:14 PM, Perrin Harkins wrote: The memory would be shared by CoW and I haven't seen that zombie problem. yeah, but apache instances seem to take up 5-10mb of memory per- instance. i think 3 is for apache itself, and the rest is various stuff. 10 requests to this page w

Re: forking/subprocess/etc

2006-09-05 Thread Perrin Harkins
On Mon, 2006-09-04 at 18:55 -0400, Jonathan wrote: > fork() within mod_perl > Probable No. > online docs suggest this will fork apache+modperl, > which would > take up too much memory > child processes will persist as zombies when c

forking/subprocess/etc

2006-09-04 Thread Jonathan
Right now in a modperl app, I have this functionality: mod-perl request 1: User requests a contact list to be imported from the internet, mp logs a 'request' to a database, redirects to status page python daemon continually checks database for im