Welcome! Log In Create A New Profile

Advanced

Re: memory consumption proxying a comet server

Maxim Dounin
May 30, 2010 07:44PM
Hello!

On Sat, May 29, 2010 at 08:34:53PM +0200, Arrigo Zanette wrote:

> Hi,
> when proxying a comet server the http write filter module keeps
> allocating few bytes for each chunk of data coming from the comet
> server. These data are freed only when the request terminates, that is
> possibly never.

It's not write filter which allocates memory, and it's not it's
business to free it.

> There is also a forum thread (http://forum.nginx.org/read.php?2,73923)
> that describes the problem very well.
>
> Below I report a workaround that seems working for my application.
> Basically, I guess if I can free the allocated memory and free it, by
> rewinding the position in the pool.

It's nice it works for you, but obviously it's not something that
may be committed.

Maxim Dounin

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

memory consumption proxying a comet server

zanettea 2777 May 29, 2010 02:36PM

Re: memory consumption proxying a comet server

Maxim Dounin 1784 May 30, 2010 07:44PM

Re: memory consumption proxying a comet server

zanettea 1483 May 31, 2010 03:26AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

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