excessive RAM consumption - memory leak

Igor Sysoev is at rambler-co.ru
Thu Feb 21 01:49:01 MSK 2008


On Wed, Feb 20, 2008 at 11:42:22PM +0100, Todd HG wrote:

> Igor Sysoev wrote:
> > On Thu, Feb 21, 2008 at 01:22:08AM +0300, Igor Sysoev wrote:
> > 
> >> >     gzip_buffers     4 8k;
> >> 
> >>    application/xhtml+xml
> >>    application/rss+xml
> >>    application/atom_xml
> >> 
> >> probably do not exist too.
> >> 
> >> Keep the list as small as possible, because nginx iterates it sequenctally.
> > 
> > image/jpg does not exist too.
> > 
> > By default nginx in conf/mime.type uses text/xml for xml and rss, so
> > application/xml is duplicate.
> 
> I've trimmed down gzip to files I serve off the image server such as css 
> and js, but no longer include the image entries. My list is now:
> 
>     gzip_types   text/css application/x-javascript;

OK.

> and
> 
>     gzip_comp_level 5;

Actually "gzip_comp_level 1" is enough (this is default).
But if you will use gzip_static_module, you should compress the files with
"gzip -9".


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list