Closed devasmith closed 1 year ago
I will try to investigate this issue and returns later
Judging by the picture, this code from https://github.com/criteo/haproxy-spoe-go library. But I found some porential leaks in my library) thanks. It will fixed soon
Filed https://github.com/criteo/haproxy-spoe-go/issues/39 as I ran into the same issue with https://github.com/criteo/haproxy-spoe-go
Hi. We are using coraza-spoa which is using this library. Notices that this service is gradually increasing it's memory usage. This service is now enabled on a site that has a lot of incoming requests to process.
Took out a pprof file and a graph of the memory consumption.
Together with this memory usage we notice this:
level=warning msg="spoe: error handling connection: disconnect error: I/O error"
Not sure if this is connected to haproxy-spoe-go or something else but that causes a lot of the requests to not be processed correctly (Failed to parse request body).
Any clue on how we can troubleshoot this further?