Thursday, April 12th, 2007

always check the disk free!

Came up against the strangest problem the other day, which in the end made it blatantly clear that the most simple 1st checks should always be done; that is things like disk space etc.

A server I have access too uses LDAP for user info and Kerberos5 for realm authentication. It was reported that this server wasn’t letting anyone login via ssh, and the only way that I was able to login, was via the console connection for the box (so essentially the only way to connect was locally).

I was able to prove that LDAP lookups were working, by simply id’ing on user accounts I knew to not exist locally which were stored in LDAP. I was also able to init a kerberos ticket when logged in, and login as ldap/krb5 users “locally”.

After a while of faffing about, enabling debug logging on sshd and so on, it dawned on me to check the disk space, thanks to an odd I/O moan in the sshd debug log. Low and behold! the partition where the kerberos key cache for ssh was completely full!

It goes to show that even simple checks like that which sometimes seem noddy, should always be done!

Tags: ,

Leave a comment » Filed under Linux by Chris Ganderton at 21:27.

back to top

Monday, April 9th, 2007

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: , ,

Leave a comment » Filed under FreeBSD, Linux, geek, servers by Chris Ganderton at 17:54.

back to top

Monday, April 9th, 2007

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: , ,

Leave a comment » Filed under Linux by Chris Ganderton at 12:53.

back to top

Monday, April 9th, 2007

Moving forward

I’ve decided that from now on, instead of being silly personal rants on this blog, I will attempt to report some interesting information. Mostly this will end up being tips and tech ramblings, that will get used as a memory jolt resource in the future for myself; but if anyone else finds it useful, then they’re more than welcome to read on.

So far this bank holiday I’ve not done much real messing about with the website and so on, so tomorrow I think when I finally get access back to beastie.thefraggle.com, I will ressurect the squid load balancing config, and post here how I plan to “load balance” thefraggle.com (even if it hardly gets any hits, it’s still a cool and useful thing to do ;)) I’ll likley also look at the best way to balance the mysql load also, but this may get a bit more tricky than http balancing.

Till tomorrow, goodbye!

No tag for this post.

Leave a comment » Filed under Uncategorized by Chris Ganderton at 0:15.

back to top

Friday, April 6th, 2007

shiney new toys

Roll on payday, I say.

I’ve been looking at what kit I fancy for my camera when I finally get paid at the end of the month. So far it’s boiled down to two important items:

Canon EF 75-300mm f/4.5-5.6 USM MKIII
Tripod (I’m not yet sure what to get :| )

I really fancy a prime telephoto and attempting to do some portrait work, but that will have to wait:

Canon EF 85mm f/1.8 USM

It’s only about £250, however, if I’m not careful I’ll end up spending all my wages on kit!!

Tags:

Leave a comment » Filed under Photography by Chris Ganderton at 18:05.

back to top


Credits and stuff

Copyright © [ t h e f r a g g l e . c o m ] | Powered by WP 2.3.1. | Tree by Headsetoptions and MandarinMusing a minimal theme based on HyperBallad Back to Content