nginx keep using more and more memory

Saqib Rasul saqib.rasul at gmail.com
Wed Jan 18 12:33:22 UTC 2012


Also do you know or can give an estimate of when the 1.1 version will go stable?

regards,

Saqib

On Wed, Jan 18, 2012 at 11:56 AM, Saqib Rasul <saqib.rasul at gmail.com> wrote:
> Hi,
>
> thanks for the answer.
>
> regarding your tip about proxy_buffers, i dont think its that because
> i have disabled proxy_buffering.
>
> I will try out my tests with 1.1 version of nginx and let you know.
>
> regards,
>
> Saqib
>
> On Wed, Jan 18, 2012 at 11:31 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:
>> Hello!
>>
>> On Tue, Jan 17, 2012 at 07:01:01PM +0100, nginxlist at serverphorums.com wrote:
>>
>>> We are using nginx to proxy to 4 back end servers. And we
>>> terminate SSL at nginx. We use nginx in a somewhat special way
>>> in that we make 1 HTTP GET and the back-end servers give a very
>>> very long (essentially never-ending) response.
>>>
>>> trouble is that i notice that the nginx worker processes keep
>>> using up more and more memory. When the connections to nginx
>>> terminate, everything seems to be cleaned up and the memory
>>> usage of the worker processes drops to normal.
>>
>> [...]
>>
>>> i am running nginx/1.0.11
>>
>> Please try 1.1.x.  There is one known problem in 1.0.x which
>> causes it to allocate about 2 pointers per buffer sent.  This is
>> known to be noticeable in long-running response case.
>>
>> The problem was fixed in 1.1.4, but unfortunately it's impossible
>> to merge the fix into 1.0.x due to required API change.
>>
>> Maxim Dounin
>>
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list