Please read the section about timeouts in https://blog.cloudflare.com/exposing-go-on-the-internet/ very carefully. This should explain your file descriptor issues. The broken pipe and connection resets are probably clients that closed connections because of timeouts on their side, which may a hint that you have performance issues on the server. You should load test your development server before rollout to production. Apache JMeter or Selenium that are popular with Java developers. Go has Vegeta, but I have never used it.
-- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/26bad74d-a99b-46bc-9dd7-798b864e96fa%40googlegroups.com.