in reply to What causes mod_perl processes to exit?

You didn't say how you can tell they are exiting after one request. How do you know this?

A process will exit if some code tells it to with an exit() or child_terminate() call, or if the system kills it because it went over rlimits or something. A die() call will never cause the process to exit.

  • Comment on Re: What causes mod_perl processes to exit?

Replies are listed 'Best First'.
Re^2: What causes mod_perl processes to exit?
by dws (Chancellor) on Jun 09, 2004 at 21:05 UTC
    You didn't say how you can tell they are exiting after one request. How do you know this?

    I arranged to have Apache include %{pid}P in the log, then crunched the data. I see a handful of processes that serve exactly one request. I'm generating more data to crunch even now, to see if there's a discernable pattern.