Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
So I wasn't 100% sure which forum to go to for this question and came here as my system has crashed several times in the last couple of weeks and always has happened whilst i am using my web browser (chromium) --- could be a coincidence
I predominantly always have a browser window open on something so again not sure if this is the cause
So to my actual question, where should I be looking to best diagnose and solve why the system is crashing?
I have tried looking over multiple log files but nothing in particular has lept out at me as a cause
If it's hardware, most likely causes would be bad ram, power supply, or overheating. There are several apps to chose from for monitoring your heat sensors. Wouldn't hurt to install one and set some alerts to trigger when temps get high. Also, clean out the innards of your system (get rid of dust, etc.) and remove any unneeded hardware cards. Give things a look-over checking for any obvious damage - popped open capacitors, melted/burned resistors, etc. Those are not so common a cause for spontaneous crashes, but still worth a look.
If it's software, it's hard to predict what it might be. If you can't determine some repeatable sequence of events that lead to the crash, things can be tough to diagnose.
When it crashes, does power stay on and the system reboot (assuming you have it set to do that)? Or is it an unexpected total "lights out" crash where everything just goes immediately dead? If it's the "lights out" variety, I would more suspect hardware.
You could try to exercise your system to see if you can trigger a reboot. Start up a lot of things and try to overwhelm your memory ("overwhelm" is a bad choice of words, but you get the picture). Transcode some video or something else that is CPU-intensive to try to raise the temperature level.
$ pacman -Qi flashplugin
Name : flashplugin
Version : 11.2.202.297-1
Description : Adobe Flash Player
Architecture : x86_64
URL : http://get.adobe.com/flashplayer
Licenses : custom
Groups : None
Provides : flashplayer
Depends On : mozilla-common libxt libxpm gtk2 nss curl hicolor-icon-theme
Optional Deps : libvdpau: GPU acceleration on Nvidia card [installed]
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 23205.00 KiB
Packager : Ionut Biru <ibiru@archlinux.org>
Build Date : Thu 11 Jul 2013 06:45:29 PM UTC
Install Date : Fri 23 Aug 2013 06:37:58 PM UTC
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature
Is there something more recent than that?
@haertig.
As far as the crash goes, the screen freezes and the mouse and keyboard are unresponsive and if there is a sound playing at the time then the last note is held playing through my speakers.
I have 'exercised' the machine as suggested with the following:
1. transcoded 4 movies at the same time
2. extracted eight 5 - 11GB rar files using a single call to p7zip for each at the same time
3. played a movie
4. had someone else watching a movie via ps3media server
All of the above were happening at the same time and the system seemed happy most of the time ... no crash
As far as the crash goes, the screen freezes and the mouse and keyboard are unresponsive and if there is a sound playing at the time then the last note is held playing through my speakers.
That sounds like a software problem, not hardware or overheating. This description is bringing back memories from way back when when I still used Windows. It used to do this a lot. I haven't experienced this bad behavior in Linux myself, but obviously it can happen - you're seeing it!
When it locks up like this, can you open a new console window? <ctrl><alt><F1> If so, your system hasn't "crashed", rather, some app is misbehaving.
If you can indeed open this new console window, login as root and start killing processes that are running with the hung user's userid. Start killing application processes first, before advancing to windows manager processes, etc. The first thing I would try to kill would be the web browser. See if things improve in the hung console window as you go about your process killing. As a final blow, you can try killing everything running as the hung userid, including the window manager, and restart the window manager up again after the kill.
You can get back to the hung console with <ctrl><alt><F8> usually. It may not be <F8> on your computer, but that's what it is on my system.
@pan64 - Unfortunately I don't currently have another machine in the house so a bit stuck there. I have looked through a large portion of the log files and have not seen any specific kernel issues.
@haertig - as mentioned, the keyboard is unresponsive as trying top go to a console was one of my first ideas
I do believe the issue is somehow linked to the browser so I will try another for a while and see how that goes. If it were the browser, would there be any where I could look, log wise or other,
to see what is happening at that point?
@pan64 - Unfortunately I don't currently have another machine in the house so a bit stuck there. I have looked through a large portion of the log files and have not seen any specific kernel issues.
I do believe the issue is somehow linked to the browser so I will try another for a while and see how that goes. If it were the browser, would there be any where I could look, log wise or other,
to see what is happening at that point?
In your case I think the kernel is frozen, so you have no chance to check what's going on. You may try to create a file and write some info (timestamp, hw temperature) into it time by time and you will see if it still works after the crash.
Also you may try even a smartphone to log in and check if it can alive that crash.
If not you should need to identify the kernel module (I think that will be the video driver). You can try to replace it.
An app may not lock up anything but itself, but obviously there are bugs. Most likely memory leaks and/or memory corruption (= data was overwritten). The kernel (os) will take care about all the apps, therefore apps cannot damage other apps. The only exception is the kernel itself. The kernel serves all the apps but it has its own memory and it can be corrupted by the loaded modules. You need to try different drivers and/or different FB.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.