[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: forking/subprocess/etc


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 complete
> 
> i've got to be missing something

The memory would be shared by CoW and I haven't seen that zombie
problem.  I usually handle this kind of thing with a job queue system
though, i.e. the same way you did with your Python thing.  Incidentally,
I don't see why your Python job queue can't just execute a Perl script
to do this job.

- Perrin


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.