perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <phark...@gmail.com>
Subject Re: mod_perl2 + fork + DBI = Chaos
Date Mon, 25 Jan 2010 19:45:19 GMT
On Mon, Jan 25, 2010 at 2:41 PM, Tosh Cooey <tosh@1200group.com> wrote:
> Just to follow up on this before anyone spends any time caring about it, the
> seg faults could also be because one of the zombie apache2 processes I've
> spawned like a Gremlin is answering the request and well...

I don't think so.  That's not how apache works.

> So, if I've done the fork properly and pretend I have apache PIDs 1..10
> running, and the child is 11 and it does it's thing and hits CORE::exit(0)
> should that process then die?

Yes.

Here's some advice about using DBI with forking:
http://www.perlmonks.org/?node_id=752289

- Perrin

Mime
View raw message