Apps freezing for several seconds in stretch

If none of the more specific forums is the right place to ask

Re: Apps freezing for several seconds in stretch

Postby Faroe » 2017-04-17 19:15

acewiza wrote:Thunar is well-know for freeze issues.


Oh, indeed, I'd had my share of headaches caused by Thunar before this freezing problem appeared. I'm glad Thunar 1.6.11 doesn't crash every time I rename a file, like 1.6.10 would. Anyway, Thunar has a feature set that I'm happy with and I don't think it can be blamed for the freezing. It happens even when Thunar is not running in daemon mode in the background.

pylkko wrote:the OP said it occurs in Windows also


The symptoms in Windows 7 are much more troubling: the entire system just reboots itself without any obvious reason. However, I have no idea if those crashes are related to the freezes in Debian. In other words, they could very well be. I think they began occurring around the same time, but for all I know, it could simply be a case of Windows crashing because it is Windows.

phenest wrote:What temperatures does the BIOS report?


The ASUS UEFI BIOS Utility reports CPU temperatures between 25°C and 27°C, which corresponds to the value of the CPU's "Physical id 0" sensor as reported by `sensors` when no resource-hungry software is running. The BIOS utility doesn't monitor the temperature of individual CPU cores.

phenest wrote:When was the last time the thermal paste was changed?


I'm fairly sure it's never been changed. The machine was assembled less than sixteen months ago and I haven't touched the stuff.

Thanks for all the support. I'll try to assemble a list of software that suffers from the freezes and look for a pattern. I probably won't have time to come back to this until next weekend, but please let me know if there's anything else I should look into.
Faroe
 
Posts: 11
Joined: 2013-06-04 19:26

Re: Apps freezing for several seconds in stretch

Postby Bulkley » 2017-04-17 19:47

Freezes are very often hardware related as posters above hinted at. A failing video card can drive you nuts. Software that overloads a video card or memory can do it.

Top of the list should be software that does not agree with the assigned OS, in this case Stretch.
Bulkley
 
Posts: 5077
Joined: 2006-02-11 18:35

Re: Apps freezing for several seconds in stretch

Postby pylkko » 2017-04-17 20:20

phenest wrote:That eliminates a software problem.

Almost, I'd say, but not entirely. Since there are settings and configurations that can cause hardware to misbehave or even brake (for example some SSD's don't tolerate SATA Active Link Power Management, or you can do firmware updates from software that would cause hardware to misbehave in many OS's etc.). Also, the problem might only appear to be the same in the two OS's but actually be distinct problems.

OP also said that drive is using SATA 3.1, so there should be no periodic system freezes from frequent TRIM (is asynchronous after 3.1).

Faroe, are you using "discard"?

After you said that you got these freezes using images, I immediately thought if this problem might be worse with say audio. But now I reread your post and see that you do say in it that multichannel audio in Audacity is really behaving in odd ways. Are the audio files that you are editing on the HDD or the SSD? Audacity, I believe, uses a temp folder on the system disk, so that would be on the SSD.
User avatar
pylkko
 
Posts: 855
Joined: 2014-11-06 19:02

Re: Apps freezing for several seconds in stretch

Postby dasein » 2017-04-17 21:45

I may be giving a long-winded +1 to Bulkley here, I can't quite tell.

It's way too early to be making a list and checking it twice to find out which software is naughty and nice when hardware hasn't been ruled out (or anywhere close to it). If I've read the seemingly contradictory posts of the OP correctly...

1) Everything was running fine for over a year, Linux ran great. Windows ran great. All was sunshine and puppies.

2) Two different OSes are currently exhibiting problems simultaneously on the same rig. The symptoms are admittedly markedly different, which makes it impossible to determine the extent to which these issues are related. But as a purely statistical matter, Cosmic Coincidence is the least likely explanation for cross-OS borkage.

3) Interacting bugs within specific applications is also a very unlikely explanation. If it were the applications themselves, some percentage of the other folks who use those same apps would be reporting similar issues. I haven't done a Web search for similar symptoms with other distros (that's the OP's job after all), but at least as far as Debian goes, his experience seems to be unique.

4) The "stress" conditions reported by the OP don't strike me as particularly stressful for a multi-core rig with 8GB of RAM.

5) The OP doesn't say whether s/he's fully updated on Stretch, which, given the timing, is absolutely crucial. Eight weeks ago corresponds roughly to when Stretch would be at its buggiest-of-all-time.

6) Am I the only one who wants to see this OP's sources.list? Because I most certainly do.

Diagnostic/remedial steps that I haven't seen suggested...

1) Update Stretch and repro the problem

2) Repro the problem using another distro--say, Fedora (live medium is fine)

3) Repro the problem using a different set of initial "stressors" (say, 20 tabs open in Firefox)

There are still plenty of untried diagnostic steps (isolating RAM slots, running with only one drive active, ensuring that memtest is updated to the latest version). But they are all less likely to be informative than these initial steps.
User avatar
dasein
 
Posts: 7272
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Apps freezing for several seconds in stretch

Postby Faroe » 2017-04-22 17:17

pylkko wrote:Faroe, are you using "discard"?


No, I'm not. I assume you're referring to the mount option, which doesn't appear in my /etc/fstab. Also `findmnt -O discard` gives no output but `findmnt -O nodiscard` does. Is that the correct way to check this?

pylkko wrote:But now I reread your post and see that you do say in it that multichannel audio in Audacity is really behaving in odd ways. Are the audio files that you are editing on the HDD or the SSD?


The files are on the HDD. I should point out that the out-of-sync error I described happens quite rarely. More often Audacity freezes in the same way as Mirage, i.e. during playback (even if there are only two tracks and one is muted), it stops refreshing the window for several seconds, while the audio keeps playing as usual.

dasein wrote:4) The "stress" conditions reported by the OP don't strike me as particularly stressful for a multi-core rig with 8GB of RAM.


I'm sorry if I haven't been very clear. The conditions I've reported are not "stress" conditions, just ordinary everyday tasks. I haven't tried to run any actual stress tests yet.

dasein wrote:5) The OP doesn't say whether s/he's fully updated on Stretch, which, given the timing, is absolutely crucial.


I believe I am. The system automatically updates the package cache daily and notifies me if there are upgradable packages. These days there are several almost every day.

If I run `sudo apt-get update` and `sudo apt-get upgrade` manually, the latter says:

Code: Select all
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


dasein wrote:6) Am I the only one who wants to see this OP's sources.list? Because I most certainly do.


I'm glad you asked. I wouldn't be at all surprised if the file was somehow messed up.

Code: Select all
#

# deb cdrom:[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 xfce-CD Binary-1 20160123-19:00]/ jessie main

deb http://httpredir.debian.org/debian/ stretch main non-free contrib
deb-src http://httpredir.debian.org/debian/ stretch main non-free contrib

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://httpredir.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch-updates main contrib non-free

# jessie-backports, previously on backports.debian.org
#deb http://httpredir.debian.org/debian/ jessie-backports main contrib non-free
#deb-src http://httpredir.debian.org/debian/ jessie-backports main contrib non-free


It's basically inherited from jessie. I noticed only just now that the first pair of deb/deb-src lines contains "main non-free contrib" while in the rest of them, the order of the components is "main contrib non-free". That inconsistency must have been there for years. I changed the order of the first lines to match the others and ran `sudo apt-get update` and `sudo apt-get upgrade` again, but the ordering doesn't seem to make a difference. Not that I expected any.

My /etc/apt/sources.list.d/ is empty.

dasein wrote:2) Repro the problem using another distro--say, Fedora (live medium is fine)


I guess I should do just that, once I have a little more spare time.

Thanks for all the feedback, again.
Faroe
 
Posts: 11
Joined: 2013-06-04 19:26

Re: Apps freezing for several seconds in stretch

Postby Faroe » 2017-04-23 07:31

Another quick update: I ran `fstrim -v` on the SSD partition where my photos are kept and got this result:
Code: Select all
/media/photo: 22.8 GiB (24443183104 bytes) trimmed

Unfortunately, Mirage freezes just like before, if Gimp is running at the same time.
Faroe
 
Posts: 11
Joined: 2013-06-04 19:26

Re: Apps freezing for several seconds in stretch

Postby phenest » 2017-04-23 08:42

Are you trying to fix the problem you have on Windows? Just because they're doing different things, it doesn't mean the underlying problem is different. They are different OS's and will react in different ways.

Here's some ideas:
1. If you have another computer with similar spec, put your Debian drive in that to see if the problem still occurs.
2. If you have a spare hard drive, install Debian again (or Windows) to see if the problem still occurs.
Dell XPS 17 L702X i7 2860QM 2.5GHz - 32GB RAM - 4G WWAN - Pioneer TD05-BDR
NEC Spirit 550 P4 3.6GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS P8P67 EVO i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1160
Joined: 2010-03-09 09:38
Location: The Matrix

Previous

Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable