Using a web browser (xxxterm) with WebKitGTK 1.4.1, nearly all connections result in CLOSE_WAIT eating up all available file descriptors. It seems the server does a close(), but WebKit fails to close() the socket. I have also tried compiling webkitgtk with --enable-web-sockets=no, but that provided no change.
I also tested webkit 1.4.1 with midori. The same issue exists; lots of CLOSE_WAITs.
I tried this with 1.4.2 and see the same results. Disabling web sockets does seem to remove the CLOSE_WAITs and seems to recycle file descriptors quicker. Anyone looking at this?
This bug is for a very old WebKitGTK, from the WebKit1 days. We are using WebKit2 and the libsoup minimum version required now is much newer -- I expect this is no longer an issue, but feel free to reopen if needed. =]