Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2000 13:10:36 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        "Sean Heber" <sean@fifthace.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Flooded in hits! Suggestions? 
Message-ID:  <20327.954414636@axl.ops.uunet.co.za>
In-Reply-To: Your message of "Wed, 29 Mar 2000 15:36:20 CST." <000d01bf99c6$d38a6520$f97338d1@central.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 29 Mar 2000 15:36:20 CST, "Sean Heber" wrote:

> It seems mySQL just can't keep up and the queries are taking too long
> to complete.  So, not only does that make the site slow, but very
> quickly Apache reaches its maximum client limit and so things get
> REALLY slow (since the queries are slow and you have to wait for an
> open connection and all those backed up connections that are active
> are slowing mysql down even more, etc..).

Your immediate problem, then, is how to prevent SQL saturation.  This is
most easily accomplished in the short term by limiting the number of
Apache client connections to some small number that SQL _can_ handle.

Once you have your server back off its knees, you can start worrying
about proxies and SQL fine-tuning.  But first things first. :-)

Ciao,
Sheldon.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20327.954414636>