This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
HotlinkBlocker (Forum Locked Forum Locked)
 Helicon Tech : HotlinkBlocker
Subject Topic: 100.000 + users (Topic Closed Topic Closed)
Author
Message |
finallynaked
Groupie


Joined: 02 April 2006
Location: Denmark
Posts: 61
Posted: 15 June 2008 at 3:20pm  

Our site currently has 100.000+ users and when enabling HotLinkBlocker it slows down our videos on demand.

We run the site on a HP Quad Core with 4gig of ram and Raid 1 on Raptor disk so its not a hardware problem.

The config file is also just fin no problem there.

We have something like 200 requests for videos every min.

The problem occurs naturally when a request is being maid and HLB has to check if the referrer is valid and the check is what raises the amount of load time.

So I was wondering if it was possible to script to the program as I would like to be able to enable and disable it from a schedule.

Something like being able to turn HLB on for half an hour and the turn it off for 2 hours that would really screw up the minds of a leecher.

Currently I enable and disable the HLB manually

Back to Top
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 16 June 2008 at 6:46am  

HLB should not add some noticeable delay unless you use REDIRECT method because this method involves client operation in response to redirect. Can you please show your exact configuration?

As for scripting, HLB configuration is a simple text file, theoretically you should be able to edit it from script.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav's Homepage
 
finallynaked
Groupie


Joined: 02 April 2006
Location: Denmark
Posts: 61
Posted: 16 June 2008 at 7:14am  

#################################################
# HotlinkBlocker Configuration file

# Version 1, 4, 0, 59


Signature=1f319d88-153f-4e0d-ae89-36315092789c
LinkExpires=3600
NotifyOrder=MEDIUM


[Protect]
REFERER  /xxx/ps-images 69.80.249.107/leech.gif
REFERER  /xxx/ps-images 69.80.249.107/leech.gif
LINK  /antileech 


[ReferersBlackList]
[ReferersWhiteList]
@^$
*chick8*
*killmyday*
*rebootmybrain*
[UserAgentsBlackList]
[UserAgentsWhiteList]

Back to Top
 
finallynaked
Groupie


Joined: 02 April 2006
Location: Denmark
Posts: 61
Posted: 16 June 2008 at 7:16am  

Yaroslav wrote:
As for scripting, HLB configuration is a simple text file, theoretically you should be able to edit it from script.

But from the ini file im not able to disable HLB or ?

Back to Top
 
Yaroslav
Admin Group


Joined: 15 August 2002
Posts: 6520
Posted: 17 June 2008 at 5:43am  

I actually see nothing in your configuration that may slow down the server. Probably HotlinkBlocker interfere with some other application on your server which causes such effect?
Anyway, you can disable HLB by commenting out content of [Protect] section.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top Visit Yaroslav's Homepage
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum