Welcome! Log In Create A New Profile

Advanced

Re: How to tune nginx for 800-1200 concurrent connections?

Dennis Jacobfeuerborn
September 25, 2011 03:22PM
On 09/25/2011 06:45 PM, tsaavik wrote:
> Lots of directions to go with this question, here are 2.
>
> 1. The IO bound questions:
> Your client_max_body_size has me wondering how big these images
> actually are. Whats the average size of these images?
>
> A few lines of output from "dstat" or "vmstat 1" during peak output
> would be useful (or even "sar" if you run it).
>
> If you are IO bound like I suspect, a reverse proxy via nginx's
> proxy_cache might be beneficial. You could just toss some 'hot' files
> into a ramdrive (/dev/shm) and symlink them (ln -s) to test.

The page cache will do something like this transparently. If there's not
enough ram left for the page cache to keep the files in memory then you
also don't have enough ram to add a ram drive.

Regards,
Dennis

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to tune nginx for 800-1200 concurrent connections?

dullnicker September 19, 2011 10:29AM

Re: How to tune nginx for 800-1200 concurrent connections?

tsaavik September 25, 2011 12:45PM

Re: How to tune nginx for 800-1200 concurrent connections?

Dennis Jacobfeuerborn September 25, 2011 03:22PM

Re: How to tune nginx for 800-1200 concurrent connections?

dullnicker September 26, 2011 05:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 317
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready