{"id":2596,"date":"2020-12-07T06:44:59","date_gmt":"2020-12-07T06:44:59","guid":{"rendered":"https:\/\/ubiq.co\/tech-blog\/?p=2596"},"modified":"2025-08-29T04:37:16","modified_gmt":"2025-08-29T04:37:16","slug":"how-to-fix-nginx-worker-connections-are-not-enough","status":"publish","type":"post","link":"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/","title":{"rendered":"How to fix NGINX : worker connections are not enough"},"content":{"rendered":"\n<p>NGINX is a popular web server used by many high traffic websites and apps. It is capable of handling a large number of concurrent connections. Still sometimes you may get an error &#8220;worker connections are not enough&#8221; in NGINX. In this article, we will look at how to fix NGINX: worker connections are not enough error.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/#How_many_connections_can_NGINX_handle\" >How many connections can NGINX handle?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/#Why_You_Get_This_Error\" >Why You Get This Error?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/#How_to_fix_NGINX_worker_connections_are_not_enough\" >How to fix NGINX : worker connections are not enough<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/#1_Open_NGINX_configuration\" >1. Open NGINX configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/#2_Increase_Worker_Connections\" >2. Increase Worker Connections<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/#3_Restart_NGINX_Server\" >3. Restart NGINX Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_many_connections_can_NGINX_handle\"><\/span>How many connections can NGINX handle?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Each NGINX worker can handle a maximum of 512 concurrent connections. In newer versions, NGINX supports up to 1024 concurrent connections, by default. However, most systems can handle more. Nevertheless, this configuration is sufficient for most websites. However, if your website gets too many visitors or if NGINX is not properly configured then you may get a &#8220;worker connections not enough&#8221; error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_You_Get_This_Error\"><\/span>Why You Get This Error?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>There are a few reasons why your users may get &#8216;worker connections are not enough&#8217; error. Let us look at some of them:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Faulty Configuration<\/strong> : One of the most common ones is that your NGINX server is unable to handle number of incoming connections and you need to increase this limit. We will look at how to solve this problem in this article.<\/li>\n\n\n\n<li><strong>Redirect Loops<\/strong> : You may also get this error if there is an infinite redirect loop that keeps hitting your server with new redirect requests thereby crossing the connection limit.<\/li>\n\n\n\n<li><strong>Faulty Code<\/strong> : If there is a bug in your code, it may result in too many requests being sent to your server. Such issues can be present on your client side as well as server side.<\/li>\n\n\n\n<li><strong>DOS\/DDOS Attack<\/strong>: In this case, a malicious attacker or bot may keep sending too many requests to your server thereby causing this problem. In this case, you need to identify the IP or group of IPs sending so many requests and update your firewall to block them right away.<\/li>\n\n\n\n<li><strong>XSS Attack<\/strong> : XSS attack is when a malicious piece of code has been inserted into your database via form inputs such as textboxes. When this value is retrieved from your database and run client side, it may send too many requests to your server, causing this problem. In this case, make sure you validate form inputs before storing them in database.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_fix_NGINX_worker_connections_are_not_enough\"><\/span>How to fix NGINX : worker connections are not enough<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To fix this problem, you will need to update the worker_connections directive in your NGINX server configuration. Here are the steps to fix worker connections are not enough error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Open_NGINX_configuration\"><\/span>1. Open NGINX configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Open terminal and run the following command to open NGINX configuration file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo vi \/etc\/nginx\/nginx.conf<\/pre>\n\n\n\n<p>If you have configured separate virtual hosts for your website (e.g <em>www.example.com<\/em>), such as <em>\/etc\/nginx\/sites-enabled\/example.conf<\/em> then open its configuration with the following command<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo vi&nbsp;\/etc\/nginx\/sites-enabled\/example.conf<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Increase_Worker_Connections\"><\/span>2. Increase Worker Connections<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Add the following <em>events<\/em> block with <em><a href=\"http:\/\/nginx.org\/en\/docs\/ngx_core_module.html#worker_connections\" target=\"_blank\" rel=\"noreferrer noopener\">worker_connections<\/a><\/em> directive to increase the number of worker connections to 2048. You can increase this number if you want. worker_connections determines the maximum number of connections to be supported by your server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">events {\n...\n   worker_connections 2048;\n...\n}<\/pre>\n\n\n\n<p>Please note, the number of workers are limited by the amount of memory available on your server. Also, as the number of workers increase, so will the memory consumption of NGINX server.<\/p>\n\n\n\n<p>Alternatively, you can also try to <a href=\"https:\/\/ubiq.co\/tech-blog\/how-to-limit-download-speed-in-nginx\/\">limit the number of requests<\/a> processes by NGINX server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Restart_NGINX_Server\"><\/span>3. Restart NGINX Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Finally, run the following command to check syntax of your updated config file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo nginx -t<\/pre>\n\n\n\n<p>If there are no errors, run the following command to restart NGINX server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo service nginx reload #debian\/ubuntu\n$ systemctl restart nginx #redhat\/centos<\/pre>\n\n\n\n<p>If you happen to get this error, it is advisable to thoroughly check the server configuration, before increasing the number of worker connections. The default value of <em>worker_connections<\/em> directive is enough for most websites.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this article, we have learnt how to fix &#8216;too many connections&#8217; error in NGINX server. You can do this by simply modifying worker_connection server directive in NGINX configuration. But the default connection limit is more than enough to handle most of the websites and apps. Unless your website is getting seriously high traffic, it is advisable to check your server configuration first for any problems. If that looks fine, go through your server logs and find out the request URL(s) causing this problem. Once you identified them, check their client code as well as server code to see if there are any bugs while requesting these URLs from front end, or while processing them at back end.<\/p>\n\n\n\n<p><a href=\"http:\/\/ubiq.co\/\">Ubiq<\/a>&nbsp;makes it easy to visualize data in minutes, and monitor in real-time dashboards.&nbsp;<a href=\"http:\/\/ubiq.co\/accounts\/register\">Try it<\/a> today!<\/p>\n\n\n\n<p>Also read<br><a href=\"https:\/\/ubiq.co\/tech-blog\/how-to-enable-http2-in-nginx\/\">How to Enable HTTP\/2 in NGINX<\/a><br><a href=\"https:\/\/ubiq.co\/tech-blog\/how-to-disable-etag-in-nginx\/\">How to Disable ETag in NGINX<\/a><br><a href=\"https:\/\/ubiq.co\/tech-blog\/apache-restrict-access-to-url-by-ip\/\">Apache Restrict URL By IP<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is How to fix NGINX worker connections are not enough error for your website.<\/p>\n","protected":false},"author":1,"featured_media":2605,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[256],"class_list":["post-2596","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nginx","tag-worker-connections"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to fix NGINX : worker connections are not enough - Ubiq BI<\/title>\n<meta name=\"description\" content=\"Here is How to fix NGINX worker connections are not enough error for your website. Increase worker connections beyond default 512 connections.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to fix NGINX : worker connections are not enough - Ubiq BI\" \/>\n<meta property=\"og:description\" content=\"Here is How to fix NGINX worker connections are not enough error for your website. Increase worker connections beyond default 512 connections.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/\" \/>\n<meta property=\"og:site_name\" content=\"Ubiq BI\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ubiqbi\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-07T06:44:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-29T04:37:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/12\/nginx-increase-worker-connections.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sreeram Sreenivasan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@UbiqBI\" \/>\n<meta name=\"twitter:site\" content=\"@UbiqBI\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sreeram Sreenivasan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-fix-nginx-worker-connections-are-not-enough\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-fix-nginx-worker-connections-are-not-enough\\\/\"},\"author\":{\"name\":\"Sreeram Sreenivasan\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#\\\/schema\\\/person\\\/db98d49a766a3a111d8510935ab90abc\"},\"headline\":\"How to fix NGINX : worker connections are not enough\",\"datePublished\":\"2020-12-07T06:44:59+00:00\",\"dateModified\":\"2025-08-29T04:37:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-fix-nginx-worker-connections-are-not-enough\\\/\"},\"wordCount\":771,\"image\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-fix-nginx-worker-connections-are-not-enough\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/ubiq.co\\\/tech-blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/nginx-increase-worker-connections.png?fit=1280%2C720&ssl=1\",\"keywords\":[\"worker connections\"],\"articleSection\":[\"Nginx\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-fix-nginx-worker-connections-are-not-enough\\\/\",\"url\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-fix-nginx-worker-connections-are-not-enough\\\/\",\"name\":\"How to fix NGINX : worker connections are not enough - Ubiq BI\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-fix-nginx-worker-connections-are-not-enough\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-fix-nginx-worker-connections-are-not-enough\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/ubiq.co\\\/tech-blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/nginx-increase-worker-connections.png?fit=1280%2C720&ssl=1\",\"datePublished\":\"2020-12-07T06:44:59+00:00\",\"dateModified\":\"2025-08-29T04:37:16+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#\\\/schema\\\/person\\\/db98d49a766a3a111d8510935ab90abc\"},\"description\":\"Here is How to fix NGINX worker connections are not enough error for your website. Increase worker connections beyond default 512 connections.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-fix-nginx-worker-connections-are-not-enough\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-fix-nginx-worker-connections-are-not-enough\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-fix-nginx-worker-connections-are-not-enough\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/ubiq.co\\\/tech-blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/nginx-increase-worker-connections.png?fit=1280%2C720&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/ubiq.co\\\/tech-blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/nginx-increase-worker-connections.png?fit=1280%2C720&ssl=1\",\"width\":1280,\"height\":720,\"caption\":\"nginx worker connections are not enough\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/how-to-fix-nginx-worker-connections-are-not-enough\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to fix NGINX : worker connections are not enough\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/\",\"name\":\"Ubiq BI\",\"description\":\"Build dashboards &amp; reports in minutes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#\\\/schema\\\/person\\\/db98d49a766a3a111d8510935ab90abc\",\"name\":\"Sreeram Sreenivasan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"caption\":\"Sreeram Sreenivasan\"},\"description\":\"Sreeram Sreenivasan is the Founder of Ubiq. He has helped many Fortune 500 companies in the areas of BI &amp; software development.\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/sreeram-sreenivasan\\\/\"],\"url\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/author\\\/wordpress\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to fix NGINX : worker connections are not enough - Ubiq BI","description":"Here is How to fix NGINX worker connections are not enough error for your website. Increase worker connections beyond default 512 connections.","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:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/","og_locale":"en_US","og_type":"article","og_title":"How to fix NGINX : worker connections are not enough - Ubiq BI","og_description":"Here is How to fix NGINX worker connections are not enough error for your website. Increase worker connections beyond default 512 connections.","og_url":"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/","og_site_name":"Ubiq BI","article_publisher":"https:\/\/www.facebook.com\/ubiqbi","article_published_time":"2020-12-07T06:44:59+00:00","article_modified_time":"2025-08-29T04:37:16+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/12\/nginx-increase-worker-connections.png","type":"image\/png"}],"author":"Sreeram Sreenivasan","twitter_card":"summary_large_image","twitter_creator":"@UbiqBI","twitter_site":"@UbiqBI","twitter_misc":{"Written by":"Sreeram Sreenivasan","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/#article","isPartOf":{"@id":"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/"},"author":{"name":"Sreeram Sreenivasan","@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc"},"headline":"How to fix NGINX : worker connections are not enough","datePublished":"2020-12-07T06:44:59+00:00","dateModified":"2025-08-29T04:37:16+00:00","mainEntityOfPage":{"@id":"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/"},"wordCount":771,"image":{"@id":"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/12\/nginx-increase-worker-connections.png?fit=1280%2C720&ssl=1","keywords":["worker connections"],"articleSection":["Nginx"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/","url":"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/","name":"How to fix NGINX : worker connections are not enough - Ubiq BI","isPartOf":{"@id":"https:\/\/ubiq.co\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/#primaryimage"},"image":{"@id":"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/12\/nginx-increase-worker-connections.png?fit=1280%2C720&ssl=1","datePublished":"2020-12-07T06:44:59+00:00","dateModified":"2025-08-29T04:37:16+00:00","author":{"@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc"},"description":"Here is How to fix NGINX worker connections are not enough error for your website. Increase worker connections beyond default 512 connections.","breadcrumb":{"@id":"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/#primaryimage","url":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/12\/nginx-increase-worker-connections.png?fit=1280%2C720&ssl=1","contentUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/12\/nginx-increase-worker-connections.png?fit=1280%2C720&ssl=1","width":1280,"height":720,"caption":"nginx worker connections are not enough"},{"@type":"BreadcrumbList","@id":"https:\/\/ubiq.co\/tech-blog\/how-to-fix-nginx-worker-connections-are-not-enough\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ubiq.co\/tech-blog\/"},{"@type":"ListItem","position":2,"name":"How to fix NGINX : worker connections are not enough"}]},{"@type":"WebSite","@id":"https:\/\/ubiq.co\/tech-blog\/#website","url":"https:\/\/ubiq.co\/tech-blog\/","name":"Ubiq BI","description":"Build dashboards &amp; reports in minutes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ubiq.co\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc","name":"Sreeram Sreenivasan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","caption":"Sreeram Sreenivasan"},"description":"Sreeram Sreenivasan is the Founder of Ubiq. He has helped many Fortune 500 companies in the areas of BI &amp; software development.","sameAs":["https:\/\/www.linkedin.com\/in\/sreeram-sreenivasan\/"],"url":"https:\/\/ubiq.co\/tech-blog\/author\/wordpress\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2020\/12\/nginx-increase-worker-connections.png?fit=1280%2C720&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/pbGGTT-FS","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/2596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/comments?post=2596"}],"version-history":[{"count":15,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/2596\/revisions"}],"predecessor-version":[{"id":9340,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/2596\/revisions\/9340"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/media\/2605"}],"wp:attachment":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/media?parent=2596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/categories?post=2596"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/tags?post=2596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}