[Probably bug] Memory usage when streaming data from a FCGI application

Maxim Dounin mdounin at mdounin.ru
Thu Jul 1 03:21:41 MSD 2010


Hello!

On Thu, Jul 01, 2010 at 01:12:10AM +0200, Pierre Bourdon wrote:

> I'm relatively new to nginx so I may be completely wrong about what I
> assume here. Please excuse me if it is the case.
> 
> I'm streaming large quantities of data from a FCGI application through
> nginx (large = several gigabytes). When streaming the data, nginx
> starts to use more and more memory, with the worker process taking
> more than a gigabyte of RAM at a point. The more I stream, the more
> the nginx process use. I guess it should be categorized as a bug for
> several reasons :

[...]

See here:

http://nginx.org/pipermail/nginx/2010-April/019845.html

In recent versions you may use 

    chunked_trunsfer_encoding off;

as a workaround.

Maxim Dounin1



More information about the nginx-devel mailing list