Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

If Apache has so many users view my website...what is the best way to redirect the user to: "The server is currently getting pounded!" ?

Perhaps...analyze the # of connections? If it's over ____, redirect?

Can some-one be specific and tell me exactly what I need to change?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

You may use mod_qos and configure it to failback when reaching a certain number of concurrent requests.

QS_LocRequestLimitDefault   200
QS_ErrorPage /overloaded.html
share|improve this answer

A solution maybe use a reverse-proxy (pound, haproxy, etc) between clients and your apache servers.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.