Welcome! Log In Create A New Profile

Advanced

Re: Strange behavior with custom module and http proxy

Piotr Sikora
December 21, 2009 01:52PM
> It's almost as if nginx
> is doing a wait() for the child before closing the request, although I
> know the child has been reaped earlier and the grandchild is now a
> child of init.

It is indeed calling waitpid() after receiving SIGCHLD, but this shouldn't
be a problem. Could you check if this happens also with single-fork()
(without spawning grandchild)?

> Like I said, I only noticed the behavior when using http proxy
> caching, so the problem has existed for me all along without my being
> aware of it.

If you don't want to share your module, could you make module with minimal
functionality which reproduces this behavior?

Best regards,
Piotr Sikora < piotr.sikora@frickle.com >


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Strange behavior with custom module and http proxy

Brian Bruns December 21, 2009 11:22AM

Re: Strange behavior with custom module and http proxy

Piotr Sikora December 21, 2009 11:40AM

Re: Strange behavior with custom module and http proxy

Brian Bruns December 21, 2009 12:08PM

Re: Strange behavior with custom module and http proxy

Piotr Sikora December 21, 2009 01:52PM

Re: Strange behavior with custom module and http proxy

Brian Bruns December 21, 2009 03:34PM

Re: Strange behavior with custom module and http proxy

Brian Bruns December 21, 2009 11:30PM

Re: Strange behavior with custom module and http proxy

Piotr Sikora December 22, 2009 08:48AM

Re: Strange behavior with custom module and http proxy

Brian Bruns December 22, 2009 11:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 167
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready