question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to change nginx worker_connections

See original GitHub issue

the nginx worker_connections default is 1024

nginx.1    | 2021/02/23 14:52:05 [alert] 63#63: 1024 worker_connections are not enough
nginx.1    | 2021/02/23 14:52:05 [alert] 63#63: *15590 1024 worker_connections are not enough while connecting to upstream, ******

access my site will be server error(code 500)😭

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
zoderncommented, Feb 23, 2021

I created https://github.com/zodern/nginx-proxy to increase the limit. The next version of mup will include this.

0reactions
zoderncommented, Sep 20, 2021

This is fixed in version 1.5.4.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Optimal value for Nginx worker_connections - Server Fault
nginx default is 512 connections per worker. There might be more: SELinux, sysctl, supervisord (each distro+version is slightly different). 1k ...
Read more >
What are worker_connections in Nginx - Linux Hint
The number of worker_processes in Nginx is set to one by default. Executing one worker process per CPU core works perfectly, and we...
Read more >
what is worker_processes and worker_connections in Nginx?
Each worker process can open by default 512 connections. You can change this limit by worker_connections <no> .
Read more >
Tuning NGINX for Performance
worker_connections – The maximum number of connections that each worker process can handle simultaneously. The default is 512, but most systems ...
Read more >
How To Optimize Nginx Configuration - DigitalOcean
The worker_connections command tells our worker processes how many people can simultaneously be served by Nginx. The default value is 768; ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found