{"id":159,"date":"2011-01-09T22:11:18","date_gmt":"2011-01-10T03:11:18","guid":{"rendered":"http:\/\/littlesvr.ca\/grumble\/?p=159"},"modified":"2012-12-05T00:51:46","modified_gmt":"2012-12-05T05:51:46","slug":"two-years-of-uptime","status":"publish","type":"post","link":"http:\/\/littlesvr.ca\/grumble\/2011\/01\/09\/two-years-of-uptime\/","title":{"rendered":"Two years of uptime"},"content":{"rendered":"<p>Check this out:<\/p>\n<blockquote><p>andrew@littlesvr:~$ uptime<br \/>\n00:20:16 up 730 days, 15:13,\u00a0 1 user,\u00a0 load average: 0.57, 0.22, 0.11<\/p><\/blockquote>\n<p>At 4AM this morning it was 730 days, that&#8217;s exactly two years!<\/p>\n<p>The server would have been up for about 6 years if I didn&#8217;t decide once to <a href=\"http:\/\/littlesvr.ca\/grumble\/2007\/09\/18\/cool-quiet-and-reasonably-priced-server\/\">upgrade the hardware<\/a>, once to upgrade Slackware, and once <a href=\"http:\/\/littlesvr.ca\/grumble\/2009\/01\/10\/hacked-part-1-the-surprise\/\">to<\/a> <a href=\"http:\/\/littlesvr.ca\/grumble\/2009\/01\/11\/hacked-part-1-open-source-hacking\/\">be<\/a> <a href=\"http:\/\/littlesvr.ca\/grumble\/2009\/01\/12\/hacked-part-3-teaser\/\">hacked<\/a> :) Ok that last one wasn&#8217;t a conscious decision, and it may happen again since I haven&#8217;t ever figured out what the vulnerability was.<\/p>\n<p>Yeah, this little box has been running for this long, and yes, it does have spiderwebs on it. I didn&#8217;t take them off when I saw them because that is so cool and since I have no fans they really don&#8217;t cause any trouble.<\/p>\n<p>The server is sitting on a UPS that I bought years ago. Today I tested it by cutting the power, expecting that it will die immediately. I was pleasantly surprised to see that the server (and DSL modem and hub) were still on after the 5 minute battery test. I didn&#8217;t want to test it for longer than that because I remember the spec for the UPS said 8 minutes, and I wonder if maybe a year from now I&#8217;ll be celebrating a 3-year uptime anniversary :)<\/p>\n<p>Maybe in a year or two I&#8217;ll replace it with a faster, fancier, even smaller Arm box like one of those Chris Tyler is playing with. But for now I have no need.<\/p>\n<p>Unfortunately my Slackware upgrade came with an Apache upgrade which means the log formats are different between the two periods, so I can&#8217;t say how much data has been transferred, but this webaliser screenshot will give you an idea of what&#8217;s typical:<\/p>\n<p><a href=\"http:\/\/littlesvr.ca\/grumble\/wp-content\/uploads\/2011\/01\/webaliser-2010.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-160\" title=\"webaliser 2010\" src=\"http:\/\/littlesvr.ca\/grumble\/wp-content\/uploads\/2011\/01\/webaliser-2010.png\" alt=\"\" width=\"724\" height=\"678\" srcset=\"http:\/\/littlesvr.ca\/grumble\/wp-content\/uploads\/2011\/01\/webaliser-2010.png 724w, http:\/\/littlesvr.ca\/grumble\/wp-content\/uploads\/2011\/01\/webaliser-2010-300x280.png 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/a><\/p>\n<p>(for the observant ones: legrand-sw is the workstation where I ran webaliser on the littlesvr logs)<\/p>\n<p>That&#8217;s roughly 240GB of data uploaded per year (caching is on by default), and 9600 unique visitors per year.<\/p>\n<p>I think it&#8217;s pretty good for a tiny hobby web server on a residential ADSL connection serving hobby content :)<\/p>\n<p>And of course this is not just a web server but also my email server, which I don&#8217;t have stats for but it&#8217;s the only email I really use. With any luck it will also become an LDAP server, if I can set it up so that it&#8217;s compatible with Thunderbird and easily updateable.<\/p>\n<p>Long live Slackware!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Check this out: andrew@littlesvr:~$ uptime 00:20:16 up 730 days, 15:13,\u00a0 1 user,\u00a0 load average: 0.57, 0.22, 0.11 At 4AM this morning it was 730 days, that&#8217;s exactly two years! The server would have been up for about 6 years if I didn&#8217;t decide once to upgrade the hardware, once to upgrade Slackware, and once to &hellip; <\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-andrew","4":"post-159","6":"format-standard","7":"category-opensource","8":"category-safeforseneca"},"_links":{"self":[{"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/posts\/159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/comments?post=159"}],"version-history":[{"count":11,"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/posts\/159\/revisions"}],"predecessor-version":[{"id":603,"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/posts\/159\/revisions\/603"}],"wp:attachment":[{"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/media?parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/categories?post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/tags?post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}