{"id":17672,"date":"2023-05-23T13:21:42","date_gmt":"2023-05-23T07:51:42","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=17672"},"modified":"2023-05-23T13:21:43","modified_gmt":"2023-05-23T07:51:43","slug":"how-to-resolve-503-error-in-linux","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/","title":{"rendered":"<strong>How to Resolve 503 Error in Linux?<\/strong>"},"content":{"rendered":"\n<p>There can be connectivity issues between the Linux servers hosting your application that cause the 503 service unavailable error. One of the easiest ways to fix the 503 service temporarily unavailable error is to follow this knowledge base article.<\/p>\n\n\n\n<p><strong>Step 1<\/strong><\/p>\n\n\n\n<p>First you have to check if the website is a node.js\/python hosted website. If yes, then go for node.js\/python solutions :<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Nodejs :<\/h3>\n\n\n\n<p><em>Cpanel >>\u00a0 node.js >> open the application >> switch\u00a0 to\u00a0 the source path from terminal >> run the application : npm start \/ node app.js runserver &amp;\u00a0 (main file\u00a0 may be\u00a0 app.js, test.js,depends)<\/em><\/p>\n\n\n\n<p><em>If the\u00a0 error\u00a0 occurs\u00a0 for : port is already in\u00a0 use\u00a0 then :<br>netstat -nap | grep :port no.<br>lsof -p 21069<\/em><\/p>\n\n\n\n<p><em>where 21069 = pid<\/em><\/p>\n\n\n\n<p><em>kill -9 21069<\/em><\/p>\n\n\n\n<p>Restart the\u00a0 application and again run the application.<\/p>\n\n\n\n<p>Check whether the website\u00a0 is\u00a0 proxy based or not,in that order check the proxy.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Python :<\/h3>\n\n\n\n<p><em>Cpanel >>\u00a0 node.js >> open the application >> switch\u00a0 to\u00a0 the source path from terminal >> run the application : python3 manage.py runserveror python manage.py runserver &amp;<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Follow the\u00a0 steps as above as for\u00a0 node.js<\/h2>\n\n\n\n<p><strong>Step 2<\/strong><\/p>\n\n\n\n<p>You need to check the resources of the account. If they are high, you need to optimize the resources of the account.<\/p>\n\n\n\n<p><strong>Step 3\u00a0\u00a0<\/strong><\/p>\n\n\n\n<p>Check if there is load on the server. If yes, reduce the server load.<\/p>\n\n\n\n<p><strong>Step 4<\/strong>\u00a0\u00a0<\/p>\n\n\n\n<p>Enable debug mode for the website (If WP site >>in wp-config, edit\u00a0 the value\u00a0 of debug from false to\u00a0 true\u00a0 \/\u00a0 If other\u00a0 site\u00a0 then enable\u00a0 the debug logs\u00a0 from php ini editor\u00a0 in cPanel\u00a0 ) Exact error will get displayed on the site.)<\/p>\n\n\n\n<p><strong>Step 5<\/strong><\/p>\n\n\n\n<p>Here is the error that you will get on the screen.<\/p>\n\n\n\n<p>&#8220;<strong>Error :<\/strong><\/p>\n\n\n\n<p>You will get a memory exhaust error message.<\/p>\n\n\n\n<p>*Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in \/home\/mumbai\/public_html\/wp-content\/plugins\/userswp\/vendor\/ayecode\/wp-super-duper\/wp-super-duper.php on line 3060:<\/p>\n\n\n\n<p>To resolve such errors, Increase the values in the multi PHP INI editor.&#8221;<\/p>\n\n\n\n<p><strong>Step 6<\/strong>\u00a0\u00a0<\/p>\n\n\n\n<p>If error is related to plugin\/theme, then scan the security measures from wp-toolkit, and then you must know that there is error for\u00a0 the respective plugin , theme ,<\/p>\n\n\n\n<p>Ask the web hosts tech team to disable the plugin, with no changes in the theme.<\/p>\n\n\n\n<p><strong>Step 7\u00a0\u00a0<\/strong><\/p>\n\n\n\n<p>Check applying different suitable PHP versions to the site (On priority: 5.6, 7.3, 8.0 and above).<\/p>\n\n\n\n<p>That is how you can resolve 503 error on Linux operating systems compatible servers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There can be connectivity issues between the Linux servers hosting your application that cause the 503 service unavailable error. One of the easiest ways to fix the 503 service temporarily unavailable error is to follow this knowledge base article. Step 1 First you have to check if the website is a node.js\/python hosted website. If [&hellip;]<\/p>\n","protected":false},"author":37,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[2362,647],"class_list":["post-17672","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-howtos","tag-503-error","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Resolve 503 Error in Linux?<\/title>\n<meta name=\"description\" content=\"Fix 503 error in Linux operating system of servers with this easy guide.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Resolve 503 Error in Linux?\" \/>\n<meta property=\"og:description\" content=\"Fix 503 error in Linux operating system of servers with this easy guide.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-23T07:51:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-23T07:51:43+00:00\" \/>\n<meta name=\"author\" content=\"Sommaya Singh\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sommaya Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/\"},\"author\":{\"name\":\"Sommaya Singh\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/eff16f2e5efe7e6abce067954fc4fe0a\"},\"headline\":\"How to Resolve 503 Error in Linux?\",\"datePublished\":\"2023-05-23T07:51:42+00:00\",\"dateModified\":\"2023-05-23T07:51:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/\"},\"wordCount\":393,\"commentCount\":0,\"keywords\":[\"503 error\",\"Linux\"],\"articleSection\":[\"How-Tos\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/\",\"name\":\"How to Resolve 503 Error in Linux?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"datePublished\":\"2023-05-23T07:51:42+00:00\",\"dateModified\":\"2023-05-23T07:51:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/eff16f2e5efe7e6abce067954fc4fe0a\"},\"description\":\"Fix 503 error in Linux operating system of servers with this easy guide.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Resolve 503 Error in Linux?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/eff16f2e5efe7e6abce067954fc4fe0a\",\"name\":\"Sommaya Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/04\/sommaya-singh-150x150.png\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/04\/sommaya-singh-150x150.png\",\"caption\":\"Sommaya Singh\"},\"description\":\"I am a passionate content writer. I write unique, genuine and high-quality content on web hosting and other topics. Being a keen learner I continue to improve my writing skills.\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/sommaya-singh\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Resolve 503 Error in Linux?","description":"Fix 503 error in Linux operating system of servers with this easy guide.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"How to Resolve 503 Error in Linux?","og_description":"Fix 503 error in Linux operating system of servers with this easy guide.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2023-05-23T07:51:42+00:00","article_modified_time":"2023-05-23T07:51:43+00:00","author":"Sommaya Singh","twitter_misc":{"Written by":"Sommaya Singh","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/"},"author":{"name":"Sommaya Singh","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/eff16f2e5efe7e6abce067954fc4fe0a"},"headline":"How to Resolve 503 Error in Linux?","datePublished":"2023-05-23T07:51:42+00:00","dateModified":"2023-05-23T07:51:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/"},"wordCount":393,"commentCount":0,"keywords":["503 error","Linux"],"articleSection":["How-Tos"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/","name":"How to Resolve 503 Error in Linux?","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"datePublished":"2023-05-23T07:51:42+00:00","dateModified":"2023-05-23T07:51:43+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/eff16f2e5efe7e6abce067954fc4fe0a"},"description":"Fix 503 error in Linux operating system of servers with this easy guide.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-resolve-503-error-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Resolve 503 Error in Linux?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/eff16f2e5efe7e6abce067954fc4fe0a","name":"Sommaya Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/04\/sommaya-singh-150x150.png","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/04\/sommaya-singh-150x150.png","caption":"Sommaya Singh"},"description":"I am a passionate content writer. I write unique, genuine and high-quality content on web hosting and other topics. Being a keen learner I continue to improve my writing skills.","url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/sommaya-singh\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/17672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=17672"}],"version-history":[{"count":1,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/17672\/revisions"}],"predecessor-version":[{"id":17673,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/17672\/revisions\/17673"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=17672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=17672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=17672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}