Making nginx "feel" faster?

Hi guys

I’m working on a mediatemple server (US) from the UK and it looks like
there’s a limit with the bandwidth from the server. Sites on that box
are slow, whether they’re dynamic or not. nginx has 8 worker threads
(with 8 php-fastcgi threads waiting), keepalive is set to 3, static
files are being told to cache, and gzip is enabled.

Are there any other tweaks I can do to nginx to make the responses feel
faster? Maybe reduce the chunk size or something?

Cheers,
Phill

On Sat, Mar 08, 2008 at 02:51:56PM +0000, Phillip B Oldham wrote:

Hi guys

I’m working on a mediatemple server (US) from the UK and it looks like
there’s a limit with the bandwidth from the server. Sites on that box
are slow, whether they’re dynamic or not. nginx has 8 worker threads
(with 8 php-fastcgi threads waiting), keepalive is set to 3, static
files are being told to cache, and gzip is enabled.

You do not need worker per each php-fastcgi process.
Single worker is enough for this.

Are there any other tweaks I can do to nginx to make the responses feel
faster? Maybe reduce the chunk size or something?

I have no idea. Have do you tried other servers: lighttpd, Apache in
this
environment ?

On Mon, Mar 10, 2008 at 07:52:29AM +0000, Phillip B Oldham wrote:

Yes - lighttpd had lots of problems with 500 errors due to php processes
ending unexpectedly. Haven’t tried apache, but I don’t much fancy
playing with fastcgi with apache or re-compiling php.

But what about response feeling ?
Did lighttpd send static faster ?

The response felt worse, to my memory. We dropped it very quickly
because of the 500 errors due to the php issue: they were making our
site totally unusable.

I thought there might’ve been some tweaks we could do to reponse packet
size or something to help speed things up. If not its not a problem -
we’ll probably just move server to one based in the UK so we don’t have
the trans-atlantic jump.

Yes - lighttpd had lots of problems with 500 errors due to php processes
ending unexpectedly. Haven’t tried apache, but I don’t much fancy
playing with fastcgi with apache or re-compiling php.

Igor S. wrote:

environment ?

Phillip B Oldham
The Activity People
[email protected] mailto:[email protected]


Policies

This e-mail and its attachments are intended for the above named
recipient(s) only and may be confidential. If they have come to you in
error, please reply to this e-mail and highlight the error. No action
should be taken regarding content, nor must you copy or show them to
anyone.

This e-mail has been created in the knowledge that Internet e-mail is
not a 100% secure communications medium, and we have taken steps to
ensure that this e-mail and attachments are free from any virus. We must
advise that in keeping with good computing practice the recipient should
ensure they are completely virus free, and that you understand and
observe the lack of security when e-mailing us.