[ t h e f r a g g l e . c o m ]

technology, photography and anything else that springs to mind.

http load balancing with squid

A while back at work I had to create a configuration for an internal squid http accelerator, and thought “hey, wouldn’t it be neat if I could load balance thefraggle.com with this method”.

Now, usually Squid is used to act as a caching proxy server, which means that client http requests are sent to the proxy server, the proxy server then goes out onto the web and attempts to grab the request, and returns the entry back to the client; in the process caching the pages (depending on the way the cache has been set up).

(more…)

Tags: , ,
, ,
April 9, 2007 at 5:54 pm Comment (1)

Spammers ought to be shot

Last night I had the idea that it would be nice to login to one of my servers (beastie.thefraggle.com) and grab a look at the squid configuration I wrote a while back to load balance my website, there was a slight problem with that, however; The server was inaccesible.

I’ve now found out that thanks to spammers, exim was using up so much system resource that the server had started swapping, and even running out of swap space!

(more…)

Tags: , ,
, ,
April 9, 2007 at 12:53 pm Comments (0)