Welcome! Log In Create A New Profile

Advanced

Re: nginx, echo module & lua

Pierre
May 03, 2012 11:40AM
On 03/mai - 21:03, agentzh wrote:
> On Thu, May 3, 2012 at 6:43 PM, Pierre <serarien@baqs.net> wrote:
> >
> >
> > using echo_subrequest_async, I directly reach :
> > 2012/05/03 12:08:25 [error] 13204#0: *1 subrequests cycle while processing "/trucalacon",
> >
>
> Which version of nginx are you using?
tested on openresty 10.0.10 abd 1.0.11
>
> >
> > Last interrogation:
> > What is the best way to discard body (I mean free the memory by body passed to subrequests ) ?
> >
>
> There's no way to release all the memory of a subrequest instantly
> because nginx subrequests share the same memory pool as their parent
> request. So for long-running requests that issue a lot of serial
> subrequests, there will be a good chance of temporary memory leaks in
> the lifetime of the main request.
ok, thx
>
> It's worth mentioning that the ngx_lua cosocket API does not suffer
> from this issue because Lua GC handles the resource lifetime there.
:)
>
> Best regards,
> -agentzh
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

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

nginx, echo module & lua

Pierre May 02, 2012 04:12AM

Re: nginx, echo module & lua

agentzh May 02, 2012 07:48AM

Re: nginx, echo module & lua

Pierre May 02, 2012 09:40AM

Re: nginx, echo module & lua

agentzh May 02, 2012 11:12AM

Re: nginx, echo module & lua

Pierre May 02, 2012 07:36PM

Re: nginx, echo module & lua

Antonio P.P. Almeida May 03, 2012 03:54AM

Re: nginx, echo module & lua

agentzh May 03, 2012 08:54AM

Re: nginx, echo module & lua

Pierre May 03, 2012 06:44AM

Re: nginx, echo module & lua

agentzh May 03, 2012 09:04AM

Re: nginx, echo module & lua

Pierre May 03, 2012 11:40AM

Re: nginx, echo module & lua

agentzh May 03, 2012 08:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 122
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready