{"action":"created","issue":{"url":"https://api.github.com/repos/tuxnsk/nodejs_libmodbus/issues/18","labels_url":"https://api.github.com/repos/tuxnsk/nodejs_libmodbus/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/tuxnsk/nodejs_libmodbus/issues/18/comments","events_url":"https://api.github.com/repos/tuxnsk/nodejs_libmodbus/issues/18/events","html_url":"https://github.com/tuxnsk/nodejs_libmodbus/issues/18","id":71363317,"number":18,"title":"ERROR Can't create pipe (Too many open files)","user":{"login":"jmutanen","id":12141312,"avatar_url":"https://avatars.githubusercontent.com/u/12141312?v=3","gravatar_id":"","url":"https://api.github.com/users/jmutanen","html_url":"https://github.com/jmutanen","followers_url":"https://api.github.com/users/jmutanen/followers","following_url":"https://api.github.com/users/jmutanen/following{/other_user}","gists_url":"https://api.github.com/users/jmutanen/gists{/gist_id}","starred_url":"https://api.github.com/users/jmutanen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmutanen/subscriptions","organizations_url":"https://api.github.com/users/jmutanen/orgs","repos_url":"https://api.github.com/users/jmutanen/repos","events_url":"https://api.github.com/users/jmutanen/events{/privacy}","received_events_url":"https://api.github.com/users/jmutanen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-27T18:22:45Z","updated_at":"2015-06-04T20:19:30Z","closed_at":null,"body":"When I run modbus example (Creating master device) multiple times in a row on my Raspberry Pi I got finally an error while creating new master context:\r\n\r\nERROR Can't create pipe (Too many open files)\r\n\r\nI use createConRtu for con. It looks like some resources are not freed in the close or free functions?\r\n\r\nhttps://www.npmjs.com/package/modbus#creating-master-device-client"},"comment":{"url":"https://api.github.com/repos/tuxnsk/nodejs_libmodbus/issues/comments/109036309","html_url":"https://github.com/tuxnsk/nodejs_libmodbus/issues/18#issuecomment-109036309","issue_url":"https://api.github.com/repos/tuxnsk/nodejs_libmodbus/issues/18","id":109036309,"user":{"login":"jmutanen","id":12141312,"avatar_url":"https://avatars.githubusercontent.com/u/12141312?v=3","gravatar_id":"","url":"https://api.github.com/users/jmutanen","html_url":"https://github.com/jmutanen","followers_url":"https://api.github.com/users/jmutanen/followers","following_url":"https://api.github.com/users/jmutanen/following{/other_user}","gists_url":"https://api.github.com/users/jmutanen/gists{/gist_id}","starred_url":"https://api.github.com/users/jmutanen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmutanen/subscriptions","organizations_url":"https://api.github.com/users/jmutanen/orgs","repos_url":"https://api.github.com/users/jmutanen/repos","events_url":"https://api.github.com/users/jmutanen/events{/privacy}","received_events_url":"https://api.github.com/users/jmutanen/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T20:19:30Z","updated_at":"2015-06-04T20:19:30Z","body":"Hi,\r\n\r\nDid you build the package with node-gyp?\r\n\r\n./make_libmodbus.sh && node-gyp configure && node-gyp build\r\n\r\nCheers,\r\n -Jussi"}}