- Community aggregator
- Country: United States
One Laptop Sending Headers Slowly Took Your Go Server Down
The stock service was a small Go binary. Fast. Simple. One line started it: http.ListenAndServe(":8080", mux) It ran for two years. Then one afternoon it stopped answering. CPU was low. Memory was fine. The log said http: Accept error, too many open files. Here is the mechanism. Someone had opened…