excessive RAM consumption - memory leak

Todd HG lists at ruby-forum.com
Thu Feb 21 01:42:22 MSK 2008


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;

and

    gzip_comp_level 5;
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list