From time to time RasPiOS seems to hang in chromium, locking up
the desktop. The mouse pointer still tracks, but clicking on
icons or typing produces no response. The problem seems linked
to the Chrome browser. The machine seems to be up to date as
of the latest incident.
Is there any way to kill Chrome _other_ than power cycling?
So far I've not encountered any problems pulling the plug, but
it'd be nice if there's a more graceful way to get Chrome out of
the way.
A break to debugger key sequence would be better than nothing.
Thanks for reading,
bob prohaska
From time to time RasPiOS seems to hang in chromium, locking up
the desktop. The mouse pointer still tracks, but clicking on
icons or typing produces no response. The problem seems linked
to the Chrome browser. The machine seems to be up to date as
of the latest incident.
Is there any way to kill Chrome _other_ than power cycling?
So far I've not encountered any problems pulling the plug, but
it'd be nice if there's a more graceful way to get Chrome out of
the way.
On a sunny day (Tue, 4 Apr 2023 05:05:00 -0000 (UTC)) it happened bob prohaska[snip]
<bp@www.zefox.net> wrote in <u0gb5s$3a9v9$1@dont-email.me>:
From time to time RasPiOS seems to hang in chromium, locking up
the desktop. The mouse pointer still tracks, but clicking on
icons or typing produces no response. The problem seems linked
to the Chrome browser. The machine seems to be up to date as
of the latest incident.
Is there any way to kill Chrome _other_ than power cycling?
In a terminal, as root
killall -KILL chromium-browser
bob prohaska <bp@www.zefox.net> wrote:
Is this a Pi running with a local display and keyboard etc.? If so
From time to time RasPiOS seems to hang in chromium, locking up
the desktop. The mouse pointer still tracks, but clicking on
icons or typing produces no response. The problem seems linked
to the Chrome browser. The machine seems to be up to date as
of the latest incident.
Is there any way to kill Chrome _other_ than power cycling?
So far I've not encountered any problems pulling the plug, but
it'd be nice if there's a more graceful way to get Chrome out of
the way.
then doesn't CTRL+ALT+Fn (where n is 1 to 6) get you to a console
login which would enable you to log in to a command line and kill
chrome (or even the GUI).
Alternatively if you have remote access to the Pi then ssh to a
command line and kill chrome.
Ctrl-Alt-Backspace to kill/restart the xserver is another.
The Natural Philosopher wrote:Dunno. Works for me on Mint Mate
Ctrl-Alt-Backspace to kill/restart the xserver is another.
Hasn't that been disabled by default for years on most distros?
In a terminal, as root
killall -KILL chromium-browser
I was a seamonkey user in x86, and before that firefox.
Jan Panteltje <alien@comet.invalid> wrote:
On a sunny day (Tue, 4 Apr 2023 05:05:00 -0000 (UTC)) it happened bob prohaska[snip]
In a terminal, as root
killall -KILL chromium-browser
If it's not possible to open a graphical terminal window, then
first Ctrl-Alt-F1 to switch out of X and then execute the command.
Switching back to X depends on how many terminal instances are
running, if one then Ctrl-Alt-F2, if more then
Ctrl-Alt-F[something] (work your way through them all).
If you're running Wayland instead of X, then I've got no idea.
From time to time RasPiOS seems to hang in chromium, locking up
the desktop. The mouse pointer still tracks, but clicking on
icons or typing produces no response. The problem seems linked
to the Chrome browser. The machine seems to be up to date as
of the latest incident.
So far I've not encountered any problems pulling the plug, but
it'd be nice if there's a more graceful way to get Chrome out of
the way.
A break to debugger key sequence would be better than nothing.
Computer Nerd Kev <not@telling.you.invalid> wrote:
Jan Panteltje <alien@comet.invalid> wrote:
On a sunny day (Tue, 4 Apr 2023 05:05:00 -0000 (UTC)) it happened bob prohaska[snip]
In a terminal, as root
killall -KILL chromium-browser
If it's not possible to open a graphical terminal window, then
Worse than that, clicking on an existing terminal window didn't
grant it focus. I'd forgotten (again) about ctrl-alt-Fn and will
try that next time the machine gets stuck, but when it happened
again this morning I did check the caps lock LED and it doesn't
react to the caps lock key, so it looks like the keyboard isn't
being read even though the mouse still tracked.
first Ctrl-Alt-F1 to switch out of X and then execute the command.
Switching back to X depends on how many terminal instances are
running, if one then Ctrl-Alt-F2, if more then
Ctrl-Alt-F[something] (work your way through them all).
In normal operation there are close to a dozen terminal sessions,
five or six windows with a few tabs each. I've seen no indication
the machine is low on resources. It's an 8 GB Pi4, could that be
too much for it? I've never noticed the machine swapping, ever.
I just noticed I haven't set up a hardware swap partition, so
all it has is the 100 MB swapfile set up in the image file.
If you're running Wayland instead of X, then I've got no idea.
I'm running whatever is default for 64 bit RasPiOS. Is there some
way to check if Wayland's in use?
bob prohaska <bp@www.zefox.net> wrote:
I'm running whatever is default for 64 bit RasPiOS. Is there some
way to check if Wayland's in use?
Check "ps -A | grep Xorg" returns a match, or run "xdpyinfo" in a
graphical terminal window and see if it spits out lots of info. I
don't think Wayland would be default though, so X should be a safe >assumption.
On 04/04/2023 06:05, bob prohaska wrote:
From time to time RasPiOS seems to hang in chromium, locking up
the desktop. The mouse pointer still tracks, but clicking on
icons or typing produces no response. The problem seems linked
to the Chrome browser. The machine seems to be up to date as
of the latest incident.
Unless its a 4GB or more RPi 4B, it's probably running out of memory and hitting the brick wall of swapping to the SD card. It might take a
couple of minutes to become responsive enough again for you to close
tabs or quit the browser completely.
Computer Nerd Kev <not@telling.you.invalid> wrote:
Jan Panteltje <alien@comet.invalid> wrote:
On a sunny day (Tue, 4 Apr 2023 05:05:00 -0000 (UTC)) it happened bob prohaska[snip]
In a terminal, as root
killall -KILL chromium-browser
If it's not possible to open a graphical terminal window, then
Worse than that, clicking on an existing terminal window didn't
grant it focus. I'd forgotten (again) about ctrl-alt-Fn and will
try that next time the machine gets stuck, but when it happened
again this morning I did check the caps lock LED and it doesn't
react to the caps lock key, so it looks like the keyboard isn't
being read even though the mouse still tracked.
On 2023-04-04, Jan Panteltje <alien@comet.invalid> wrote:
In a terminal, as root
killall -KILL chromium-browser
If you can't get a terminal window open (that happens to my
Debian tower sometimes when my display driver hangs), you can
ssh into the box from another machine and do the kill that way.
Worst case, you can force a reboot and get an orderly shutdown.
I was a seamonkey user in x86, and before that firefox.
At the risk of thread drift, why did you stop using Seamonkey?
I'm using it because Firefox changed the user interface in ways
I didn't like starting in release 29. But there are a small
but increasing number of web sites that Seamonkey can't handle,
so I have to fall back to Firefox for them.
On 2023-04-04, druck <news@druck.org.uk> wrote:
On 04/04/2023 06:05, bob prohaska wrote:
Unless its a 4GB or more RPi 4B, it's probably running out of memory and
hitting the brick wall of swapping to the SD card. It might take a
couple of minutes to become responsive enough again for you to close
tabs or quit the browser completely.
If the Pi is running a compress-to-RAM swap setup, there is a
possibility of the compressed swap getting deadlocked.
https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/
Don't find anything newer.
bob prohaska <bp@www.zefox.net> wrote:
Computer Nerd Kev <not@telling.you.invalid> wrote:
Jan Panteltje <alien@comet.invalid> wrote:
On a sunny day (Tue, 4 Apr 2023 05:05:00 -0000 (UTC)) it happened bob prohaska[snip]
In a terminal, as root
killall -KILL chromium-browser
If it's not possible to open a graphical terminal window, then
Worse than that, clicking on an existing terminal window didn't
grant it focus. I'd forgotten (again) about ctrl-alt-Fn and will
try that next time the machine gets stuck, but when it happened
again this morning I did check the caps lock LED and it doesn't
react to the caps lock key, so it looks like the keyboard isn't
being read even though the mouse still tracked.
Doesn't sound good, but it depends on how the drivers are set up.
Also Ctrl-Alt-Backspace is the common command to close X entirely
and return to the terminal, so you might as well try that as well
if ctrl-alt-Fn doesn't work for you.
first Ctrl-Alt-F1 to switch out of X and then execute the command.
Switching back to X depends on how many terminal instances are
running, if one then Ctrl-Alt-F2, if more then
Ctrl-Alt-F[something] (work your way through them all).
In normal operation there are close to a dozen terminal sessions,
five or six windows with a few tabs each. I've seen no indication
the machine is low on resources. It's an 8 GB Pi4, could that be
too much for it? I've never noticed the machine swapping, ever.
I just noticed I haven't set up a hardware swap partition, so
all it has is the 100 MB swapfile set up in the image file.
I'd guess some sort of bug in the GPU driver is bing triggered, or
maybe the GPU itself in your Pi4 is getting flaky.
If you're running Wayland instead of X, then I've got no idea.
I'm running whatever is default for 64 bit RasPiOS. Is there some
way to check if Wayland's in use?
Check "ps -A | grep Xorg" returns a match, or run "xdpyinfo" in a
graphical terminal window and see if it spits out lots of info. I
don't think Wayland would be default though, so X should be a safe assumption.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 66:28:46 |
Calls: | 6,712 |
Files: | 12,244 |
Messages: | 5,356,312 |