Welcome! Log In Create A New Profile

Advanced

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

September 25, 2011 12:45PM
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.


2. Your PHP app is inefficent:
I run a php gallery (gallery2). Its pretty damn slow/cpu hungry. In order to speed things up make sure your php has something like http://eaccelerator.net running. It increased my performance more then moving from apace1 (yes 1) to 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: 265
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