{"id":256,"date":"2020-09-25T17:15:35","date_gmt":"2020-09-25T17:15:35","guid":{"rendered":"http:\/\/metajack.org\/blog\/?p=256"},"modified":"2020-09-25T17:16:52","modified_gmt":"2020-09-25T17:16:52","slug":"slow-login-and-su-on-centos-7-not-ssh","status":"publish","type":"post","link":"https:\/\/metajack.org\/blog\/2020\/09\/25\/slow-login-and-su-on-centos-7-not-ssh\/","title":{"rendered":"Slow login and su on Centos 7 (not an ssh or dns problem)"},"content":{"rendered":"\n<p>I had a particular Centos 8 box that had very slow logins but over ssh but also using su. The issue was not with dns and ssh. I finally found the problem &#8211; or at least the fix (related to systemd, sigh):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart systemd-logind<\/code><\/pre>\n\n\n\n<p>The server was running inside of openvz so perhaps there were resource issues at some point. I did not have time to determine why it broke but the above did fix it.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a particular Centos 8 box that had very slow logins but over ssh but also using su. The issue was not with dns and ssh. I finally found the problem &#8211; or at least the fix (related to systemd, sigh): The server was running inside of openvz so perhaps there were resource issues &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/metajack.org\/blog\/2020\/09\/25\/slow-login-and-su-on-centos-7-not-ssh\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Slow login and su on Centos 7 (not an ssh or dns problem)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[30],"class_list":["post-256","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-linux","entry"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/posts\/256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/comments?post=256"}],"version-history":[{"count":2,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/posts\/256\/revisions"}],"predecessor-version":[{"id":258,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/posts\/256\/revisions\/258"}],"wp:attachment":[{"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/media?parent=256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/categories?post=256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/tags?post=256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}