I am working on a high volume (7-10k reqs/sec) http application that is at
times getting overwhelmed with occasional traffic spikes during peak
traffic times. When this happens, the number of CLOSE_WAIT connections
grows into the 10s of thousands, Reducing tcp kernel timeouts helps
recovery, but right now I am totally reactive and using linux command line
tools to monitor. I would like to detect this situation in the application
where I can remediate. Is there a way to hook into the tcp state
transitions in the app? RIght now I start a http ServerMux using
ListenAndServe(). Do I need to roll my own? Any tips or links to docs would
be appreciated.

Thanks in advance!

You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 4 | next ›
Discussion Overview
groupgolang-nuts @
postedNov 2, '13 at 7:24a
activeNov 2, '13 at 7:45a

2 users in discussion

Dave Cheney: 2 posts Karim Nassar: 2 posts



site design / logo © 2022 Grokbase