atom feed17 messages in ru.sysoev.nginxRe: High memory consumption when prox...
FromSent OnAttachments
Rogério SchneiderApr 11, 2010 5:16 pm 
Maxim DouninApr 11, 2010 5:48 pm 
Rogério SchneiderApr 11, 2010 6:07 pm 
Maxim DouninApr 11, 2010 6:56 pm 
Rogério SchneiderApr 11, 2010 8:42 pm 
Maxim DouninApr 12, 2010 12:51 pm 
Rogério SchneiderApr 12, 2010 1:16 pm 
Maxim DouninApr 12, 2010 2:26 pm 
Rogério SchneiderApr 15, 2010 12:42 am 
zanetteaMay 28, 2010 6:54 am 
Rogério SchneiderJun 7, 2010 7:14 pm 
Maxim DouninJun 8, 2010 1:34 am 
zanetteaJun 8, 2010 4:45 am 
Rogério SchneiderJun 8, 2010 7:45 am 
Rogério SchneiderJun 8, 2010 7:54 am 
Igor SysoevJun 8, 2010 8:05 am 
Rogério SchneiderJun 8, 2010 4:57 pm 
Subject:Re: High memory consumption when proxying to a Comet server
From:Rogério Schneider (stoc@gmail.com)
Date:Apr 12, 2010 1:16:33 pm
List:ru.sysoev.nginx

As a workaround you may want to increase proxy_buffer_size to reduce number of such allocation (and/or just drop connections periodically).  Correct fix would be to make these buffers reusable once sent to client.

Maxim, thanks for the review of the logs.

Increasing proxy_buffer_size wouldn't end up on malloc()ing more memory at the end of a period?

I think on sending small chunks (say, 500 bytes) each minute, during hours, to the clients.

For each small chunk, I think, we will be malloc()ing one buffer, or am I wrong?

Regards,