Forum: NGINX Performance tuning

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Gabri Mate (Guest)
on 2009-05-05 22:33
(Received via mailing list)
Dear List,

I'm quite newbie concerning nginx so please forgive me for my really
basic questions.

I'd like to use nginx as a caching reverse proxy. After reading the docs
i'm not quite sure about the proxy_buffer_size, proxy_buffers options.

Right now my settings are:

    proxy_max_temp_file_size 256k;
    proxy_temp_file_write_size 64k;
    proxy_buffering     on;
    proxy_buffer_size 4k;
    proxy_buffers 32 32k;

proxy_max_temp_file_size is low because i have to use tmpfs under it
cause the disks are really slow and i have just 512MB on the servers
now, but more memory is on the way.

The proxy servers around 10k states/s.

Please could someone give me a short explanation about these options? I
don't have any performance problems, but with these settings half of my
memory is unused. Could they be utilized with tuned settings?

Best regards,
This topic is locked and can not be replied to.