The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
25 views

How to trace TIME_WAIT sessions using tcpdump (or similar tool)

I have a server with large number of TIME_WAIT sessions. These are sessions that the server closed, but the client didn't close. I want to analyze a sample session, to understand what happens there. ...
1
vote
1answer
50 views

High # of sockets in TIME-WAIT state, server unresponsive at load

Our app became unresponsive at high loads, with longer wait times. Process usage was abnormally low (~15% CPU utilisation per process, our app runs on 8 processes). Nginx error log output showed a ...
-2
votes
0answers
27 views

apache 2.2 vs 2.4 TIME_WAIT issue

I'm using apache + tomcat through mod_prody_ajp on windows server - simplest configuration without any tunings. Apache 2.2 could reuse TCP connections when forwarding request to tomcat. Apache 2.4 ...
0
votes
0answers
26 views

Why is Glassfish v3 thrashing JDBC Postgres connections?

I have an application running on Glassfish3 and Postgres. Looking at netstat and lsof there are an excesssive (thousands) of connections to postgres from localhost in TIME_WAIT. My team and I know ...
2
votes
1answer
65 views

Relationship between tcp state TIME_WAIT & HTTP keep-alive

What is the relationship between keep-alive on a HTTP request and a tcp socket in TIME_WAIT - should they be correlated? Furthermore, should system and web server settings be aligned e.g. ...
1
vote
0answers
40 views

periodic connection timeouts to nginx server

We have the following setup: One nginx server as a loadbalancer in front of four worker application servers. The nginx server get about 100 requests per second, sometimes more that that, active ...
5
votes
1answer
630 views

Redis connection issue

We are currently experiencing a lot of Redis errors with the message Unable to connect: read error on connection, trying next server We run Redis on FreeBSD using PHP Redis and we have a hard ...
1
vote
1answer
394 views

Lots of TIME_WAIT from same IP address

I've seen a lot of questions with people concerned about lots of TIME_WAITs in netstat. I'm having a similar problem but all the TIME_WAITs are coming from the same IP address. I get over 200 of the ...
0
votes
1answer
165 views

Limiting outgoing connections by port to control nf_conntrack usage

I would like to make my system more resilient against certain failure. When the system makes rapid outbound TCP connections fail, the nf_conntrack table fills up with TIME_WAIT entries. This ...
0
votes
2answers
288 views

How to diagnose large number of TIME_WAIT connections

We have a production issue with only one of our servers and have correlated slow performance to an abundance of sockets in the TIME_WAIT state. Without drawing this question into a huge backstory, we ...
-1
votes
2answers
8k views

Avoid TIME_WAIT connections [duplicate]

When I use netstat command it shows.. tcp 0 0 localhost:18056 localhost:mysql TIME_WAIT tcp 0 0 localhost:16683 localhost:mysql ...
1
vote
1answer
570 views

How to reduce the timeout for TIME_WAIT connections on OpenBSD?

I'm running http_load on OpenBSD 5.2, to test how good my nginx setup is, and I've noticed that cold runs are much faster than warm runs, and with every run the performance goes down very dramatically ...
0
votes
1answer
154 views

PHP Adodb many sleeping connections

Already asked the question on stackoverflow but i guess this might be a better place for it. I'm currently struggeling with a strange problem: while using adodb as connection layer for php, it leaves ...
0
votes
1answer
267 views

Debian/Apache Server waiting time very slow only with Chrome

I have a website running on a Linux Debian Squeeze server with Apache 2. The website is the only one on the server and the traffic to the website is very low (800-1000 connection per day). The ...
6
votes
1answer
679 views

https lingering TIME_WAIT connections

From my client PC I'm connecting to a webserver, it uses HTTPS only. When I connect I see in TCPView (sysinternals tool alternative to netstat) a lot of TIME_WAIT connections to the https endpoint. ...
1
vote
0answers
379 views

Does TIME_WAIT affect dynamic ports?

I've read a bit about TIME_WAIT connections, and know they should be harmless to my server (connection closed, so no resource connected with this socket). Recently, my server reached the magic ...
1
vote
1answer
349 views

Connection between nginx and Varnish

I am using nginx as reverse proxy with varnish in the background. I have LAMP fueling varnish. The problem I am seeing on Varnish server is that the connection from nginx is getting established ...
1
vote
0answers
643 views

Lots of TIME_WAIT connections with nginx reverse-proxy

I'm using nginx as reverse proxy to redirect some traffic to openfire XMPP server. Here's what I see in netstat: 972 connections to port 80 from outside (includes website and redirected XMPP over ...
3
votes
1answer
106 views

Can a TIME_WAIT connection be restored?

Is it possible to restore a connection that is in state TIME_WAIT? If not, I use raw packets (forgering the source), is it possible? (Please understand that I do not intend to do bad things, it's ...
5
votes
2answers
726 views

Network error with 65k of TIME_WAIT connections

We had some trouble with one of our image servers last week and need some help. See our munin monitoring graph: We are runing debian squeeze and we have lots of requests because this is one of our ...
2
votes
2answers
648 views

TIME_WAIT Info (reduce)

I have a ajax application that makes a request every 3 seconds, the requested page sets the header to (header("Connection: Keep-Alive, close");) then performs a database query and returns the latest ...
0
votes
2answers
704 views

Newly configured MSSQL2008, TIME_WAIT but no ESTABLISHED?

Windows 2008 R2, standard. No firewall locally on it. Newly setup because an old SQL2000 had two disks die (or could it be the raid controller?) at the same time. Luckily, I had fresh backups. The ...