{"action":"closed","issue":{"url":"https://api.github.com/repos/lightningnetwork/lnd/issues/772","repository_url":"https://api.github.com/repos/lightningnetwork/lnd","labels_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/772/labels{/name}","comments_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/772/comments","events_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/772/events","html_url":"https://github.com/lightningnetwork/lnd/issues/772","id":298993539,"number":772,"title":"4k outgoing connections in SYN_SENT: Can't accept connection","user":{"login":"alevchuk","id":64738,"avatar_url":"https://avatars3.githubusercontent.com/u/64738?v=4","gravatar_id":"","url":"https://api.github.com/users/alevchuk","html_url":"https://github.com/alevchuk","followers_url":"https://api.github.com/users/alevchuk/followers","following_url":"https://api.github.com/users/alevchuk/following{/other_user}","gists_url":"https://api.github.com/users/alevchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/alevchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alevchuk/subscriptions","organizations_url":"https://api.github.com/users/alevchuk/orgs","repos_url":"https://api.github.com/users/alevchuk/repos","events_url":"https://api.github.com/users/alevchuk/events{/privacy}","received_events_url":"https://api.github.com/users/alevchuk/received_events","type":"User","site_admin":false},"labels":[{"id":431221757,"url":"https://api.github.com/repos/lightningnetwork/lnd/labels/p2p","name":"p2p","color":"e99695","default":false},{"id":814679442,"url":"https://api.github.com/repos/lightningnetwork/lnd/labels/resource%20usage","name":"resource usage","color":"d65562","default":false}],"state":"closed","locked":false,"assignee":{"login":"cfromknecht","id":2013993,"avatar_url":"https://avatars1.githubusercontent.com/u/2013993?v=4","gravatar_id":"","url":"https://api.github.com/users/cfromknecht","html_url":"https://github.com/cfromknecht","followers_url":"https://api.github.com/users/cfromknecht/followers","following_url":"https://api.github.com/users/cfromknecht/following{/other_user}","gists_url":"https://api.github.com/users/cfromknecht/gists{/gist_id}","starred_url":"https://api.github.com/users/cfromknecht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfromknecht/subscriptions","organizations_url":"https://api.github.com/users/cfromknecht/orgs","repos_url":"https://api.github.com/users/cfromknecht/repos","events_url":"https://api.github.com/users/cfromknecht/events{/privacy}","received_events_url":"https://api.github.com/users/cfromknecht/received_events","type":"User","site_admin":false},"assignees":[{"login":"cfromknecht","id":2013993,"avatar_url":"https://avatars1.githubusercontent.com/u/2013993?v=4","gravatar_id":"","url":"https://api.github.com/users/cfromknecht","html_url":"https://github.com/cfromknecht","followers_url":"https://api.github.com/users/cfromknecht/followers","following_url":"https://api.github.com/users/cfromknecht/following{/other_user}","gists_url":"https://api.github.com/users/cfromknecht/gists{/gist_id}","starred_url":"https://api.github.com/users/cfromknecht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfromknecht/subscriptions","organizations_url":"https://api.github.com/users/cfromknecht/orgs","repos_url":"https://api.github.com/users/cfromknecht/repos","events_url":"https://api.github.com/users/cfromknecht/events{/privacy}","received_events_url":"https://api.github.com/users/cfromknecht/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2018-02-21T14:35:45Z","updated_at":"2018-03-11T00:53:16Z","closed_at":"2018-03-11T00:53:16Z","author_association":"NONE","body":"I get failures trying to do basic operations against my lnd node: walletbalance, listchannels\r\nThe command just hang.\r\n\r\nI'm running 7abdd30a878efb3673ce4dfe0070570a6c9444c8\r\n\r\nLog is filled with\r\n```\r\n2018-02-20 11:28:29.657 [ERR] CMGR: Can't accept connection: accept tcp [::]:9735: accept4: too many open files\r\n2018-02-20 11:28:29.657 [ERR] CMGR: Can't accept connection: accept tcp [::]:9735: accept4: too many open files\r\n2018-02-20 11:28:29.658 [ERR] CMGR: Can't accept connection: accept tcp [::]:9735: accept4: too many open files\r\n```\r\n\r\nlooking at `lsof -n` there are 4060 connections held by the lnd process:\r\n```\r\nlsof -n | grep ^lnd -c\r\n4060\r\n```\r\nAll of those are in SYN_SENT and my host is the TCP source."}}
{"actor":{"display_login":"Roasbeef"}}