> Perrin Harkins wrote:
> >Try changing the call
> >$r->child_terminate() to Apache::exit().  If this seems to work better
> >for you, let me know and I'll consider changing this in a future release
> >of Apache::SizeLimit.
>
> Geoff wrote:
> >what about
> >
> >$r->headers_out->add(Connection => 'close');
>
> I tried each of these changes in turn.  Neither worked to immediately exit
> the child.  I never saw that either of them would exit the child at all
> but I may not have kept them running long enough.

Did you see more requests being handled by the same process?

> I noticed an odd pattern of behavior.   With one of our cgi scripts, and
> using $r->child_terminate(), the child would always exit immediately.
> With other scripts, it wouldn't exit.  With both Perrin's and Geoff's
> suggestions from above, that same script would cause the process being
> used to be changed, but the old process wouldn't exit.

You mean the old process hangs around, but doesn't take any new requests?

- Perrin

Reply via email to