From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AEC871382C5 for ; Wed, 20 May 2020 15:56:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C17D7E0946; Wed, 20 May 2020 15:56:32 +0000 (UTC) Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4877BE08FB for ; Wed, 20 May 2020 15:56:32 +0000 (UTC) Received: by mail-ot1-x335.google.com with SMTP id 63so2852245oto.8 for ; Wed, 20 May 2020 08:56:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:references:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to; bh=hYf+u33RCPWAsefxpVxeNy8EFX6XRORS3FEm2LPQXm0=; b=Gl6uKXbfJAZHqmxJcqf4hABb77vk2XfFJCsnPb6/MU+z53cBLaIKxk1ikzDuzEw8Nc /7SwSAP+cGJilNCuDkxFjR5cYikGRoRmY/MaweoakXz59mXQ7f6lnXZGYvLB01irICrT U6NjclUGr2RF5UG+vhc4c2jTjYVyUgbVPIkyF60Y8B2v/dFK0TZHLXPV8Qh+pOw960wi o5Zl5ksG/uyilgb45iWwKkiwoe+OmTdeZV6Xm35NMmsH73ADGN8/+tKjf4KH87pE0lTY Ud9wknFRIR0FXt/wYNX7jSLif0CEVXrBdxQi2zx8txuYucUoLeQuy2NsNtWkhCT4v0Z4 wcxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to; bh=hYf+u33RCPWAsefxpVxeNy8EFX6XRORS3FEm2LPQXm0=; b=ikTSmEI62LRfjo/jeYZ7HtFfDWMZg6jyAraXKvF28UQaUszFoIhJlzXp+Fpv2kCduX 1+N6bit4aZitPL1CKTefTfS1IMEhUI+jkUrr0BImKZSlZpnjknC9IGEOrcCK1LXliD7f 1wgDae6Ow0oat6QtWKuffrwFE9SA6bLn7yezp6u2X/M7s30u3lmYIldR1ZWFL0EAj4Wg SI7TSHQlnX5/fNOESWMTdcqS6qsa6R1unPq8mCeix42QT1nxbDqaw001GPIy5dPU3h3B g9UcoXVGSrrVk+OL41jpjw2npqyzeYRGPEKwXltSssRaP8ZrhWs+7AagnsqPCk8hPFb4 yhbg== X-Gm-Message-State: AOAM5317rF66Frechv3BeW+hvMeRafnkQnGH2tyLhIaZr4jDxouNUn4L ickLXbPhEXjK4HYCRWEWyafbHXhm X-Google-Smtp-Source: ABdhPJyDafIj5W/mvbEwL3STFEbLIZkgtuNSAeishprmSUrg5UnaZQBHbuOIqITIIwlP6djsPZsI4g== X-Received: by 2002:a9d:7657:: with SMTP id o23mr3584052otl.255.1589990190975; Wed, 20 May 2020 08:56:30 -0700 (PDT) Received: from [192.168.0.100] (adsl-074-188-246-009.sip.asm.bellsouth.net. [74.188.246.9]) by smtp.gmail.com with ESMTPSA id x143sm860135oif.58.2020.05.20.08.56.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 May 2020 08:56:30 -0700 (PDT) From: Dale Subject: Re: [gentoo-user] sddm-helper and high memory usage To: gentoo-user@lists.gentoo.org References: <706b68ae-a6d7-db97-33e2-98838682befc@gmail.com> <7759979.T7Z3S40VBb@dell_xps> <21809910.6Emhk5qWAg@eve> Openpgp: preference=signencrypt Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBFxc7MgBEAC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1wFfDq7c+i8GAHu L4pYzyXYu6PporlNNU0xSwdVgzM/uuK0lt+UxCimgC+YR3IezgDcbfudb7h9dGIwL+bbPL0A EQEAAYkCNgQYAQgAIBYhBNnuy6u48FpLrRsJhe8Qz9da75mcBQJcXOzIAhsMAAoJEO8Qz9da 75mcXZ4P/1YXgWDZek7mhzrf6uaQzMxa92P89HeWz4PlgB/32symeEFAV04WazzBZffI8AYY rGA1Xmu/2VaB9+FOODyKhUWBc2UL0NRWBk6POwboyTdKlclmpixaN9zLcBt0YLejoRfN1B/5 aQf9/lUDZMnAiCyz0FgeqEMUshldmwWC35RqnjrCbbuk2vIqSH6BLDIXU6jQrLHE1DF0ai41 wLtQFAFXPhn45n0ZwYhVs4Z32z4sjXrIvgBgCaXa4HM+L1Klne0KiNM8ReFTTpTE0SgyDOSZ O3MOa2n77i6JbVtsbiFYnNeP3J9S/l3jevGpZEtNQOKrIm1MW8jGuHWtsDeMkT/mCcSodlkt PxIo+mMK9GpGvG2hW80LiohqNfUbNwAmr3blOYY4URPXPRnEnPs4pmTmL5owjw2dkg145i9I D42Tq+XZ6YtWt3SGzGbAYow6XwTwZ5NFAzV9UQuCGrDw4KWan6O6Z+VIYWsn0UMZlu1Obxna aocofkaUCbISK26kImuD1aA8juSHC18Qv1xUage6/UakbSxyDtACqt6hOVFKX3IA59ApdNRT +2x3iCmlvF9MJsGgFq6IpqL+Fk7iWV8Kjbz0wQOId6N9+JdQh3LrLaS7a1PowUm1z9DK5/O0 Yg+gpDnEOOFI7WM5u7a7FSM2Z/LXGVwel/0eWvLk9tN6 Message-ID: Date: Wed, 20 May 2020 10:56:29 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <21809910.6Emhk5qWAg@eve> Content-Type: multipart/alternative; boundary="------------5DC1F27A19DC1C7698F45686" X-Archives-Salt: 240b4987-9259-40ca-b494-8a0ff310f75b X-Archives-Hash: 99f3f8949391fba11cf3d1d97c7d9435 This is a multi-part message in MIME format. --------------5DC1F27A19DC1C7698F45686 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit J. Roeleveld wrote: > > Dale, > > The few times I have issues with "sddm-helper" is when I resume my laptop from > hibernate. (Not always, but occasionally) > The issue I see is 100% CPU-usage and a black X-display. I can switch to > console (CTRL+ALT+F1), login as root and kill the offending sddm-helper. > It gets restarted automatically and I see no issue. > > Do you tend to lock your screen a lot? As it might be related to screensavers. > (I have a simple static lock-screen, nothing remotely fancy) > > Also, you can try killing "kill -9 sddm-helper" when it goes up and see what > happens next. > > Is there anything in the sddm-logs? > Mine, for some reason, writes to /var/log/sddm.log > > Do you have anything special in your Xsession files and/or profiles (incl. > bash_profile and bashrc) that is non-default? > > Which login-theme do you use? > > -- > Joost Well, I didn't know I could kill that thing.  I been logging out and back in which annoys the stuffing out of me.  I have to close three browsers, several file managers plus whatever else I am doing before I can logout.  Then I have to reopen all that when I log back in.  On top of that, I have to wait for a download to stop as well.  Yea, it's annoying, putting it mildly.  lol  I thought if I killed it, it would take the whole GUI thingy with it .  Since it is still chewing away, makes me think about the Pacman days, I'll kill that thing in a few minutes, after closing important stuff first just in case.  I got the last several lines of sddm.log.  Here it is complete with a WW in there, about three lines from the bottom.  [01:32:50.474] (II) DAEMON: Greeter session started successfully [01:32:50.499] (II) DAEMON: Message received from greeter: Connect [01:32:57.872] (II) DAEMON: Message received from greeter: Login [01:32:57.872] (II) DAEMON: Reading from "/usr/share/xsessions/plasma.desktop" [01:32:57.872] (II) DAEMON: Reading from "/usr/share/xsessions/plasma.desktop" [01:32:57.872] (II) DAEMON: Session "/usr/share/xsessions/plasma.desktop" selected, command: "/usr/bin/startplasma-x11" [01:32:57.948] (II) HELPER: [PAM] Starting... [01:32:57.948] (II) HELPER: [PAM] Authenticating... [01:32:57.991] (II) HELPER: [PAM] Preparing to converse... [01:32:57.991] (II) HELPER: [PAM] Conversation with 1 messages [01:32:57.997] (II) HELPER: [PAM] returning. [01:32:58.016] (II) DAEMON: Authenticated successfully [01:32:58.152] (II) HELPER: [PAM] Closing session [01:32:58.153] (II) HELPER: [PAM] Ended. [01:32:58.153] (II) DAEMON: Auth: sddm-helper exited successfully [01:32:58.153] (II) DAEMON: Greeter stopped. [01:32:58.225] (II) HELPER: Starting: "/usr/share/sddm/scripts/Xsession \"/usr/bin/startplasma-x11\"" [01:32:58.225] (WW) HELPER: Could not open stderr to "/home/dale/.local/share/sddm/xorg-session.log" [01:32:58.225] (II) HELPER: Adding cookie to "/home/dale/.Xauthority" [01:32:58.245] (II) DAEMON: Session started root@fireball / # So off I go to check into that file.  I get this and change permissions for the second ls. root@fireball / # tail /home/dale/.local/share/sddm/xorg-session.log root@fireball / # ls -al /home/dale/.local/share/sddm/xorg-session.log -rw------- 1 root root 0 Mar  4  2019 /home/dale/.local/share/sddm/xorg-session.log root@fireball / # ls -al /home/dale/.local/share/sddm/xorg-session.log -rw------- 1 dale users 0 Mar  4  2019 /home/dale/.local/share/sddm/xorg-session.log root@fireball / # As you can see, the first time it was owned by root, and is empty, which I bet requires it to be dale:user so I changed it.  I bet it is building a log and keeping it in memory because it can't access the file to write it.  I'm going to logout and see what it does.  I'll finish when I get back.  :-D OK.  Logged back in and now I get this in the sddm.log. [10:45:28.213] (II) HELPER: [PAM] Starting... [10:45:28.213] (II) HELPER: [PAM] Authenticating... [10:45:28.253] (II) HELPER: [PAM] Preparing to converse... [10:45:28.253] (II) HELPER: [PAM] Conversation with 1 messages [10:45:28.259] (II) HELPER: [PAM] returning. [10:45:28.287] (II) DAEMON: Authenticated successfully [10:45:28.391] (II) HELPER: Starting: "/usr/share/sddm/scripts/Xsession \"/usr/bin/startplasma-x11\"" [10:45:28.393] (II) HELPER: Adding cookie to "/home/dale/.Xauthority" [10:45:28.400] (II) DAEMON: Session started [10:45:28.416] (II) HELPER: [PAM] Closing session [10:45:28.417] (II) HELPER: [PAM] Ended. [10:45:28.418] (II) DAEMON: Auth: sddm-helper exited successfully [10:45:28.418] (II) DAEMON: Greeter stopped. root@fireball / # I don't see any WW lines there.  If I scroll up I can see the original I posted above but no WW since.  Can we all say a prayer now????   I bet when I switched to sddm, it didn't change the permissions like it should and that threw a wrench in the gears.  I'll know for sure in a few hours.  It chewed through memory real fast after the last login.  Within just a very few hours, it was over 4GBs.  It seems to stop itself around that number tho.  I'm not sure what to think about that tho. I'll post back in a bit.  Give it time to eat some Pacman dots.  I think you got it tho.  I really hope that was it.  Dale :-)  :-)  P. S. Made eye Doctor appt today.  Maybe this old goat will see better in a couple months when new glasses come in.  O_O --------------5DC1F27A19DC1C7698F45686 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
J. Roeleveld wrote:

Dale,

The few times I have issues with "sddm-helper" is when I resume my laptop from 
hibernate. (Not always, but occasionally)
The issue I see is 100% CPU-usage and a black X-display. I can switch to 
console (CTRL+ALT+F1), login as root and kill the offending sddm-helper.
It gets restarted automatically and I see no issue.

Do you tend to lock your screen a lot? As it might be related to screensavers. 
(I have a simple static lock-screen, nothing remotely fancy)

Also, you can try killing "kill -9 sddm-helper" when it goes up and see what 
happens next.

Is there anything in the sddm-logs?
Mine, for some reason, writes to /var/log/sddm.log

Do you have anything special in your Xsession files and/or profiles (incl. 
bash_profile and bashrc) that is non-default?

Which login-theme do you use?

--
Joost

Well, I didn't know I could kill that thing.  I been logging out and back in which annoys the stuffing out of me.  I have to close three browsers, several file managers plus whatever else I am doing before I can logout.  Then I have to reopen all that when I log back in.  On top of that, I have to wait for a download to stop as well.  Yea, it's annoying, putting it mildly.  lol  I thought if I killed it, it would take the whole GUI thingy with it .  Since it is still chewing away, makes me think about the Pacman days, I'll kill that thing in a few minutes, after closing important stuff first just in case. 

I got the last several lines of sddm.log.  Here it is complete with a WW in there, about three lines from the bottom. 


[01:32:50.474] (II) DAEMON: Greeter session started successfully
[01:32:50.499] (II) DAEMON: Message received from greeter: Connect
[01:32:57.872] (II) DAEMON: Message received from greeter: Login
[01:32:57.872] (II) DAEMON: Reading from "/usr/share/xsessions/plasma.desktop"
[01:32:57.872] (II) DAEMON: Reading from "/usr/share/xsessions/plasma.desktop"
[01:32:57.872] (II) DAEMON: Session "/usr/share/xsessions/plasma.desktop" selected, command: "/usr/bin/startplasma-x11"
[01:32:57.948] (II) HELPER: [PAM] Starting...
[01:32:57.948] (II) HELPER: [PAM] Authenticating...
[01:32:57.991] (II) HELPER: [PAM] Preparing to converse...
[01:32:57.991] (II) HELPER: [PAM] Conversation with 1 messages
[01:32:57.997] (II) HELPER: [PAM] returning.
[01:32:58.016] (II) DAEMON: Authenticated successfully
[01:32:58.152] (II) HELPER: [PAM] Closing session
[01:32:58.153] (II) HELPER: [PAM] Ended.
[01:32:58.153] (II) DAEMON: Auth: sddm-helper exited successfully
[01:32:58.153] (II) DAEMON: Greeter stopped.
[01:32:58.225] (II) HELPER: Starting: "/usr/share/sddm/scripts/Xsession \"/usr/bin/startplasma-x11\""
[01:32:58.225] (WW) HELPER: Could not open stderr to "/home/dale/.local/share/sddm/xorg-session.log"
[01:32:58.225] (II) HELPER: Adding cookie to "/home/dale/.Xauthority"
[01:32:58.245] (II) DAEMON: Session started
root@fireball / #



So off I go to check into that file.  I get this and change permissions for the second ls.


root@fireball / # tail /home/dale/.local/share/sddm/xorg-session.log
root@fireball / # ls -al /home/dale/.local/share/sddm/xorg-session.log
-rw------- 1 root root 0 Mar  4  2019 /home/dale/.local/share/sddm/xorg-session.log
root@fireball / # ls -al /home/dale/.local/share/sddm/xorg-session.log
-rw------- 1 dale users 0 Mar  4  2019 /home/dale/.local/share/sddm/xorg-session.log
root@fireball / #


As you can see, the first time it was owned by root, and is empty, which I bet requires it to be dale:user so I changed it.  I bet it is building a log and keeping it in memory because it can't access the file to write it.  I'm going to logout and see what it does.  I'll finish when I get back.  :-D

OK.  Logged back in and now I get this in the sddm.log.


[10:45:28.213] (II) HELPER: [PAM] Starting...
[10:45:28.213] (II) HELPER: [PAM] Authenticating...
[10:45:28.253] (II) HELPER: [PAM] Preparing to converse...
[10:45:28.253] (II) HELPER: [PAM] Conversation with 1 messages
[10:45:28.259] (II) HELPER: [PAM] returning.
[10:45:28.287] (II) DAEMON: Authenticated successfully
[10:45:28.391] (II) HELPER: Starting: "/usr/share/sddm/scripts/Xsession \"/usr/bin/startplasma-x11\""
[10:45:28.393] (II) HELPER: Adding cookie to "/home/dale/.Xauthority"
[10:45:28.400] (II) DAEMON: Session started
[10:45:28.416] (II) HELPER: [PAM] Closing session
[10:45:28.417] (II) HELPER: [PAM] Ended.
[10:45:28.418] (II) DAEMON: Auth: sddm-helper exited successfully
[10:45:28.418] (II) DAEMON: Greeter stopped.
root@fireball / #


I don't see any WW lines there.  If I scroll up I can see the original I posted above but no WW since.  Can we all say a prayer now????  

I bet when I switched to sddm, it didn't change the permissions like it should and that threw a wrench in the gears.  I'll know for sure in a few hours.  It chewed through memory real fast after the last login.  Within just a very few hours, it was over 4GBs.  It seems to stop itself around that number tho.  I'm not sure what to think about that tho.

I'll post back in a bit.  Give it time to eat some Pacman dots.  I think you got it tho.  I really hope that was it. 

Dale

:-)  :-) 

P. S. Made eye Doctor appt today.  Maybe this old goat will see better in a couple months when new glasses come in.  O_O
--------------5DC1F27A19DC1C7698F45686--