[Mongrel] nginx conf (was: Re: compress and max upload size?)

Aleksandar Lazic al-mongrelusers at none.at
Sat Dec 9 17:05:54 EST 2006

On Sam 09.12.2006 22:50, Xavier Noria wrote:
>On Dec 9, 2006, at 10:16 PM, Aleksandar Lazic wrote:
>> Hm, with which options do you have build nginx?
>I used --with-http_ssl_module --with-http_flv_module.
>> On witch OS, HW, ...?
>That's a Debian
>   $ uname -a
>   Linux machine.dedi.acens.net 2.6.8-3-686-smp #1 \
>   SMP Thu Sep 7 04:39:15 UTC 2006 i686 GNU/Linux

Thanks, you should use the worker_processes option if you want to use
the other cpus ;-)

>> Have you tried the worker_processes option?
>Yes, I tried all the things proposed in your email, but there was no
>noticeable difference.


>> Please add:
>>       sendfile        on;
>That was on most of the time, I think I removed it towards the end
>doing configuration combinatorics :-).

I think if you haven't problems yust let it on, mabe some other on this
list have some bad expirence with this option?

>>>     gzip on;
>>>     gzip_types   text/plain text/css application/x-javascript text/ 
>>> xml;
>>>     gzip_proxied any;
>>>     gzip_comp_level 2;
>>       ^^^^^^^^
>> Please comment this out
>With default compression level I get a response which is bigger than
>the one sent by Apache. Since I am comparing both setups I tweaked that
>documented parameter to match them.

Ah ok thanks for explanation.

>>>     gzip_http_version 1.0; # for ab and wget
>> Please can you tell me what's in error log!
>Sure, there's nothing. There were some traces when in my trials I
>execeeded client_max_body_size on purpose. When benchmarks run there's
>nothing printed to the error log.

Thanks ;-)



More information about the Mongrel-users mailing list