Linux Mint 17.3 System Hanging | Troubleshooting Help
Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Linux Mint 17.3 System Hanging | Troubleshooting Help
I switched to Linux ~2 years ago. Mostly it's been great. Recently my system has started hanging, maybe once-or-twice per week. The CPU and RAM usage isn't maxed (maybe 50%), but the system becomes unresponsive to the point of forcing a hard reboot.
I'm not sure how to troubleshoot this. Are there logs or something I can dig through?
System Info:
Operating System: Linux Mint 17.3 (64-bit)
Cinnamon Desktop: v2.8.8
Linux Kernel: 4.4.0-21-generic
Processor: Intel Core i7-4700MQ CPU @ 2.40GHz x 4
Memory: 7.5 GiB
Hard Drive: 953.3 GB
Graphics Card: NVIDIA GK107M [GeForce GT 750M]
You can also look at top and ps. Sometimes, alas, system updates (you do regular updates?) make a previously smooth running system run dorkily....just like with Windows and the Apple OS
I can't say for sure which programs are open when it's happening. I spend my days as a web developer so I'd guess 90+% of the time I've got the following open when the system hangs:
Chrome
Atom
File Browser (nemo)
Terminal
It looks like the journald displays logs concerning systemd. The Linux Mint 17 series doesn't use systemd by default. At least I don't think it does. Here's my dpkg output:
Code:
$ dpkg -l systemd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un systemd <none> <none> (no description available)
I can't say for sure which programs are open when it's happening. I spend my days as a web developer so I'd guess 90+% of the time I've got the following open when the system hangs:
It seems clear that you aren't choking it with applications. I understand that Chrome runs each tab sandboxed in some way, but that's a misty water-colored memory of something I read once.
Mint 17 stores its logs in /var/log, the old-fashioned way. I would start with mintsystem.log, syslog, and Xorg.0.log, but, frankly, if the system is freezing, it might not have the opportunity to log what's causing the freeze. It's the best place to start looking, though.
Update:
I had a late night thought: Perhaps you could run top or a similar command in a window. If the computer is freezing, it probably shouldn't be minimized, because you would lose access to it--perhaps it could be spread out in a wide window of very low height across the bottom of the screen. When the computer freezes, that might give you an idea of what process was using the most resources at the time of the freeze.
I know it sounds kind of loony, but I figured it was worth sharing.
For security reasons alone, I'd like to suggest you do a backup of data and /etc, list of programs and then zero the master boot record and install a newer version of LM like 18. Because
For security reasons alone, I'd like to suggest you do a backup of data and /etc, list of programs and then zero the master boot record and install a newer version of LM like 18. Because http://blog.linuxmint.com/?p=2994
The February event when the website was hacked is ancient history, and not relevant to the current Mint 17.
In answer to your question about systemd. Mint 17.x does use a few systemd elements.
Last edited by TxLonghorn; 10-12-2016 at 08:15 AM.
Cool! Is this `top` display on a *remote* computer (logging-in to freezing Mint)?
Did this freeze? Can you still `ping` the Mint system from 'this' system? (What is 'this system'?)
Did you play with sysrq (on the freezing/frozen Mint system)?
Can you [sort of] watch for `top` showing like this kworker using a lot of TIME?
(to try to catch it, before the system freezes) Try: sudo lsof -p <its PID>
Here's my web-search for this (it returns tons of stuff that I know NOthing about!):
kworker how to determine|"find out"|tell what it is doing|running?
kworker (the k is for kernel, not KDE) is the likely culprit.
Here is a helpful discussion of kworker → http://askubuntu.com/questions/33640...much-cpu#52299
The first thing I would try is to switch to the latest (supported) kernel available.
Open the Update Manager > View menu > Linux kernels.
Go to the bottom of the list and install the 4.4.0-45 kernel. If that doesn't work you can try the 4.5 kernel, which works for me in my 17.3 - but it is not LTS. (I am not sure if the 4.5 has been fixed for the Mad Cow or Crazy Cow or whatever that Cow bug was recently - but the 4.4.0-45 kernel does include the bug fix.)
EDIT: It was named "Dirty Cow"...
Quote:
Oct 21, 2016
"Ubuntu users urged to patch their systems immediately"
Canonical urged all users to patch their systems immediately by installing linux-image-4.8.0-26 (4.8.0-26.28) for Ubuntu 16.10, linux-image-4.4.0-45 (4.4.0-45.66) for Ubuntu 16.04 LTS, linux-image-3.13.0-100 (3.13.0-100.147) for Ubuntu 14.04 LTS, and linux-image-3.2.0-113 (3.2.0-113.155) for Ubuntu 12.04 LTS, as well as linux-image-4.4.0-1029-raspi2 (4.4.0-1029.36) for Ubuntu 16.04 LTS for Raspberry Pi 2.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.