computer chip



home
archive

suggestions
help page
future features



View current page
...more recent posts

Holy cow we are being demolished by the googlebot! It is going crazy and absolutely pegging our bandwidth with bizarre page requests like:

/treehouse/date/2000/systemnews/index.php3/mrwilson/rachael/ mrwilson/arboretum.php3/dave/systemnews/index.php3/

WTF?

Unfortunately, instead of generating a 404 (since that obviously is not a real page) this requests generates the entire year 2000 archive for the /treehouse page (a huge transfer!) The system just sees /treehouse/date/2000/ and can't make anything of the rest of it, so serves the whole year.

Ouch.

I have temporarily disabled entire year archives. We'll see if that helps. Damn. I should have caught this a few days ago, but I wasn't paying close enough attention. Might cost me. Literally.
- jim 8-25-2005 9:14 pm [link] [11 comments]

This is just a general update to let people know what fun the future holds around here.

I am very close to buying a new server. Okay, sure, I did buy that Pentium II Penguin server years ago (before we moved to he.net) and then never used it. And it is sitting right here on the floor under my desk mocking me as I prepare to drop some cash on yet another shiny toy. But I don't think it will dissuade me in the end.

Basically, or this is what I am telling myself at least, I am waiting for Apple to release Tiger Server (OS X 10.4). This is rumored to be announced on April 1 and delivered around the middle of the month. As soon as that happens my plan is to buy.

Then there will be some time where I have the server here and am configuring it and beginning to implement some of my new software plans. Say roughly the month of May. Then I will put it in its new home (I think 75 Broad St. here in Manhattan,) and continue to test and tweak. Probably I'll move other domains (the restaurants, etc...) over to the new box first and leave dmtree at hurricane until I am pretty sure of the new setup. Possibly we will move over sometime around the end of June.

That is a pretty speculative calendar, but that's what I am thinking. Our storage space will be immense. 1.2 TB in total (3 x 400 GB) although some of that I am going to use for redundancy so it won't all be available. Still, I imagine using at least one full drive (400 GB) for music. You can all thank Dave when that goes live. And then we still will have hundreds of gigabytes each for photos and video.

Bandwidth will increase to 1 mb/s which will be 4 times what we have now and roughly 8 to 10 times what we use now (not counting that one unusual spike last month which still didn't top .25 mb/s.) So space and bandwidth should be okay.

I am going to make lots of software changes, but I have no plans to make any low level changes to the code here, so those of you who remember scary tales of data loss from system upgrades of yore should probably worry slightly less than you might be inclined to. The main thrust of my changes will be to the large media file uploading subsystem and to the traffic logging subsystem.

Other goodies enabled by Tiger will be IMAP for email accounts (something we don't have now,) a Jabber IM server, as well as streaming audio and video servers. My first goal is to con(vince) Dave into having his own radio show.

And I would love to at least experiment with some live streaming video. A video camera attached to a laptop with an EV-DO card streaming H.264 over the internet to the server which then rebroadcasts to any connected viewers actually seems doable. Not sure what we would use wireless remote streaming video powers for, but this is NYC, and interesting stuff does sometimes happen.
- jim 3-25-2005 8:13 pm [link] [2 comments]

Sorry it took so long to block all the 'andrewsaluk.com' referrers. I think they should be stopped now.

We've done well against comment spam, but now I need to turn my attention to all the referrer spam. Our friend Mr. Saluk is only the worst offender. In the process I want to rebuild the entire logging system so that we can have a much better look at what is happening in terms of site traffic.
- jim 3-08-2005 6:58 pm [link] [2 comments]

I've added accesskey access to the navigation bars on all pages here. That means you can use control+ a key (or alt+ a key) to access the navigation bar items. So, for instance, pressing control+p is like clicking on [post]. Control+e is [editpage]. Control+u is [upload].

Let me know if it doesn't work in your browser. Pretty big time saver if you get use to it.
- jim 12-04-2004 8:30 pm [link] [3 comments]

Just woke up to find the site down again. I am still not sure why mySQL is having this intermittent problem. It ran so well for years. The only thing I can think is that maybe as our hard drive becomes very close to full we are causing problems in some cache system. But that is pretty speculative.

Does anybody have any sense of when it went down? I think I saw it up around midnight.
- jim 8-24-2004 6:02 pm [link] [7 comments]

Not that this would be of interest to anyone, but I made a web interface for the output of a mysql show status command. Despite the two recent outages, and despite the fact that none of our numbers here would be impressive to anyone who really knows anything, I am nonetheless constantly amazed at how much information the database serves.

Here is a short explanation of the different variables.
- jim 7-01-2004 6:43 pm [link] [3 comments]

Another outage today. Worse this time, as all sites on the server were inaccessible. I'm sure my few customers are very pleased they hosted with me!

I don't know exactly what was wrong. But I strongly suspect this was the same MySQL problem. Somewhere there is a script that is (or scripts that are) connecting the MySQL, but then not releasing the connection when they are done. And with enough requests this eventually results in too many connections to the database.

Probably those requests would time out eventually and everything would start working on it's own, but rebooting the server made this happen right away.

Hopefully no one was mid post when this happened.

I am going to try to get to the bottom of this. I will keep you all posted.
- jim 6-23-2004 9:10 pm [link] [2 comments]

Quick database outage. Looks like the same thing that happened a week or so ago. Not a big deal (just have to restart the mysql demon,) but obviously annoying. I'm trying to figure out if there is something more fundamental that is breaking down. I'm thinking possibly this has to do with running low on disk space.
- jim 6-23-2004 1:49 am [link] [add a comment]

The site was down for a while today. I'm not sure exactly how long. The server was fine, but the database was returning a "too many connections" error which was almost certainly not the result of actually having too many connections. Sorry for the outage.
- jim 6-01-2004 1:49 am [link] [1 comment]

I can't figure out what is going on. /sync works, but it doesn't seem like it does. I mean, when you use it to sync files that have been FTP'd it actually does it's job, but the script just hangs, apparently not doing what it should. I am trying to fix this but haven't had much luck yet.

But until I do it is still useable. Just /sync like you would expect, wait for a few moments just to be safe, and then you can stop the page from loading. Then go to either /music or /image and you should see the files in their correct place.
- jim 4-15-2004 10:28 pm [link] [4 comments]