You are not logged in.

#1 2015-04-01 08:30:25

Virus_ST
Member
Registered: 2015-03-20
Posts: 24

System freezing, grinds to a halt

Hi,
I've recently been having trouble with my system. I use Firefox and Chromium simultaneously most of the time and on occasions the PC almost grinds to a halt, meaning the cursor barely moves on the screen and the HDD starts cooking real bad. The last time that happened, about 30 minutes ago, I was forced to manually reboot the computer, after which it happened.

systemd can't be found in bash. pacman says it's installed and after running pacman -Syyu, things remain the same.

dmesg output:

[    0.415317] random: systemd-tmpfile urandom read with 1 bits of entropy available
[    8.499362] systemd-journald[116]: Received request to flush runtime journal from PID 1

Don't know if that helps or anyhting...

Last edited by Virus_ST (2015-04-01 08:56:09)

Offline

#2 2015-04-01 08:37:18

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,422
Website

Re: System freezing, grinds to a halt

Use htop to find some more information on the culprit. "systemd" is unknown to bash, as it's not in PATH (it can only run as PID 1, but is symlinked to /bin/init). systemctl is used to control systemd from the command line.

PS: Two out-of-context lines from dmesg are meaningless...

edit: explanation

Last edited by Alad (2015-04-01 08:58:06)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#3 2015-04-01 08:55:42

Virus_ST
Member
Registered: 2015-03-20
Posts: 24

Re: System freezing, grinds to a halt

Thanks for the information Alad. The thing is there's no way to access the terminal once my system starts freezing.

PS I'll change the name of the thred, so I can seem a little less ignorant.

Offline

#4 2015-04-01 09:15:18

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,954
Website

Re: System freezing, grinds to a halt

I have two guesses:
- Swapping. Put a memory and swap monitor onto your desktop and check it regularly. When the memory starts to fill, you can expect the problem.
- One of your applications crash and systemd tries to write a dump. That takes much memory and swap, and it is mostly useless for us. You can turn that off: https://wiki.archlinux.org/index.php/Sy … journaling

One more thing, in my experience linux-ck with BFQ turned on handles swapping much better. The system slows down though, but is still usable at least in contrary with the stock kernel. But YMMV, that is true for my system with only 2GB RAM and slow CPU.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#5 2015-04-01 09:17:34

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,954
Website

Re: System freezing, grinds to a halt

Also, when your system gets unresponsive, try to switch to a console by pressing ctrl-alt-F2. That still works most of the time.

Last edited by SanskritFritz (2015-04-01 09:17:53)


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#6 2015-04-02 06:54:30

Virus_ST
Member
Registered: 2015-03-20
Posts: 24

Re: System freezing, grinds to a halt

Thanks heaps SanskritFritz! I'll try everything you proposed. Will get back when (and if) I figure out the source of the problem.

Offline

#7 2015-04-08 11:21:28

Virus_ST
Member
Registered: 2015-03-20
Posts: 24

Re: System freezing, grinds to a halt

So it happened again. I followed SanskritFritz's advice and checked with htop what was happening. Turns out Chromium runs out of memory, or something along those lines. Also, turned out I did not enable swap on boot. So I edited fstab.
Thanks again people!

Offline

#8 2015-04-09 07:38:03

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,954
Website

Re: System freezing, grinds to a halt

You're welcome.
If you're sure that this was the solution, then mark this thread as [solved] for the record.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#9 2015-04-10 08:03:45

Virus_ST
Member
Registered: 2015-03-20
Posts: 24

Re: System freezing, grinds to a halt

I'm not. I'll leave it like this for a while, just to make sure it doesn't happen again. Don't worry though, I'll tag it properly once I'm sure wink

Offline

Board footer

Powered by FluxBB