Undercrank

Miscellaneous

August 25, 2004

When HOSTS files go bad

A HOSTS file, yesterday

For months now, myself and a colleague have had frequent lockups on Windows 2000 about every hour or so. It's almost always the same time past the hour, and all open applications stop responding - you can still move the mouse, but everything else just flashes in the taskbar or starts the system beep off when you click the mouse buttons or attempt to type.

The only clue we got is that when it did happen, the CPU utilization would swing up to 100%, most of which taken up by SERVICES.EXE. The question was, what service was causing the disruption?

To cut a long story short, it turned out to be our HOSTS file causing the problem. Tucked away in C:\WINNT\system32\drivers\etc it had been expanded hugely (to 300kb) by Spybot adding dozens of entries for dodgy sites; getting them to point to 127.0.0.1. My guess every so often the OS checks the file for updates and spends a while adding the entries to some internal table - which causes the freeze-up.

More of the same RSS

Russell Brand's got issues

I am now on the YouTube bandwagon. Woo! (Filmed at Tottenham Court Road station, with an Nokia N93)...

Super Smiley Wallpaper

One of the nice things at Skype's shiny new office in London is a fantastic wall of emoticons on one of the stairwells - I wanted to take a shot with my cameraphone and post it online but wasn't sure...

Freedom!

.flickr-photo { border: solid 2px #000000; } .flickr-yourcomment { } .flickr-frame { text-align: left; padding: 3px; } .flickr-caption { font-size: 0.8em; margin-top: 0px; } Not your usual wildlife, originally uploaded by Mark McLaughlin. There's a stray budgie spending a...

Top Dog

Benjamin Bertie McLaughlin of Sheerwater, 1989-2005.

Trackbacks

Trackback URL for this entry is:

Post a comment

Remember personal info?