{"id":10427,"date":"2011-01-17T14:56:51","date_gmt":"2011-01-17T19:56:51","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=10427"},"modified":"2011-01-17T15:17:49","modified_gmt":"2011-01-17T20:17:49","slug":"downtime-i-hope-you-can-read-this","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=10427","title":{"rendered":"Downtime: I hope you can read this"},"content":{"rendered":"<p><table   class=\"\" cellpadding='0' cellspacing='0' border='0' align='center'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/splash_modem.jpg' class='insetimage'   alt='splash_modem.jpg' title='splash_modem.jpg'\/><\/td><\/tr><\/table><\/p>\n<p>Welcome to 1996.  Please enjoy your internet.<\/p>\n<p>I&#8217;m sure you&#8217;ve noticed that my site tends to go down a lot.  It turns out this blog is a resource pig.  According to my webhost, I had an entire machine to myself and it was still going down on a regular basis. About two or three times a month the machine would be overwhelmed for a few hours and the site would vanish.  I could never get a definitive answer out of them if the cause was bandwidth or CPU usage. Bandwidth seems unlikely &#8211; this site isn&#8217;t <em>that<\/em> popular.  I&#8217;ve survived simultaneous links from <a href=\"http:\/\/slashdot.org\/\">Slashdot<\/a> and <a href=\"http:\/\/makezine.com\/\">Make<\/a>.  But if the cause is a PHP script that runs amok, I&#8217;m at a loss to find it.<\/p>\n<p>But last week they moved me to a new server, in hopes that this would improve things.  I also installed <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-super-cache\/\">supercache<\/a>, which might help lighten the load.  I&#8217;m very disappointed that web hosts track bandwidth usage but don&#8217;t give you any way of tracking CPU usage. It means I&#8217;m working blind and have no way to really look for problems.<\/p>\n<p><!--more-->But anyway.  The site moved.  This meant a new IP address.  Which meant we needed to wait for the DNS to sort out.  <\/p>\n<div class=\"dmnotes\">IP address is your unique address on the internet.  Everything on the net has one.  You can go up to the address bar and type in http:\/\/128.242.240.84 and go to <a href=\"http:\/\/twitter.com\/\">that website<\/a>.  In the very early days of the network, this is how it worked.  Then people pointed out that keeping track of IP&#8217;s was a chore, and they came up with the idea of making a handy alias for all these DOZENS of numbers.  So instead of remembering 128.242.240.84 you can remember <a href=\"http:\/\/twitter.com\">twitter.com<\/a>.<\/p>\n<p>But then you need a system of looking up domains and seeing what IP they have.  A kind of phone book for the internet.  Since the network is headless, keeping everyone on the same page can get messy.  Your ISP generally provides a domain name server that does this looking up for you. So when you look up Twitter, it looks up the IP for you and sends you the result.<\/p>\n<p>This DNS is only supposed to store the IP for so long &#8211; if you ask for the same site again tomorrow, it&#8217;s supposed to look it up again, just in case the site moved.<\/p><\/div>\n<p>Now, the last time this site moved the DNS sorted in a couple of hours.  But this time it dragged on for over a day.  Other people were having the same problem.  A lot of people.  <a href=\"http:\/\/code.google.com\/speed\/public-dns\/docs\/using.html\">I switched to using the Google DNS servers<\/a>, which fixed things for me.  But other people still couldn&#8217;t reach the site for days.  <\/p>\n<p>As far as I&#8217;ve been able to learn, this is 100% the fault of rotten ISP&#8217;s.  If you couldn&#8217;t reach my site for more than a day, it means your provider was ignoring the proper DNS procedures and giving you my old IP, even days later.   As of yesterday, I was STILL getting messages from people who couldn&#8217;t reach the site.  This is ridiculous by any standards, and even the internet of 1996 was more robust than this. <\/p>\n<p>So that&#8217;s where the site went.  I imagine that this should all be sorted out <em>eventually<\/em>. Sorry for the downtime. Hopefully we&#8217;ll see less of it in the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to 1996. Please enjoy your internet. I&#8217;m sure you&#8217;ve noticed that my site tends to go down a lot. It turns out this blog is a resource pig. According to my webhost, I had an entire machine to myself and it was still going down on a regular basis. About two or three times [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[111],"tags":[],"class_list":["post-10427","post","type-post","status-publish","format-standard","hentry","category-notices"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/10427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10427"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/10427\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}