simplehttp
simplehttp copied to clipboard
pubsub leaves many file descriptors open
I have a pubsub instance not doing much and using 28135 connections, 573 of which are TCP and 27496 of which are (according to lsof):
pubsub 3392 root *462u sock 0,5 0t0 36281617 can't identify protocol
where the 462 is incrementing.
I think this is related to the HTTP/1.1 issue; when the HTTP/1.1 client goes away, that fd is never cleaned up. #44
#44 was fixed with a patch to libevent-1.4.14b, I still need to see if that also fixes this