Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2005-05-24, 10:12 AM   #2
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
First of all, you are doing:

deny from .domain.com

This may not do what you think it does especially since I see some names in there that are probably meant to block hotlinking from those sites in particular.

But, that's not where this particular .htaccess rule is killing you. Because you have a deny from .domain.com, you are forcing apache to do a reverse DNS lookup on EVERY request for every file served under that .htaccess.

If you get hit with a ton of hotlinking, apache waiting for the DNS resolution will hold open threads and possibly exceed maxclients while it is trying to see if it should allow the person. I would bet if you removed the deny from statements, while it isn't the best set of rules, the machine would run much better and you would be rid of your server busy messages.

Exceeding MaxClients will give the Server Busy message.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:39 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc