开发者

Many TCP connections at CLOSE_WAIT state on Google Analytics IP address

开发者 https://www.devze.com 2023-03-02 00:44 出处:网络
I have added Google Analytics script to my website (ASP.NET on Windows server 2008 R2) pages. I was monitoring TCP connections on the server and accidentally find out that there are hundreds of TCP co

I have added Google Analytics script to my website (ASP.NET on Windows server 2008 R2) pages. I was monitoring TCP connections on the server and accidentally find out that there are hundreds of TCP connections at CLOSE_WAIT state. I checked the remote address and the reomte port was 80 (http). There was a blank screen and the view source shows you Go开发者_C百科ogle analytics javascript code.

What's wrong here? Why there are hundreds of TCP connections frozen at CLOSE_WAIT at those addresses with Google Analytic code?


CLOSE_WAIT is the TCP state when the remote side has closed the connection but the local application has not. Google's service has done it's work but your browser/whatever is not doing its part. This could be a problem with the application or the Javascript it's executing.

Given that you have hundreds, they've probably accumulated over viewing many web pages. Restarting the browser should clear them. If they keep accumulating, see if it is only that particular browser and report a bug (to either Google or the browser author, or both).

0

精彩评论

暂无评论...
验证码 换一张
取 消