{"action":"closed","issue":{"url":"https://api.github.com/repos/PowerDNS/pdns/issues/2937","labels_url":"https://api.github.com/repos/PowerDNS/pdns/issues/2937/labels{/name}","comments_url":"https://api.github.com/repos/PowerDNS/pdns/issues/2937/comments","events_url":"https://api.github.com/repos/PowerDNS/pdns/issues/2937/events","html_url":"https://github.com/PowerDNS/pdns/issues/2937","id":119059745,"number":2937,"title":"recursor 3.7.x branch probably messes up reporting EMFILE","user":{"login":"ahupowerdns","id":1223657,"avatar_url":"https://avatars.githubusercontent.com/u/1223657?v=3","gravatar_id":"","url":"https://api.github.com/users/ahupowerdns","html_url":"https://github.com/ahupowerdns","followers_url":"https://api.github.com/users/ahupowerdns/followers","following_url":"https://api.github.com/users/ahupowerdns/following{/other_user}","gists_url":"https://api.github.com/users/ahupowerdns/gists{/gist_id}","starred_url":"https://api.github.com/users/ahupowerdns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahupowerdns/subscriptions","organizations_url":"https://api.github.com/users/ahupowerdns/orgs","repos_url":"https://api.github.com/users/ahupowerdns/repos","events_url":"https://api.github.com/users/ahupowerdns/events{/privacy}","received_events_url":"https://api.github.com/users/ahupowerdns/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PowerDNS/pdns/labels/defect","name":"defect","color":"cccccc"},{"url":"https://api.github.com/repos/PowerDNS/pdns/labels/rec","name":"rec","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"Habbie","id":525838,"avatar_url":"https://avatars.githubusercontent.com/u/525838?v=3","gravatar_id":"","url":"https://api.github.com/users/Habbie","html_url":"https://github.com/Habbie","followers_url":"https://api.github.com/users/Habbie/followers","following_url":"https://api.github.com/users/Habbie/following{/other_user}","gists_url":"https://api.github.com/users/Habbie/gists{/gist_id}","starred_url":"https://api.github.com/users/Habbie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Habbie/subscriptions","organizations_url":"https://api.github.com/users/Habbie/orgs","repos_url":"https://api.github.com/users/Habbie/repos","events_url":"https://api.github.com/users/Habbie/events{/privacy}","received_events_url":"https://api.github.com/users/Habbie/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-26T14:59:13Z","updated_at":"2015-12-08T13:00:58Z","closed_at":"2015-12-08T13:00:58Z","body":"```  \r\n// returning -1 means: temporary OS error (ie, out of files), -2 means OS error\r\n  int getSocket(const ComboAddress& toaddr, int* fd)\r\n  {\r\n```\r\nHowever - lwres.cc thinks -1 is an error to be blamed on toaddr. This means EMFILE cause throttling!\r\n\r\nFixed in 4.0, this bug looks like it is present in 3.7.x as well."}}