You are not logged in.
The other day the desktop locked up..
I could move the mouse around, but couldn't control any windows, and nothing in the task bar worked.. couldn't click to exit anything etc..
So I did ctrl alt F1
Ran htop
and looked around at programs using a lot of memory , tried to kill a bunch of those
went back to desktop (ctrl alt F7) but still same thing
So went back and tried restarting the panel and xfce window manager
But kept getting an error saying something like cannot connect to the display...
I ended up just issuing "shutdown -r now" and restarting
So any advice or what should I do next time.. so I wouldn't have to restart and save what I'm doing..
Offline
try to debug using dmesg. you may be able to find the event in /var/log/syslog if you can remember the time/date it happened.
sounds like a kernel regression maybe.
Offline
try to debug using dmesg. you may be able to find the event in /var/log/syslog if you can remember the time/date it happened.
sounds like a kernel regression maybe.
Seems like around the time it locked up, there were these messages.
Maybe ran out of memory and it was shutting down chrome? And just wouldn't let me back to desktop ui?
Feb 3 12:47:11 user rtkit-daemon[2673]: Warning: Reached maximum concurrent process limit for user '1000', denying request.
Feb 3 12:47:11 user rtkit-daemon[2673]: Failed to look up client: Device or resource busy
Feb 3 13:06:54 user kernel: [1443046.597471] chrome invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=300
Feb 3 13:06:54 user kernel: [1443046.597478] CPU: 8 PID: 16803 Comm: chrome Not tainted 5.10.0-10-amd64 #1 Debian 5.10.84-1
Feb 3 13:06:54 user kernel: [1443046.597487] dump_stack+0x6b/0x83
Offline
Feb 3 13:06:54 user kernel: [1443046.597471] chrome invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=300
Yup, looks like Chrome ate all the RAM. Next time drop to a TTY and use
pkill chrome
Or install earlyoom to kill it from user space before the kernel jumps in and messes things up. Linux really is shit at handling OOM events
EDIT: you do have swap, right? You need swap.
Last edited by Head_on_a_Stick (2022-02-04 18:30:41)
Brianna Ghey — Rest In Power
Offline
I have an xkill launcher in my xfce panel. Very helpful for misbehaving browsers
Online
EDIT: you do have swap, right? You need swap.
Yeah it looked like it had been trying to do stuff with swap also later on
Maybe I should have waited awhile longer? I think I waited about 30 minutes as it was
Offline
I would have just
pkill X
Then logged in again.
Brianna Ghey — Rest In Power
Offline
I have an xkill launcher in my xfce panel. Very helpful for misbehaving browsers
Will xkill kill the panel / taskbar if you click on that ?
Not sure if I wanted to try because not sure how to get it back if it does.. lol
Offline
golinux wrote:I have an xkill launcher in my xfce panel. Very helpful for misbehaving browsers
Will xkill kill the panel / taskbar if you click on that ?
Not sure if I wanted to try because not sure how to get it back if it does.. lol
In my experience, it won't destroy the panel even if you do accidentally click it! At least on jessie and earlier because I have accidentally clicked outside the intended target a few times. It does kill the browser when you click and on restart, the session has been saved and I am able to get right back to work. I just tested FF on a chimaera VM and it seems to remember where I left of without saving the session. IOW, it reloaded the pages automatically.
Online
Interesting, I had a misbehaving browser today actually, Firefox + Youtube stream = misbehaving browser.
I never thought of adding xkill to the panel, that's a good Idea. Certainly faster than trying to open a terminal while Firefox slowly melts my laptop into the Earths core. I'm going to try this out right now.
Thanks!
"Has cat, eats cheese, drinks coffee, Chaotic Neutral "
Offline
Here's the old gnome xkill icon It has disappeared from the search engines but I have been keeping it alive for a very long time in my icon collection. Enjoy!
Online
Here's the old gnome xkill icon https://dev1galaxy.org/files/gnome-panel-force-quit.png It has disappeared from the search engines but I have been keeping it alive for a very long time in my icon collection. Enjoy!
Awesome, thank you also !
Offline
I think you need to go back to Head_on_a_Stick's suggestion of using earlyoom. I see it as the real solution here. It will deal with the problem before the system freezes.
Offline