vidi-insights / vidi-dashboard

A dashboard app
MIT License
13 stars 11 forks source link

not closing up connections properly #130

Closed mcollina closed 8 years ago

mcollina commented 8 years ago

Error: bind EMFILE 0.0.0.0 at Object.exports._errnoException (util.js:870:11) at exports._exceptionWithHostPort (util.js:893:20) at dgram.js:213:18 at doNTCallback3 (node.js:452:9) at process._tickDomainCallback (node.js:399:17)

Under load wrk -c 1000 -d 10 http://localhost:3000/

mcdonnelldean commented 8 years ago

I'll need to do a review of Vidi: Metrics with you @mcollina to resolve this stuff.

mcollina commented 8 years ago

Sure thing, can you point me to the relevant module? I'll have a look

mcdonnelldean commented 8 years ago

@mcollina Yup,

This is the one, https://github.com/vidi-insights/vidi-metrics/blob/master/vidi-metrics.js

mcdonnelldean commented 8 years ago

@mcollina I think this came from Toolbag, updated to 0.8.0. The JSON circular is also from Toolbag :(