{"action":"created","issue":{"url":"https://api.github.com/repos/gsliepen/tinc/issues/195","repository_url":"https://api.github.com/repos/gsliepen/tinc","labels_url":"https://api.github.com/repos/gsliepen/tinc/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/gsliepen/tinc/issues/195/comments","events_url":"https://api.github.com/repos/gsliepen/tinc/issues/195/events","html_url":"https://github.com/gsliepen/tinc/issues/195","id":337883651,"node_id":"MDU6SXNzdWUzMzc4ODM2NTE=","number":195,"title":"Tinc self-DDOS","user":{"login":"jakubgs","id":2212681,"node_id":"MDQ6VXNlcjIyMTI2ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/2212681?v=4","gravatar_id":"","url":"https://api.github.com/users/jakubgs","html_url":"https://github.com/jakubgs","followers_url":"https://api.github.com/users/jakubgs/followers","following_url":"https://api.github.com/users/jakubgs/following{/other_user}","gists_url":"https://api.github.com/users/jakubgs/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubgs/subscriptions","organizations_url":"https://api.github.com/users/jakubgs/orgs","repos_url":"https://api.github.com/users/jakubgs/repos","events_url":"https://api.github.com/users/jakubgs/events{/privacy}","received_events_url":"https://api.github.com/users/jakubgs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-03T12:46:15Z","updated_at":"2018-07-03T12:51:20Z","closed_at":null,"author_association":"NONE","body":"Hey,\r\n\r\nI've been trying to figure out an issue with Tinc running on my servers that I've discovered yesterday. I have 63 hosts inter-connected via Tinc and I'm getting 100% CPU usage and growing memory usage from Tinc after I start it on most of the hosts:\r\n```\r\ntincd[5418]: Metadata socket read error for host1 (1.2.3.4 port 655): Connection reset by peer\r\ntincd[5418]: Metadata socket read error for host2 (1.2.3.5 port 655): Connection reset by peer\r\ntincd[5418]: Metadata socket read error for host3 (1.2.3.6 port 655): Connection reset by peer\r\ntincd[5418]: Metadata socket read error for host4 (1.2.3.7 port 655): Connection reset by peer\r\ntincd[5418]: Metadata socket read error for <unknown> (1.2.3.8 port 38498): Connection reset by peer\r\ntincd[5418]: Metadata socket read error for host5 (1.2.3.9 port 655): Connection reset by peer\r\n```\r\nAnd when I stop most of the Tinc services on servers the CPU load does not go down. I need to stop the processes myself. But when I start them back up again I get insane high CPU usage again.\r\nI have no idea what is causing this, and this makes Tinc essentially unusable."},"comment":{"url":"https://api.github.com/repos/gsliepen/tinc/issues/comments/402145494","html_url":"https://github.com/gsliepen/tinc/issues/195#issuecomment-402145494","issue_url":"https://api.github.com/repos/gsliepen/tinc/issues/195","id":402145494,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjE0NTQ5NA==","user":{"login":"jakubgs","id":2212681,"node_id":"MDQ6VXNlcjIyMTI2ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/2212681?v=4","gravatar_id":"","url":"https://api.github.com/users/jakubgs","html_url":"https://github.com/jakubgs","followers_url":"https://api.github.com/users/jakubgs/followers","following_url":"https://api.github.com/users/jakubgs/following{/other_user}","gists_url":"https://api.github.com/users/jakubgs/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubgs/subscriptions","organizations_url":"https://api.github.com/users/jakubgs/orgs","repos_url":"https://api.github.com/users/jakubgs/repos","events_url":"https://api.github.com/users/jakubgs/events{/privacy}","received_events_url":"https://api.github.com/users/jakubgs/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T12:51:20Z","updated_at":"2018-07-03T12:51:20Z","author_association":"NONE","body":"The `strace` doesn't look strange:\r\n```\r\nsendto(9, \"\\363\\223\\263\\202\\322M\\336\\361\\263\\27\\255\\304\\355L\\365\\257\\34N\\236\\263\\316\\355\\334\\200\\322\\24B\\331\\\"\\240\\245\\352\"..., 400, 0, NULL, 0) = 400\r\nselect(69, [4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59 68], [10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59], NULL, {tv_sec=0, tv_usec=434335}) = 56 (in [9 10 13 14 15 19 24 25 27 32 36 37 38 39 40 41 42 53 54 55 56 57 58 59], out [10 12 13 14 15 17 19 20 21 23 24 25 26 27 30 32 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59], left {tv_sec=0, tv_usec=434317})\r\nrecvfrom(9, \"_a\\r\\21\\22\\206H*8\\256\\315\\26\\177\\2\\31NAV7H(}>\\10\\277v\\257P\\276\\367\\353`\"..., 2169, 0, NULL, NULL) = 2169\r\nselect(69, [4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59 68], [9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59], NULL, {tv_sec=0, tv_usec=428349}) = 57 (in [9 10 13 14 15 19 24 25 27 32 36 37 38 39 40 41 42 53 54 55 56 57 58 59], out [9 10 12 13 14 15 17 19 20 21 23 24 25 26 27 30 32 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59], left {tv_sec=0, tv_usec=428328})\r\nsendto(9, \"@\\23\\267\\3077\\204\\264\\t\\351;\\300\\305\\3533\\\"\\346\\02110\\357\\254}\\355\\322\\36\\\\\\10\\2346\\3649p\"..., 488, 0, NULL, 0) = 488\r\nselect(69, [4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59 68], [10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59], NULL, {tv_sec=0, tv_usec=427833}) = 56 (in [9 10 13 14 15 19 24 25 27 32 36 37 38 39 40 41 42 53 54 55 56 57 58 59], out [10 12 13 14 15 17 19 20 21 23 24 25 26 27 30 32 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59], left {tv_sec=0, tv_usec=427823})\r\nrecvfrom(9, \"a\\321\\264\\271 \\344\\366\\234v\\204\\5\\335<\\316\\213\\204\\5:\\\"qR\\352\\34\\r\\6\\357O\\257w[\\35V\"..., 2111, 0, NULL, NULL) = 2111\r\nmremap(0x7f4df1ae9000, 12382208, 12386304, MREMAP_MAYMOVE) = 0x7f4df1ae9000\r\nmremap(0x7f4dfafe7000, 12591104, 12595200, MREMAP_MAYMOVE) = 0x7f4dfafe7000\r\nmremap(0x7f4dfa23c000, 12566528, 12570624, MREMAP_MAYMOVE) = 0x7f4dfa23c000\r\nselect(69, [4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59 68], [9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59], NULL, {tv_sec=0, tv_usec=419109}) = 57 (in [9 10 13 14 15 19 24 25 27 32 36 37 38 39 40 41 42 53 54 55 56 57 58 59], out [9 10 12 13 14 15 17 19 20 21 23 24 25 26 27 30 32 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59], left {tv_sec=0, tv_usec=419081})\r\nsendto(9, \"\\240\\312\\251*\\343\\34r\\210\\247\\251\\200J\\21G\\n\\223\\207b\\317\\211}\\22\\313[\\265.\\210\\v\\226\\2\\3333\"..., 265, 0, NULL, 0) = 265\r\nselect(69, [4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59 68], [10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59], NULL, {tv_sec=0, tv_usec=418443}) = 56 (in [9 10 13 14 15 19 24 25 27 32 36 37 38 39 40 41 42 53 54 55 56 57 58 59], out [10 12 13 14 15 17 19 20 21 23 24 25 26 27 30 32 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59], left {tv_sec=0, tv_usec=418430})\r\nrecvfrom(9, \"\\252\\301X \\356\\36d\\264{\\0325\\230B\\233H\\2\\255X\\215\\34.\\r\\316F\\211\\262\\3\\247\\26^[\\r\"..., 2118, 0, NULL, NULL) = 2118\r\nselect(69, [4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59 68], [9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59], NULL, {tv_sec=0, tv_usec=411550}) = 57 (in [9 10 13 14 15 19 24 25 27 32 36 37 38 39 40 41 42 53 54 55 56 57 58 59], out [9 10 12 13 14 15 17 19 20 21 23 24 25 26 27 30 32 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59], left {tv_sec=0, tv_usec=411527})\r\nsendto(9, \"\\245\\366\\0300\\350\\313\\32p\\227\\211\\235\\246\\211$\\214\\244\\242T\\366ds\\\\\\357)\\2003\\270b\\17\\352\\232K\"..., 133, 0, NULL, 0) = 133\r\nselect(69, [4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59 68], [10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59], NULL, {tv_sec=0, tv_usec=411013}) = 56 (in [9 10 13 14 15 19 24 25 27 32 36 37 38 39 40 41 42 53 54 55 56 57 58 59], out [10 12 13 14 15 17 19 20 21 23 24 25 26 27 30 32 34 35 36 37 38 39 40 41 42 53 54 55 56 57 58 59], left {tv_sec=0, tv_usec=411003})\r\nrecvfrom(9, \"\\374C\\372\\246\\371\\370}q'\\10\\256\\23\\305\\364\\26\\311\\301\\352s\\254\\242\\32\\260\\245\\212&\\346)\\245x\\364\\271\"..., 2157, 0, NULL, NULL) = 2157\r\nmremap(0x7f4df1ae9000, 12386304, 12390400, MREMAP_MAYMOVE) = 0x7f4df1ae9000\r\n```\r\nBut I can't tell."}}
{"actor":{"display_login":"jakubgs"}}