{"action":"created","issue":{"url":"https://api.github.com/repos/getlantern/lantern/issues/3987","repository_url":"https://api.github.com/repos/getlantern/lantern","labels_url":"https://api.github.com/repos/getlantern/lantern/issues/3987/labels{/name}","comments_url":"https://api.github.com/repos/getlantern/lantern/issues/3987/comments","events_url":"https://api.github.com/repos/getlantern/lantern/issues/3987/events","html_url":"https://github.com/getlantern/lantern/issues/3987","id":148810528,"number":3987,"title":"Too many open files on pages with a lot of links","user":{"login":"myleshorton","id":1143966,"avatar_url":"https://avatars.githubusercontent.com/u/1143966?v=3","gravatar_id":"","url":"https://api.github.com/users/myleshorton","html_url":"https://github.com/myleshorton","followers_url":"https://api.github.com/users/myleshorton/followers","following_url":"https://api.github.com/users/myleshorton/following{/other_user}","gists_url":"https://api.github.com/users/myleshorton/gists{/gist_id}","starred_url":"https://api.github.com/users/myleshorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myleshorton/subscriptions","organizations_url":"https://api.github.com/users/myleshorton/orgs","repos_url":"https://api.github.com/users/myleshorton/repos","events_url":"https://api.github.com/users/myleshorton/events{/privacy}","received_events_url":"https://api.github.com/users/myleshorton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/getlantern/lantern/labels/P1","name":"P1","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"oxtoacart","id":5000654,"avatar_url":"https://avatars.githubusercontent.com/u/5000654?v=3","gravatar_id":"","url":"https://api.github.com/users/oxtoacart","html_url":"https://github.com/oxtoacart","followers_url":"https://api.github.com/users/oxtoacart/followers","following_url":"https://api.github.com/users/oxtoacart/following{/other_user}","gists_url":"https://api.github.com/users/oxtoacart/gists{/gist_id}","starred_url":"https://api.github.com/users/oxtoacart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxtoacart/subscriptions","organizations_url":"https://api.github.com/users/oxtoacart/orgs","repos_url":"https://api.github.com/users/oxtoacart/repos","events_url":"https://api.github.com/users/oxtoacart/events{/privacy}","received_events_url":"https://api.github.com/users/oxtoacart/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/getlantern/lantern/milestones/104","html_url":"https://github.com/getlantern/lantern/milestones/2.2.1","labels_url":"https://api.github.com/repos/getlantern/lantern/milestones/104/labels","id":1340801,"number":104,"title":"2.2.1","description":"","creator":{"login":"myleshorton","id":1143966,"avatar_url":"https://avatars.githubusercontent.com/u/1143966?v=3","gravatar_id":"","url":"https://api.github.com/users/myleshorton","html_url":"https://github.com/myleshorton","followers_url":"https://api.github.com/users/myleshorton/followers","following_url":"https://api.github.com/users/myleshorton/following{/other_user}","gists_url":"https://api.github.com/users/myleshorton/gists{/gist_id}","starred_url":"https://api.github.com/users/myleshorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myleshorton/subscriptions","organizations_url":"https://api.github.com/users/myleshorton/orgs","repos_url":"https://api.github.com/users/myleshorton/repos","events_url":"https://api.github.com/users/myleshorton/events{/privacy}","received_events_url":"https://api.github.com/users/myleshorton/received_events","type":"User","site_admin":false},"open_issues":64,"closed_issues":34,"state":"open","created_at":"2015-10-06T17:11:44Z","updated_at":"2016-04-28T23:34:02Z","due_on":"2016-04-28T07:00:00Z","closed_at":null},"comments":8,"created_at":"2016-04-16T02:48:47Z","updated_at":"2016-04-29T17:17:05Z","closed_at":null,"body":"So this is interesting. While testing pre lazy loading on scroll version of the newsfeed UI, I got too many open files on the backend presumably because of all the connections initiated from Lantern on the backend. \r\n\r\nchained proxy at x.x.x.x:443 to tcp://da.feedsportal.com:80: Unable to dial server (trusted) chained proxy at x.x.x.x:443: dial tcp x.x.x.x:443: socket: too many open files on pass 0...continuing"},"comment":{"url":"https://api.github.com/repos/getlantern/lantern/issues/comments/215819549","html_url":"https://github.com/getlantern/lantern/issues/3987#issuecomment-215819549","issue_url":"https://api.github.com/repos/getlantern/lantern/issues/3987","id":215819549,"user":{"login":"myleshorton","id":1143966,"avatar_url":"https://avatars.githubusercontent.com/u/1143966?v=3","gravatar_id":"","url":"https://api.github.com/users/myleshorton","html_url":"https://github.com/myleshorton","followers_url":"https://api.github.com/users/myleshorton/followers","following_url":"https://api.github.com/users/myleshorton/following{/other_user}","gists_url":"https://api.github.com/users/myleshorton/gists{/gist_id}","starred_url":"https://api.github.com/users/myleshorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myleshorton/subscriptions","organizations_url":"https://api.github.com/users/myleshorton/orgs","repos_url":"https://api.github.com/users/myleshorton/repos","events_url":"https://api.github.com/users/myleshorton/events{/privacy}","received_events_url":"https://api.github.com/users/myleshorton/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T17:17:05Z","updated_at":"2016-04-29T17:17:05Z","body":"Hey @oxtoacart thanks for looking at this. I'm experiencing this *right now* on desktop on the 2.2.0 release branch. Also note users are seeing this in #3875\r\n\r\nIt doesn't appear to be related to the browser to me. I'm getting this:\r\n\r\n```\r\nApr 29 17:06:23.614 - 13m36s ERROR flashlight: pac.go:183 Unable to unset lantern as system proxy: Unable to execute /Users/.../Library/Application Support/byteexec/pac-cmd: pipe: too many open files\r\n```\r\n\r\nI wonder if the newsfeed is causing us to hit a lot more pages off the bat that are resulting in more resets of the system proxy, and the system proxy code itself is leaking file descriptors?"}}