# Proxy pass and TIME\_WAIT states

**URL:** <https://www.ruby-forum.com/t/proxy-pass-and-time-wait-states/162244>\
**Category:** NGINX\
**Created:** [March 7, 2009, 12:35pm UTC](https://www.ruby-forum.com/t/proxy-pass-and-time-wait-states/162244 "2009-03-07T12:35:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnSSSSl\_SSSSSetin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/50afbb/32.png) [@AnSSSSl\_SSSSSetin](https://www.ruby-forum.com/u/AnSSSSl_SSSSSetin)\
**Post date:** [March 7, 2009, 12:35pm UTC](https://www.ruby-forum.com/t/proxy-pass-and-time-wait-states/162244/1 "2009-03-07T12:35:48Z")

</div>

Hi all  
I am running nginx as a proxy server to apache, on 3 of my production  
servers. In all servers there becomes thousands of connections that are  
in state of “TIME\_WAIT” . I know that, a tcp connection in TIME\_WAIT  
state can be reused, so, will kernel/nginx use them or are the  
connections useless to kernel/nginx?

Sometimes kernel is saying “TCP: time wait bucket table overflow” ,  
means there is so much connections in state TIME\_WAIT that I cant handle  
it. What is the effects of this? Will it reject new connections or begin  
to use connections in TIME\_WAIT state rather than making a new  
connection?

Note: Apache’s keepalive is off
