{"action":"created","issue":{"url":"https://api.github.com/repos/ArcticaProject/nx-libs/issues/671","repository_url":"https://api.github.com/repos/ArcticaProject/nx-libs","labels_url":"https://api.github.com/repos/ArcticaProject/nx-libs/issues/671/labels{/name}","comments_url":"https://api.github.com/repos/ArcticaProject/nx-libs/issues/671/comments","events_url":"https://api.github.com/repos/ArcticaProject/nx-libs/issues/671/events","html_url":"https://github.com/ArcticaProject/nx-libs/issues/671","id":302188007,"number":671,"title":"nxagent entering high CPU load while session is suspended.","user":{"login":"Ionic","id":1229578,"avatar_url":"https://avatars1.githubusercontent.com/u/1229578?v=4","gravatar_id":"","url":"https://api.github.com/users/Ionic","html_url":"https://github.com/Ionic","followers_url":"https://api.github.com/users/Ionic/followers","following_url":"https://api.github.com/users/Ionic/following{/other_user}","gists_url":"https://api.github.com/users/Ionic/gists{/gist_id}","starred_url":"https://api.github.com/users/Ionic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ionic/subscriptions","organizations_url":"https://api.github.com/users/Ionic/orgs","repos_url":"https://api.github.com/users/Ionic/repos","events_url":"https://api.github.com/users/Ionic/events{/privacy}","received_events_url":"https://api.github.com/users/Ionic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2018-03-05T06:42:45Z","updated_at":"2018-03-07T06:33:33Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"With 3.5.99.14 on a Debian Unstable box, I started up a MATE session with one maximized `mate-terminal`, a running `firefox` instance showing the default first-run page (https://www.mozilla.org/en-US/firefox/54.0/firstrun/) and detached from it.\r\n\r\nWhile at first nothing happened, after an hour I was able to reproduce nxagent producing high CPU load.\r\n\r\nThis seems to be consistent with reports from other X2Go users.\r\n\r\nReattaching to the session was not possible at first, but after a few more tries a new x2goagent process showed up in the process list(?), x2goserver listed the session as running and CPU usage was back to normal. Changing state from running to suspended lead to the other x2goagent process vanishing after a minute and the original x2goagent process to continue consuming CPU resources.\r\n\r\nIn all cases, nxproxy is reporting the (unhelpful) error message\r\n\r\n```\r\nError: Failure negotiating the session in stage '7'.\r\nError: Wrong version or invalid session authentication cookie.\r\n```\r\n\r\nI'll try to fire up the `perf` tool to see if I can get a reasonable callgraph when this issue appears."},"comment":{"url":"https://api.github.com/repos/ArcticaProject/nx-libs/issues/comments/371037993","html_url":"https://github.com/ArcticaProject/nx-libs/issues/671#issuecomment-371037993","issue_url":"https://api.github.com/repos/ArcticaProject/nx-libs/issues/671","id":371037993,"user":{"login":"pongraczi","id":5891983,"avatar_url":"https://avatars2.githubusercontent.com/u/5891983?v=4","gravatar_id":"","url":"https://api.github.com/users/pongraczi","html_url":"https://github.com/pongraczi","followers_url":"https://api.github.com/users/pongraczi/followers","following_url":"https://api.github.com/users/pongraczi/following{/other_user}","gists_url":"https://api.github.com/users/pongraczi/gists{/gist_id}","starred_url":"https://api.github.com/users/pongraczi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pongraczi/subscriptions","organizations_url":"https://api.github.com/users/pongraczi/orgs","repos_url":"https://api.github.com/users/pongraczi/repos","events_url":"https://api.github.com/users/pongraczi/events{/privacy}","received_events_url":"https://api.github.com/users/pongraczi/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T06:33:33Z","updated_at":"2018-03-07T06:33:33Z","author_association":"NONE","body":"So, xset on command line (or in .profile) did the trick, x2go session is up and running. Thanks."}}
{"actor":{"display_login":"pongraczi"}}