{"id":71,"date":"2008-06-11T17:07:04","date_gmt":"2008-06-11T21:07:04","guid":{"rendered":"http:\/\/nuxx.net\/blog\/?p=71"},"modified":"2008-06-11T17:07:04","modified_gmt":"2008-06-11T21:07:04","slug":"download-tools","status":"publish","type":"post","link":"https:\/\/nuxx.net\/blog\/2008\/06\/11\/download-tools\/","title":{"rendered":"Download Tools"},"content":{"rendered":"<p>You all know those shiny download tools which open loads of connections on a file to try and get it quicker? Those are crappy and put lots of unneeded load on servers. Here&#8217;s an example:<\/p>\n<p>I host <a href=\"http:\/\/rowla.dyndns.org\/\">this simple page<\/a> for a friend of mine in the UK for when he needs US-based hosting or some place high speed to distribute files from. As part of this he hosts the <a href=\"http:\/\/www.wis.co.uk\/justin\/deltic-engine.html\">animations found on this page<\/a>, which overall aren&#8217;t very big. However, someone in Thailand (125.24.191.195) is deciding to get them as quickly as possible using some stupid download tool.<\/p>\n<p>What I see is that the workload on the httpd is at ~277, up from it&#8217;s typical of 2 or 3. <tt>netstat<\/tt> shows <a href=\"https:\/\/nuxx.net\/files\/netstat_11jun2008_1.txt\">lots and lots and lots of connections<\/a> (currently 276) from that box, all of them established.<\/p>\n<p>The http log currently shows 9291 these:<\/p>\n<blockquote><p><tt>125.24.191.195 rowla.dyndns.org - [11\/Jun\/2008:16:58:34 -0400] \"GET \/justin\/img\/piston_std4.mpg HTTP\/1.1\" 200 32768 \"http:\/\/www.wis.co.uk\/justin\/deltic-engine.html\" \"Mozilla\/4.0 (compatible; MSIE 5.00; Windows 98)\"<\/tt><\/p><\/blockquote>\n<p>Load on the box itself is .23, which is tolerable, so I&#8217;ll probably let this continue. If it&#8217;s still going at midnight I&#8217;ll take some action, but for now it&#8217;s just a bit of irritation. Yes, I know I could limit connections on a per-IP basis, but I prefer not to do this unless it&#8217;s actually a problem. If I do need to block that IP, I&#8217;ll probably just fail to return anything on that vhost to that netblock. Hopefully they&#8217;ll finish getting their file sooner than that.<\/p>\n<p>If you&#8217;d like to see it, here&#8217;s the current netstat: <a href=\"https:\/\/nuxx.net\/files\/netstat_11jun2008_1.txt\">netstat_11jun2008_1.txt<\/a><br \/>\nHere&#8217;s a capture of a minute or so of 45 seconds of traffic with that address. Note that each GET results in a whole conversation of only 10k or so: <a href=\"https:\/\/nuxx.net\/files\/11jun2008_weird_1.cap.gz\">11jun2008_weird_1.cap.gz<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You all know those shiny download tools which open loads of connections on a file to try and get it quicker? Those are crappy and&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/nuxx.net\/blog\/2008\/06\/11\/download-tools\/\">Continue reading<span class=\"screen-reader-text\">Download Tools<\/span><\/a><\/div>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,4],"tags":[],"class_list":["post-71","post","type-post","status-publish","format-standard","hentry","category-computers","category-nuxxnet","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/posts\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":0,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/posts\/71\/revisions"}],"wp:attachment":[{"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/media?parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/categories?post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/tags?post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}