Hashes

i have read
http://wiki.codemongers.com/NginxOptimizations?highlight=(optimization)
, but i have some questions:

what are the recommended values for server_names_hash_bucket_size and
server_names_hash_max_size for a highly loaded proxy?

what is stored in those hashes?

i turned tcp_nopush on and tcp_nodelay off (found igor’s mail
reccommending it) and set proxy_buffers 20000 4k;, nay other
optimizations you would recommend?

(the proxy is aprox. the size of slashdot)

On Tue, Jan 22, 2008 at 03:16:40PM +0100, Almir K. wrote:

i have read http://wiki.codemongers.com/NginxOptimizations?highlight=(optimization)
, but i have some questions:

what are the recommended values for server_names_hash_bucket_size and
server_names_hash_max_size for a highly loaded proxy?

what is stored in those hashes?

server_name values. Do not set these directives until you will see
error messages saying increase them.

i turned tcp_nopush on and tcp_nodelay off (found igor’s mail
reccommending it) and set proxy_buffers 20000 4k;, nay other
optimizations you would recommend?

tcp_nodelay is on since 0.3.61 and should not be turned off.
proxy_buffers 20000 4k means that responses up to 80M will be in memory,
it’s not good choice.

thanks

Hi guys,

I’m using X-Accel-Redirect to serve files from nginx. This works for
Firefox and Safari, however…

When users on Internet Explorer try to download these files, it fails
to ever start downloading, and Internet Explorer eventually times out.

I’m guessing there is some special setting I need to put in my nginx
configuration file. Can you help point me in the right direction?

Thanks for your help,
Pete DeLaurentis