SliTaz SliTaz Forum

You are not logged in.

#1 2015-05-12 20:36:35

new_u
Member
Registered: 2014-03-30
Posts: 93

System freezes.

Once in a while firefox will get 100% processor time and cause the whole system to freeze. The only way to regain control is to hit the reset button.  I think this happens when firefox tries to load a page with too many images, but I'm not completely sure. (I think javascript bloatware also plays a role)

I'm setting firefox's priority to 10 after launching it, but it doesn't make any difference.

I assumed the kernel had some high priority process that would be able to kill any user process that misbehaved, but that doesn't seem to be the case?

Offline

#2 2015-05-13 21:24:16

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: System freezes.

This seems like it could be handy...

"The magic SysRq key is a key combination understood by the Linux kernel, which allows the user to perform various low-level commands regardless of the system's state. It is often used to recover from freezes, or to reboot a computer without corrupting the filesystem."

...but apparentely it hasn't been compiled into SliTaz kernel?

Offline

#3 2015-05-14 09:51:14

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: System freezes.

Which extensions do you have loaded?

Offline

#4 2015-05-15 06:46:35

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: System freezes.

Module                  Size  Used by    Tainted: P

aes_i586                6816  2

aes_generic            25742  1 aes_i586

xts                     1709  1

gf128mul                5134  1 xts

dm_crypt                8734  1

dm_mod                 44603  3 dm_crypt

k8temp                  2391  0

slamr                 415694  0

hwmon                    993  1 k8temp

parport_pc             16061  0

floppy                 41138  0

parport                20983  1 parport_pc

button                  3602  0

snd_seq                33220  0

snd_seq_device          3757  1 snd_seq

ath9k                  60102  0

mac80211              145388  1 ath9k

ath9k_common            1281  1 ath9k

ath9k_hw              226122  2 ath9k,ath9k_common

ath                     9811  2 ath9k,ath9k_hw

cfg80211               99896  3 ath9k,mac80211,ath

rfkill                 10682  1 cfg80211

snd_hda_codec_realtek   202176  1

snd_hda_intel          15886 10

snd_hda_codec          45027  2 snd_hda_codec_realtek,snd_hda_intel

snd_hwdep               3808  1 snd_hda_codec

snd_pcm                43737  5 snd_hda_intel,snd_hda_codec

snd_timer              12515  5 snd_seq,snd_pcm

snd                    33394 22 snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer

soundcore               3357  1 snd

snd_page_alloc          4853  2 snd_hda_intel,snd_pcm

rtc                     6449  0

Offline

#5 2016-10-25 21:20:33

Guest
Guest

Re: System freezes.

hi folks,

same problem on Firefox .  Sometimes with the 4.0  .. often with the lastest rolling. Both running Live-usb. Have to reboot. It doesnt freeze when 100% but often when many tabs are open

It's because Firefox cache is messing with the RAM and the RAM-disk of the Live session ?

Also, it looks like the ethernet disconnects some times with the lastest rolling

Atom N270 with 1 GB of Ram

#6 2016-10-26 01:20:59

hackdorte
Member
Registered: 2014-06-05
Posts: 83

Re: System freezes.

Hi moulefrite

Try:

Open Firefox and open url : about:config

Search for: browser.cache.disk.enable :: value » true

(!!Double click and change value to » false)

Search for: browser.cache.memory.enable :: value » false

(!!Double click and change value to » true)

Search for: browser.cache.memory.max_entry_size

(!! Double click and change the value to whatever you want or change to "-1" to automatic.)

Warning: This method are that your tabs won't survive a browser crash.

..

Offline

#7 2016-10-28 12:14:12

Guest
Guest

Re: System freezes.

Thx hackdorte.

It makes sense as Firefox cache (a) mixed up with the free RAM (b) and the virtual RAM-disk (c) of the live session. Your solution is to put the (a) into (b) in order the limit is never reached (-> no freeze) as the (a) will be dynamicaly allocated

#8 2016-10-28 12:22:05

Guest
Guest

Re: System freezes.

If official Slitaz incorporates Firefox, this should be a default configuration.

Nowadays, Internet became a technology garbage full of scripts and analytics. No way an Atom first generation with 1GB can deal with this without freezing when many tabs open.

#9 2016-11-08 09:57:13

goddeex
Member
Registered: 2016-11-07
Posts: 10

Re: System freezes.

Hello, have you verified your hardware with MemTest86 ?

My laptop was hanging also when CPU at 100 % when a flash application on the browser was using most of the CPU power.

Launched MemTest86 from Slitaz boot CD and then it finaly freezes after some time so I  guess the hardware is the problem. Maybe thermal paste has been getting too old or cooling fan dirty or maybe a RAM problem.

Appart from that, Slitaz installation was alright and I could use the computer normaly when CPU was not running at 100 %. Because Slitaz rarely use a lot of CPU power.

Good luck.

Offline

#10 2016-11-08 11:07:10

andreid
Member
Registered: 2016-10-25
Posts: 78

Re: System freezes.

Hi,

new_u

Try Pale Moon (based on Firefox), because clear(last editions) of Firefox not for Slitaz as well, its not optimized for system. In my case even repairing  about:config does not take effects.

Offline

#11 2016-11-09 07:59:44

goddeex
Member
Registered: 2016-11-07
Posts: 10

Re: System freezes.

As for me; I finally unmounted the Laptop (an old core 2 duo).

The thermal paste was bad, there was also small amount of dust also on the heat pipe.

Launched MemTest86 again an no problem anymore when CPU is at 100%

However unmounting this laptop (HP laptop) was not for the faint hearted !

I prefer to unmount a Dell laptop (easyier better built).

Notice that the Core 2 duo was not getting very hot however; apparently.

And that it could run during 1 or 2 hours without problem provided that CPU use was low.

I have seen the same problem with a Dell laptop but it was switching off instead of hanging like the HP laptop does.

Offline

#12 2016-11-11 01:17:39

hackdorte
Member
Registered: 2014-06-05
Posts: 83

Re: System freezes.

Currently the Opera browser is very light and functional. Firefox is very slow in the notebook and android arm.

Opera is fast with new adblocker.

Offline

#13 2016-11-11 11:21:59

goddeex
Member
Registered: 2016-11-07
Posts: 10

Re: System freezes.

Hello; as for me I ended up with trying some tricks I can't describe here. Because it is not the subject. Firefox and Linux were alright; it was just that a chip the mobo was dying. Let's keep things calm with Hewlett Packard brand.

Ironically the laptop was said to withstand military MIL-STD 810F standards !!!

Offline

#14 2016-11-14 15:42:28

Guest
Guest

Re: System freezes.

Ive installed Slitaz 64 rooling on HD, 4GB of Ram

It happens that my thinkpad x230 totaly freezes even when Firefox is closed (not sure) (an i configure Firefox like describen before) . I have to force reboot.

Is there any tool which will help me to know where the problem comes from ? I made memory test on Windows and no apparently nothing comes from the memory ..

I had same freeze issues while playing games on Windows

thx

#15 2016-11-15 06:47:02

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: System freezes.

@moulefrite

fore me it looks like one ram module is bad (it was also your idea, as you run win memtest) - you should have 2 ram modules with 2 GB - try to start your laptop with only one module and see, if it works better with one of the 2

Offline

#16 2016-11-20 17:24:38

goddeex
Member
Registered: 2016-11-07
Posts: 10

Re: System freezes.

Hello,

As for me I think there is really a software problem with the Linux kernel and/or firefox. I fixed the laptop because it had some issues, it was overheating. So I replaced the thermal paste on cpu and thermal pad on GPU. Now it doesn't hang any more, with MemTest86 and CPU Burn-in. I also had to reflew the motherboard because the heat destroyed the solder connections.

So now it seams to withstands the heat.

But something maybe gstreamer or the viedo card make it hang with official-firefox after 30 minutes of use. It freezes. So I have to test further, but I think there might be a problem with this firefox.

Offline

#17 2016-11-20 17:29:30

goddeex
Member
Registered: 2016-11-07
Posts: 10

Re: System freezes.

Hello moulefrite,

You'd better test your memory with Memtest86 because the Windows test is not really reliable it doesn't always detect errors. However, if you use one of the newer versions of MemTest86 you have to launch the test in legacy mode w/o detection of the chip.

Bonne chance.

Offline

#18 2016-12-01 19:53:32

goddeex
Member
Registered: 2016-11-07
Posts: 10

Re: System freezes.

Hello, one update concerning my own problem of system freeze: the problem appears on Firefox, but also on Midori and even on VLC when watching videos. And it happens also under Windows also when watching videos. So the problem is on the video card: but when I monitor the sensors with the "sensors" command it does not come above 60°; it doesn't seam heat so much.

So I'm afraid the temp sensor of the GPU is not great; not representative, and that there is however a thermal problem. I have to test some kind of thermal pad with a better thermal conductivity and see if it improves. I told you that I changed the thermal pad but unfortunately I put one that was not so great regarding thermal conductivity. So I may have made a mistake.

Because my system is quite stable appart when watching videos I think the problem is with the graphic card.

Offline

#19 2016-12-09 10:44:23

goddeex
Member
Registered: 2016-11-07
Posts: 10

Re: System freezes.

Hello, I need to post an update concerning this problem.

It seams that the system hangs each time the processor reach 55°C.

I can see the temp increasing by 1° every 30 seconds when watching videos !

Or when trying to load the cpu with a "while true; do true; done".

So maybe 55°C is high for a Core 2 duo processor ?

What do you think about it ?

I have at work a Core i5 which is reaching 55°C whithout problems.

Offline

#20 2016-12-10 14:01:38

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: System freezes.

You can downclock cpu:

[c]tazpkg -gi linux-acpi
tazpkg -gi linux-cpufreq
grep Hz /proc/cpuinfo
modprobe acpi-cpufreq
modprobe cpufreq_powersave
echo powersave | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor >/dev/null
grep Hz /proc/cpuinfo[/c]
Or... clean dust inside laptop.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.57 MiB (Peak: 1.77 MiB) ]