Welcome! Log In Create A New Profile

Advanced

Re: [ANN] ngx_lua v0.1.5: ability to capture multiple parallel subrequests

agentzh
February 11, 2011 12:06AM
On Fri, Feb 11, 2011 at 6:41 AM, Roman Vasilyev <roman@anchorfree.com> wrote:
> Forgot to say that below is my error log with 2 very frequent messages:
>>
>> 2011/02/10 12:36:00 [alert] 3090#0: *21747555 zero size buf in output t:1
>> r:0 f:0 0000000006D42970 0000000006D42970-0000000006D42970 0000000000000000
>> 0-0 while sending request to upstream, client: 10.1.24.20, server: hss,
>> request: "POST /xxx/xxx.asmx HTTP/1.1", upstream:
>> "http://x.x.x.x/xxx/xxx.asmx", host: "xxx.com"

What are your client_max_body_size and client_body_buffer_size settings?

It seems that your request body has been tainted which could happen
when client_max_body_size > client_body_buffer_size and the body is
big enough buffered to a disk file.

But I cannot reproduce any leaks or thse zero size buf errors on my
side or on our production servers.

It'll be great if you provide the following additional information:

1. your lua library's version (or any 3rd-party patches applied by
your OS vendor),
2. your nginx -V output (or any 3rd-party patches applied by your OS vendor),
3. the precise memory change curve of your nginx worker processes over time,
4. the Lua function call collectgarbage("count") output when you think
your nginx is leaking,
5. sample requests that can easily reproduce the leak on other
environment, like on my laptop.

Cheers,
-agentzh

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

[ANN] ngx_lua v0.1.5: ability to capture multiple parallel subrequests

agentzh February 09, 2011 05:08AM

Re: [ANN] ngx_lua v0.1.5: ability to capture multiple parallel subrequests

agentzh February 10, 2011 12:34AM

Re: [ANN] ngx_lua v0.1.5: ability to capture multiple parallel subrequests

Eugaia February 10, 2011 04:08AM

Re: [ANN] ngx_lua v0.1.5: ability to capture multiple parallel subrequests

Alexander Kunz February 10, 2011 05:28AM

Re: [ANN] ngx_lua v0.1.5: ability to capture multiple parallel subrequests

agentzh February 10, 2011 05:38AM

Re: [ANN] ngx_lua v0.1.5: ability to capture multiple parallel subrequests

Roman Vasilyev February 10, 2011 05:42PM

Re: [ANN] ngx_lua v0.1.5: ability to capture multiple parallel subrequests

Roman Vasilyev February 10, 2011 05:44PM

Re: [ANN] ngx_lua v0.1.5: ability to capture multiple parallel subrequests

kindy February 10, 2011 09:06PM

Re: [ANN] ngx_lua v0.1.5: ability to capture multiple parallel subrequests

agentzh February 11, 2011 12:06AM

Re: [ANN] ngx_lua v0.1.5: ability to capture multiple parallel subrequests

Roman Vasilyev February 11, 2011 03:00PM

Re: [ANN] ngx_lua v0.1.5: ability to capture multiple parallel subrequests

agentzh August 09, 2011 12:04AM

Re: [ANN] ngx_lua v0.1.5: ability to capture multiple parallel subrequests

agentzh August 09, 2011 12:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 202
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