{"id":14854,"date":"2023-05-23T08:51:32","date_gmt":"2023-05-23T07:51:32","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=14854"},"modified":"2023-05-23T08:52:23","modified_gmt":"2023-05-23T07:52:23","slug":"how-to-resolve-503-error-in-linux","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-resolve-503-error-in-linux\/","title":{"rendered":"How to Resolve 503 Error in Linux?"},"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>If the&nbsp; error&nbsp; occurs&nbsp; for : port is already in&nbsp; use&nbsp; then :<\/p>\n\n\n\n<p><em>netstat -nap | grep :port no.<\/em><\/p>\n\n\n\n<p><em>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&nbsp; application and again run the application.<\/p>\n\n\n\n<p>Check whether the website&nbsp; is&nbsp; 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&nbsp; steps as above as for&nbsp; 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&nbsp;&nbsp;<\/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>&nbsp;&nbsp;<\/p>\n\n\n\n<p>Enable debug mode for the website (If WP site &gt;&gt;in wp-config, edit&nbsp; the value&nbsp; of debug from false to&nbsp; true&nbsp; \/&nbsp; If other&nbsp; site&nbsp; then enable&nbsp; the debug logs&nbsp; from php ini editor&nbsp; in cPanel&nbsp; ) 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>&nbsp;&nbsp;<\/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&nbsp; 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&nbsp;&nbsp;<\/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":35,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[2342],"class_list":["post-14854","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-howtos","tag-503-error"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\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.co.uk\/hosting-faqs\/how-to-resolve-503-error-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\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.co.uk\/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:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-23T07:52:23+00:00\" \/>\n<meta name=\"author\" content=\"Jackson Lane\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jackson Lane\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated 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\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-resolve-503-error-in-linux\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-resolve-503-error-in-linux\/\",\"name\":\"How to Resolve 503 Error in Linux?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2023-05-23T07:51:32+00:00\",\"dateModified\":\"2023-05-23T07:52:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/1f580bdff0fa81720fae0fd0c3919758\"},\"description\":\"Fix 503 error in Linux operating system of servers with this easy guide.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-resolve-503-error-in-linux\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-resolve-503-error-in-linux\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-resolve-503-error-in-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Resolve 503 Error in Linux?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/1f580bdff0fa81720fae0fd0c3919758\",\"name\":\"Jackson Lane\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/dd43b6ec8f85bdee32ceaac59c48807f?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/dd43b6ec8f85bdee32ceaac59c48807f?s=96&d=blank&r=g\",\"caption\":\"Jackson Lane\"},\"description\":\"I am an experienced Marketing Manager at MilesWeb UK, a leading web hosting company in the UK. With extensive knowledge in web hosting, WordPress, digital marketing, and web development, I'm committed to helping businesses succeed online. His expertise and enthusiasm for the digital world make him a valuable asset in the constantly changing field of online marketing.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/jackson-lane\/\"}]}<\/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.co.uk\/hosting-faqs\/how-to-resolve-503-error-in-linux\/","og_locale":"en_GB","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.co.uk\/hosting-faqs\/how-to-resolve-503-error-in-linux\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2023-05-23T07:51:32+00:00","article_modified_time":"2023-05-23T07:52:23+00:00","author":"Jackson Lane","twitter_misc":{"Written by":"Jackson Lane","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-resolve-503-error-in-linux\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-resolve-503-error-in-linux\/","name":"How to Resolve 503 Error in Linux?","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2023-05-23T07:51:32+00:00","dateModified":"2023-05-23T07:52:23+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/1f580bdff0fa81720fae0fd0c3919758"},"description":"Fix 503 error in Linux operating system of servers with this easy guide.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-resolve-503-error-in-linux\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-resolve-503-error-in-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-resolve-503-error-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Resolve 503 Error in Linux?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/1f580bdff0fa81720fae0fd0c3919758","name":"Jackson Lane","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/dd43b6ec8f85bdee32ceaac59c48807f?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dd43b6ec8f85bdee32ceaac59c48807f?s=96&d=blank&r=g","caption":"Jackson Lane"},"description":"I am an experienced Marketing Manager at MilesWeb UK, a leading web hosting company in the UK. With extensive knowledge in web hosting, WordPress, digital marketing, and web development, I'm committed to helping businesses succeed online. His expertise and enthusiasm for the digital world make him a valuable asset in the constantly changing field of online marketing.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/jackson-lane\/"}]}},"views":108,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=14854"}],"version-history":[{"count":2,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14854\/revisions"}],"predecessor-version":[{"id":14856,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14854\/revisions\/14856"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=14854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=14854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=14854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}