# Worker\_connections is not enough while connecting to upstream

**URL:** <https://www.ruby-forum.com/t/worker-connections-is-not-enough-while-connecting-to-upstream/141306>\
**Category:** NGINX\
**Created:** [June 24, 2008, 4:09pm UTC](https://www.ruby-forum.com/t/worker-connections-is-not-enough-while-connecting-to-upstream/141306 "2008-06-24T16:09:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alanwatts](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ad7895/32.png) [@alanwatts](https://www.ruby-forum.com/u/alanwatts)\
**Post date:** [June 24, 2008, 4:09pm UTC](https://www.ruby-forum.com/t/worker-connections-is-not-enough-while-connecting-to-upstream/141306/1 "2008-06-24T16:09:22Z")

</div>

we are getting a ton of these in our error.log

1024 worker\_connections is not enough while connecting to upstream

what is this a sign of?

---

<div class="post-metadata">

**Author:** ![alanwatts](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ad7895/32.png) [@alanwatts](https://www.ruby-forum.com/u/alanwatts)\
**Post date:** [June 24, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/worker-connections-is-not-enough-while-connecting-to-upstream/141306/2 "2008-06-24T16:28:07Z")

</div>

On Tue, Jun 24, 2008 at 03:00:09PM +0100, Alan W. wrote:

> we are getting a ton of these in our error.log
> 
> 1024 worker\_connections is not enough while connecting to upstream
> 
> what is this a sign of?

You need to increase worker\_connections:

events {  
worker\_connections 10240;  
}

---

<div class="post-metadata">

**Author:** ![alanwatts](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ad7895/32.png) [@alanwatts](https://www.ruby-forum.com/u/alanwatts)\
**Post date:** [June 14, 2009, 7:16am UTC](https://www.ruby-forum.com/t/worker-connections-is-not-enough-while-connecting-to-upstream/141306/3 "2009-06-14T07:16:35Z")

</div>

same here  
what number should we pick for this  
thanks

2008/6/24 Igor S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![alanwatts](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ad7895/32.png) [@alanwatts](https://www.ruby-forum.com/u/alanwatts)\
**Post date:** [June 14, 2009, 12:20pm UTC](https://www.ruby-forum.com/t/worker-connections-is-not-enough-while-connecting-to-upstream/141306/4 "2009-06-14T12:20:49Z")

</div>

On Sat, Jun 13, 2009 at 10:05:29PM -0700, removed\_email\_address@domain.invalid  
wrote:

> same here  
> what number should we pick for this  
> thanks

Any: 10000, 100000, 1000000.
