node-proxywrap icon indicating copy to clipboard operation
node-proxywrap copied to clipboard

Sockets are leaking

Open jaslo opened this issue 11 years ago • 3 comments

Sockets are leaking when I set up servers using proxywrap -- eventually my server fails with messages of "Error: accept EMFILE". And I could see the growth of the open sockets in /proc/id/fd

jaslo avatar Aug 18 '14 23:08 jaslo

I will look in to this, but probably won't have time within the next couple of weeks. In the meantime, any additional information/test cases/debug dumps would be useful.

What version of node and Linux?

daguej avatar Aug 19 '14 00:08 daguej

node 10.29 ubuntu 13.10

When I remove the proxywrap and just use an http server, the leaks go away!

On Mon, Aug 18, 2014 at 5:04 PM, Josh Dague [email protected] wrote:

I will look in to this, but probably won't have time within the next couple of weeks. In the meantime, any additional information/test cases/debug dumps would be useful.

What version of node and Linux?

— Reply to this email directly or view it on GitHub https://github.com/daguej/node-proxywrap/issues/9#issuecomment-52573787.

jaslo avatar Aug 19 '14 00:08 jaslo

@daguej, i've created a fork of node-proxywrap here, we have to maintain the repos we use if they are without recent activity.

@jaslo could you provide a test unit on findhit-proxywrap so we can solve this issue?

cusspvz avatar Sep 08 '14 14:09 cusspvz