{"id":841,"date":"2011-04-16T17:21:11","date_gmt":"2011-04-16T16:21:11","guid":{"rendered":"http:\/\/evemaps.dotlan.net\/blog\/?p=841"},"modified":"2011-04-16T17:25:48","modified_gmt":"2011-04-16T16:25:48","slug":"slashdotted-and-thank-you","status":"publish","type":"post","link":"https:\/\/evemaps.dotlan.net\/blog\/2011\/04\/16\/slashdotted-and-thank-you\/","title":{"rendered":"Slashdotted and Thank You"},"content":{"rendered":"<p>I&#8217;m still speechless and overwhelmed by the speed and amount of donations I got to upgrade the DOTLAN EveMaps. It just took around 30 hours until I reached the 1.000\u20ac goal. Woah, far faster then I ever imagined and expected. I didn&#8217;t even needed to make a lot of advertising myself. A lot of people spreaded the word for me on Twitter, Ingame, on Teamspeak channels, everywhere. Even CCP did some <a href=\"http:\/\/www.facebook.com\/eveonline\/posts\/178057078912964\" target=\"_blank\">promotion <\/a>for DOTLAN EveMaps on their <a href=\"http:\/\/www.facebook.com\/eveonline\" target=\"_blank\">Facebook page<\/a>.<\/p>\n<p>And what then happens is called the &#8220;<a href=\"http:\/\/en.wikipedia.org\/wiki\/Slashdot_effect\" target=\"_blank\">Slashdot\u00a0effect<\/a>&#8220;. You get a lot of visitors in a very short amount of time. Since I didn&#8217;t configured the <em>&#8216;max open file<\/em>&#8216; value, the webserver wasn&#8217;t able deliver more content (internal error 500) even the server load was far from\u00a0being\u00a0critical. The default value wasn&#8217;t just good enough. Well you&#8217;ll always learn from your mistakes.<\/p>\n<p>The downside: This night the server crashed again with this nice <a href=\"http:\/\/pastebin.com\/ZmJiVCCk\" target=\"_blank\">kernel panic<\/a>. I&#8217;ve the strong feeling it might be related to bad memory, which should hopefully be solved with the new hardware and memory.<\/p>\n<p><strong>Lessons learned:<\/strong><\/p>\n<ul>\n<li>be patient and wait until the hardware gets delivered (including registered ecc ram)<\/li>\n<li>adding watchdog devices\/daemon. (If the server itself doesn&#8217;t ping the watchdog device via daemon, the server gets rebooted automatically)<\/li>\n<li>setting <span style=\"font-family: 'Courier New', Courier, monospace;\">kernel.panic<\/span> (sysctl.conf) to reboot after kernel panic<\/li>\n<li>setting\u00a0<span style=\"font-family: 'Courier New', Courier, monospace;\">fs.file-max<\/span> (sysctl.conf),\u00a0<span style=\"font-family: 'Courier New', Courier, monospace;\">worker_rlimit_nofile<\/span> and\u00a0<span style=\"font-family: 'Courier New', Courier, monospace;\">worker_connections<\/span> (nginx.conf) to an\u00a0appropriate value to handle enough file descriptors. Every http session, keep alive connection, reverse proxy connection or file access (static content) needs a file descriptor.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m still speechless and overwhelmed by the speed and amount of donations I got to upgrade the DOTLAN EveMaps. It just took around 30 hours until I reached the 1.000\u20ac goal. Woah, far faster then I ever imagined and expected. I didn&#8217;t even needed to make a lot of advertising myself. A lot of people [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/posts\/841"}],"collection":[{"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/comments?post=841"}],"version-history":[{"count":4,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/posts\/841\/revisions"}],"predecessor-version":[{"id":845,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/posts\/841\/revisions\/845"}],"wp:attachment":[{"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/media?parent=841"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/categories?post=841"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/evemaps.dotlan.net\/blog\/wp-json\/wp\/v2\/tags?post=841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}