{"id":69811,"date":"2020-09-28T09:18:05","date_gmt":"2020-09-28T14:18:05","guid":{"rendered":"https:\/\/wpengine.com\/?post_type=resource&#038;p=69811"},"modified":"2022-01-27T15:20:51","modified_gmt":"2022-01-27T21:20:51","slug":"why-do-websites-crash","status":"publish","type":"resource","link":"https:\/\/wpengine.com\/case-studies\/resources\/why-do-websites-crash\/","title":{"rendered":"Avoiding the Reddit Hug of Death and Other Common Causes of a Website Crash"},"content":{"rendered":"\n<p>If you own a website, having it crash is probably one of your worst nightmares. If your site is tied to your income, that scenario becomes even more problematic. Getting a site up and running again can be time consuming, and users won\u2019t be able to access your content in the meantime. <\/p>\n\n\n\n<p>On the other hand, preventing such a crash can save you time, energy, and even money by minimizing site downtime. You\u2019ll then be able to focus your attention on other important tasks, and feel comfortable in the knowledge that users can access your site with ease. <\/p>\n\n\n\n<p>In this post, we\u2019ll explain the various reasons websites crash, including the Reddit Hug of Death (also known as the Slashdot Effect). Then we\u2019ll explain how to avoid a site crash altogether. Let\u2019s get to it!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Do Websites Crash?<\/h2>\n\n\n\n<p>The reasons websites crash vary widely. Generally speaking, anything that causes a site to stop serving data will result in a crash. In order to prevent these periods of downtime before they happen, you\u2019ll need to put safety measures in place to cover the various reasons for site crashes. <\/p>\n\n\n\n<p>Some common causes include a sudden influx of visitors, bugs in your website\u2019s code, or a loss of power to your server. While some factors are outside of your control (such as those where your hosting provider is at fault), others can be defended against. Next up, we\u2019ll look at one of those causes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Reddit &#8220;Hug of Death&#8221;<\/h2>\n\n\n\n<p>The <a href=\"https:\/\/www.reddit.com\/r\/OutOfTheLoop\/comments\/2jfelz\/what_is_the_reddit_hug_of_death\/\" target=\"_blank\" rel=\"noreferrer noopener\">Reddit Hug of Death<\/a>, also known as the Slashdot Effect, occurs when a popular site links to a smaller site, sending it a large (and sudden) influx of visitors. If the smaller site isn\u2019t set up to handle high traffic levels, a crash could occur. <\/p>\n\n\n\n<p>The reason a crash might happen after a Reddit Hug of Death varies from case to case. A site may reach its traffic quota, its data bandwidth might be insufficient, or its server could become overloaded. That last possibility is particularly likely if the site is on a shared server. <\/p>\n\n\n\n<p>There aren\u2019t many statistics available on the Reddit Hug of Death, but some website owners have taken to their blogs to share their experiences. Developer and blogger <a href=\"https:\/\/crajun.com\/random\/reddit-hug-death\/\" target=\"_blank\" rel=\"noreferrer noopener\">Craig Junghandel<\/a> had a 4,500% increase in visitors after being featured on Reddit, for example, and <a href=\"https:\/\/www.codingame.com\/blog\/how-did-codingame-survive-reddit-hug-of\/\" target=\"_blank\" rel=\"noreferrer noopener\">CodinGame\u2019s platform<\/a> had two hours of downtime after a Hug of Death. <\/p>\n\n\n\n<p>One of the best ways to prevent a Reddit Hug of Death crash is by opting for cloud hosting with WP Engine\u2019s <a href=\"https:\/\/wpengine.com\/enterprise\/wordpress-hosting\/\">enterprise WordPress hosting<\/a> plan. Cloud hosting takes advantage of a network of servers to deliver your site\u2019s data to users, instead of relying on a single server to handle all of your traffic. This means that even if one server gets overloaded, the others can help to compensate.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Too Many Website Users<\/h2>\n\n\n\n<p>As with the Reddit Hug of Death, your server can suffer strain if there are too many users on your website for any reason. This can drastically degrade your users\u2019 experience, even if it doesn\u2019t result in a crash. Your server will keep users from viewing content until a connection is cleared up, resulting in long wait times. <\/p>\n\n\n\n<p>Using a <a href=\"https:\/\/torquemag.io\/2017\/11\/implement-content-delivery-network\/\" target=\"_blank\" rel=\"noreferrer noopener\">Content Delivery Network (CDN<\/a>) can help to speed up your site, even if you have a larger user base. A CDN has many servers located all around the world, making it easier for users in a variety of locations to access your content smoothly. This setup also decreases the strain on your site\u2019s primary server. <\/p>\n\n\n\n<p>It\u2019s also important that both your site and hosting plan are \u2018scalable\u2019, so you can manage increases in traffic when they arise. Using a <a href=\"http:\/\/tutorials.jenkov.com\/software-architecture\/scalable-architectures.html\" target=\"_blank\" rel=\"noreferrer noopener\">scalable architecture<\/a> when designing your site will prepare you for expanding it as your audience grows. Fortunately, <a href=\"https:\/\/wpengine.com\/platform\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Engine\u2019s platform<\/a> offers both a fully-managed global CDN and scalable architecture.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Bugs in the Website Code<\/h2>\n\n\n\n<p>If there\u2019s an issue with your site\u2019s code, it may stop displaying content to searchers. The best way to prevent this kind of problem is to be careful when you\u2019re updating your site, and to be judicious about who you enable to access it. <\/p>\n\n\n\n<p>Code-related crashes can often be traced back to administrator actions. Therefore, make sure to keep a log of your site\u2019s updates and changes. You can then go back and see what actions corresponded with the time of the crash, and undo them to see if that fixes the problem. <\/p>\n\n\n\n<p>That being said, outside threats are still a possibility. <a href=\"https:\/\/torquemag.io\/2018\/02\/full-featured-wordpress-security-solution\/\" target=\"_blank\" rel=\"noreferrer noopener\">Implementing a strong security solution<\/a> (such as WP Engine) is vital to preventing hackers from infiltrating your site. WP Engine&#8217;s <a href=\"https:\/\/wpengine.com\/secure-wordpress-hosting\/\">secure WordPress hosting<\/a> offers security features including managed updates as well as threat detection and blocking, to help keep your site safe from malicious attacks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Servers Lose Power<\/h2>\n\n\n\n<p>Your hosting provider may claim to provide over 99% uptime, but unfortunately no server is perfect. If your website is down, your first step should be to contact your provider and see if there may be a problem with your server. This will enable you to implement the best plan for getting your site back online. <\/p>\n\n\n\n<p>Servers can lose power for a variety of reasons. They may go down for routine maintenance, in which case they should be up and running again quickly without causing you much trouble. That being said, servers are also susceptible to natural disasters and power outages, which could require more time to address. <\/p>\n\n\n\n<p>While cloud servers can also lose power, <a href=\"https:\/\/wpengine.com\/resources\/cloud-hosting-services\/\" target=\"_blank\" rel=\"noreferrer noopener\">cloud hosting<\/a> is designed to prevent downtime even if that occurs. Since cloud hosting uses a network of servers, if one server loses power, your site can continue to run off the remaining servers. Data centers also usually employ multiple power sources, to prevent power loss in the first place. <\/p>\n\n\n\n<p>If your server is down, there\u2019s not much you can do except wait for your hosting provider to fix the problem. It\u2019s also wise to <a href=\"https:\/\/wpengine.com\/support\/restore\/\" target=\"_blank\" rel=\"noreferrer noopener\">back up your site<\/a> regularly, so it can be restored if needed. Your best defense, however, is to opt for a quality hosting provider and a robust cloud hosting plan.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Does a Site Crashing Impact the Digital Experience?<\/h2>\n\n\n\n<p>No one wants to see their website crash, and waste hours due to costly downtime. What\u2019s more, a crash can have a <a href=\"https:\/\/neilpatel.com\/blog\/loading-time\/\" target=\"_blank\" rel=\"noreferrer noopener\">detrimental effect on your users\u2019 experience<\/a>, delaying or preventing access to your content. <\/p>\n\n\n\n<p>While knowing what to do if your site does crash is important, understanding how to prevent it from happening is even more vital. To this end, we offers features such as scalable architecture, a fully-managed global CDN, and cloud hosting that helps to keep your up and running nonstop. Check out <a href=\"https:\/\/wpengine.com\/plans\/\" target=\"_blank\" rel=\"noreferrer noopener\">our plans<\/a> today!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you own a website, having it crash is probably one of your worst nightmares. If your site is tied to your income, that scenario becomes even more problematic. Getting a site up and running again can be time consuming, and users won\u2019t be able to access your content in the meantime. On the other<span class=\"tile__ellipses\">&hellip;<\/span><span class=\"tile__ellipses--animated\"><\/span><\/p>\n","protected":false},"author":177,"featured_media":0,"template":"","resource-topic":[912,898,915],"resource-role":[896,906,903,899],"resource-type":[916],"class_list":["post-69811","resource","type-resource","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The Reddit Hug-of-Death &amp; Other Causes of Website Crashes<\/title>\n<meta name=\"description\" content=\"Learn about the Reddit Hug of Death (AKA the Slashdot Effect) and other common causes for website crashes and how to prevent them with WP Engine\u00ae.\" \/>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Reddit Hug-of-Death &amp; Other Causes of Website Crashes\" \/>\n<meta property=\"og:description\" content=\"Learn about the Reddit Hug of Death (AKA the Slashdot Effect) and other common causes for website crashes and how to prevent them with WP Engine\u00ae.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpengine.com\/case-studies\/resources\/why-do-websites-crash\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Engine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpengine\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-27T21:20:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/05\/WPE-IMG-Thumbnail-1200x630-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@wpengine\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/why-do-websites-crash\/\",\"url\":\"https:\/\/wpengine.com\/case-studies\/resources\/why-do-websites-crash\/\",\"name\":\"The Reddit Hug-of-Death & Other Causes of Website Crashes\",\"isPartOf\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\"},\"datePublished\":\"2020-09-28T14:18:05+00:00\",\"dateModified\":\"2022-01-27T21:20:51+00:00\",\"description\":\"Learn about the Reddit Hug of Death (AKA the Slashdot Effect) and other common causes for website crashes and how to prevent them with WP Engine\u00ae.\",\"breadcrumb\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/why-do-websites-crash\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpengine.com\/case-studies\/resources\/why-do-websites-crash\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/why-do-websites-crash\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wpengine.com\/case-studies\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resources\",\"item\":\"https:\/\/wpengine.com\/case-studies\/resources\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Avoiding the Reddit Hug of Death and Other Common Causes of a Website Crash\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\",\"url\":\"https:\/\/wpengine.com\/case-studies\/\",\"name\":\"WP Engine\",\"description\":\"Managed Hosting for WordPress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/aba73ed4c15eda43b5fd78844ec31fad\",\"name\":\"Samantha Rodriguez\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/933722cf8761e0c08fbced6085998032df460c5ecfa2481d9cd16f569f3da2c1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/933722cf8761e0c08fbced6085998032df460c5ecfa2481d9cd16f569f3da2c1?s=96&d=mm&r=g\",\"caption\":\"Samantha Rodriguez\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Reddit Hug-of-Death & Other Causes of Website Crashes","description":"Learn about the Reddit Hug of Death (AKA the Slashdot Effect) and other common causes for website crashes and how to prevent them with WP Engine\u00ae.","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"The Reddit Hug-of-Death & Other Causes of Website Crashes","og_description":"Learn about the Reddit Hug of Death (AKA the Slashdot Effect) and other common causes for website crashes and how to prevent them with WP Engine\u00ae.","og_url":"https:\/\/wpengine.com\/case-studies\/resources\/why-do-websites-crash\/","og_site_name":"WP Engine","article_publisher":"https:\/\/www.facebook.com\/wpengine","article_modified_time":"2022-01-27T21:20:51+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/05\/WPE-IMG-Thumbnail-1200x630-1.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@wpengine","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpengine.com\/case-studies\/resources\/why-do-websites-crash\/","url":"https:\/\/wpengine.com\/case-studies\/resources\/why-do-websites-crash\/","name":"The Reddit Hug-of-Death & Other Causes of Website Crashes","isPartOf":{"@id":"https:\/\/wpengine.com\/case-studies\/#website"},"datePublished":"2020-09-28T14:18:05+00:00","dateModified":"2022-01-27T21:20:51+00:00","description":"Learn about the Reddit Hug of Death (AKA the Slashdot Effect) and other common causes for website crashes and how to prevent them with WP Engine\u00ae.","breadcrumb":{"@id":"https:\/\/wpengine.com\/case-studies\/resources\/why-do-websites-crash\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpengine.com\/case-studies\/resources\/why-do-websites-crash\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpengine.com\/case-studies\/resources\/why-do-websites-crash\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpengine.com\/case-studies\/"},{"@type":"ListItem","position":2,"name":"Resources","item":"https:\/\/wpengine.com\/case-studies\/resources\/"},{"@type":"ListItem","position":3,"name":"Avoiding the Reddit Hug of Death and Other Common Causes of a Website Crash"}]},{"@type":"WebSite","@id":"https:\/\/wpengine.com\/case-studies\/#website","url":"https:\/\/wpengine.com\/case-studies\/","name":"WP Engine","description":"Managed Hosting for WordPress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/aba73ed4c15eda43b5fd78844ec31fad","name":"Samantha Rodriguez","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/933722cf8761e0c08fbced6085998032df460c5ecfa2481d9cd16f569f3da2c1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/933722cf8761e0c08fbced6085998032df460c5ecfa2481d9cd16f569f3da2c1?s=96&d=mm&r=g","caption":"Samantha Rodriguez"}}]}},"acf":[],"grid_image_url":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2019\/01\/shutterstock_788154133.jpg","media-type":{"term_id":916,"name":"Article","slug":"article"},"role":"<strong>Roles:<\/strong> Developer, Entrepreneur, Marketer, Site Owner","topic":"<strong>Topics:<\/strong> Performance, Scalability, Uptime","_links":{"self":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource\/69811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource"}],"about":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/types\/resource"}],"author":[{"embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/users\/177"}],"wp:attachment":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/media?parent=69811"}],"wp:term":[{"taxonomy":"resource-topic","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-topic?post=69811"},{"taxonomy":"resource-role","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-role?post=69811"},{"taxonomy":"resource-type","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-type?post=69811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}