{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/3380","labels_url":"https://api.github.com/repos/nodejs/node/issues/3380/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/3380/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/3380/events","html_url":"https://github.com/nodejs/node/issues/3380","id":111584964,"number":3380,"title":"Failture requests ","user":{"login":"ilfroloff","id":2785744,"avatar_url":"https://avatars.githubusercontent.com/u/2785744?v=3","gravatar_id":"","url":"https://api.github.com/users/ilfroloff","html_url":"https://github.com/ilfroloff","followers_url":"https://api.github.com/users/ilfroloff/followers","following_url":"https://api.github.com/users/ilfroloff/following{/other_user}","gists_url":"https://api.github.com/users/ilfroloff/gists{/gist_id}","starred_url":"https://api.github.com/users/ilfroloff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilfroloff/subscriptions","organizations_url":"https://api.github.com/users/ilfroloff/orgs","repos_url":"https://api.github.com/users/ilfroloff/repos","events_url":"https://api.github.com/users/ilfroloff/events{/privacy}","received_events_url":"https://api.github.com/users/ilfroloff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-15T10:06:31Z","updated_at":"2015-10-15T17:34:19Z","closed_at":null,"body":"Hello everyone.\r\nI have application build in nodejs v4.1.0 and app requests some urls (using `request` module). It works well (after application restart) but after few days of usage, it starts to return errors:\r\n```\r\ngetaddrinfo EAI_AGAIN remote.domain:8080 Error: getaddrinfo EAI_AGAIN remote.domain:8080\r\n    at Object.exports._errnoException (util.js:837:11)\r\n    at errnoException (dns.js:30:15)\r\n    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)\r\n```\r\nand\r\n```\r\nError: connect EMFILE 10.57.40.160:8983 - Local (undefined:undefined)\r\n    at Object.exports._errnoException (util.js:837:11)\r\n    at exports._exceptionWithHostPort (util.js:860:20)\r\n    at connect (net.js:838:14)\r\n    at net.js:934:9\r\n    at doNTCallback0 (node.js:407:9)\r\n    at process._tickDomainCallback (node.js:377:13)\r\n```\r\nI cannot find any keys to resolve the problem.\r\n\r\n```\r\nCentOS: v6.2;\r\nNodeJS: v4.1.0\r\n```"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/148467393","html_url":"https://github.com/nodejs/node/issues/3380#issuecomment-148467393","issue_url":"https://api.github.com/repos/nodejs/node/issues/3380","id":148467393,"user":{"login":"seishun","id":988441,"avatar_url":"https://avatars.githubusercontent.com/u/988441?v=3","gravatar_id":"","url":"https://api.github.com/users/seishun","html_url":"https://github.com/seishun","followers_url":"https://api.github.com/users/seishun/followers","following_url":"https://api.github.com/users/seishun/following{/other_user}","gists_url":"https://api.github.com/users/seishun/gists{/gist_id}","starred_url":"https://api.github.com/users/seishun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seishun/subscriptions","organizations_url":"https://api.github.com/users/seishun/orgs","repos_url":"https://api.github.com/users/seishun/repos","events_url":"https://api.github.com/users/seishun/events{/privacy}","received_events_url":"https://api.github.com/users/seishun/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T17:34:19Z","updated_at":"2015-10-15T17:34:19Z","body":">I don't think this is really a issue in node, but your application.\r\n\r\nOr in request. Could you try to reduce your code to a minimal test case?"}}