[opensuse] Unresponsive laptop
Hi, Sometimes since I upgraded my laptop to 15.0, and after it has been sitting alone doing nothing for hours in the sitting room, I get to it and it doesn't respond. Right now I tried to connect to it via ssh and it is responding very slow - yast failed to start, for instance. I see this in top, sorted by %CPU: top - 21:47:11 up 1 day, 19:45, 5 users, load average: 9.92, 11.82, 15.03 Tasks: 291 total, 2 running, 289 sleeping, 0 stopped, 0 zombie %Cpu(s): 1.2 us, 18.7 sy, 0.0 ni, 2.2 id, 75.6 wa, 0.0 hi, 2.2 si, 0.0 st KiB Mem : 3934240 total, 106184 free, 3426104 used, 401952 buff/cache KiB Swap: 6289412 total, 4982140 free, 1307272 used. 51764 avail Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 38 root 20 0 0 0 0 0 S 25.39 0.000 20:48.33 kswapd0 <=== 12526 cer 20 0 1436224 93948 2964 20680 D 3.715 2.388 84:44.48 chrome 12670 cer 20 0 1645688 204300 16424 24272 D 2.786 5.193 60:24.62 chrome 16330 cer 20 0 836828 81780 18628 29160 S 1.548 2.079 3:19.68 chrome 4355 cer 20 0 9.857g 1.168g 33104 0 D 1.238 31.14 5:10.44 firefox 3421 cer 20 0 41464 916 0 0 D 0.929 0.023 4:08.69 top 4030 cer 20 0 875056 7184 716 1796 D 0.929 0.183 9:58.98 gkrellm 15478 root 20 0 40088 996 144 0 R 0.929 0.025 0:01.65 top 4067 cer 20 0 481072 7224 1508 1860 S 0.619 0.184 7:44.24 panel-18-weathe 15481 cer 20 0 41364 1356 488 0 R 0.619 0.034 0:01.39 top 7 root 20 0 0 0 0 0 S 0.310 0.000 0:10.18 ksoftirqd/0 8 root 20 0 0 0 0 0 S 0.310 0.000 0:59.67 rcu_sched ... Why is "kswapd0" using 25% of the CPU? The disk is SSD, I have often way more swap in use and the machine is very responsive. Not now. Sorting by memory (RES), I do not see unexpected memory hungry processes, and they have been there for hours: top - 21:48:19 up 1 day, 19:46, 5 users, load average: 9.18, 11.24, 14.59 Tasks: 291 total, 4 running, 287 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.4 us, 18.4 sy, 0.0 ni, 9.9 id, 68.1 wa, 0.0 hi, 1.1 si, 0.0 st KiB Mem : 3934240 total, 106132 free, 3417824 used, 410284 buff/cache KiB Swap: 6289412 total, 4956028 free, 1333384 used. 56300 avail Mem PID USER PR NI VIRT RES SHR SWAP USED S %CPU %MEM TIME+ COMMAND 4355 cer 20 0 9.857g 1.168g 33104 0 1.168g D 0.946 31.13 5:11.20 firefox 4603 cer 20 0 2189304 497600 20004 0 497600 S 0.000 12.65 0:20.22 Web Content 4476 cer 20 0 2121180 369828 4 0 369828 S 0.000 9.400 0:31.32 Web Content 12670 cer 20 0 1645688 204172 16424 24272 228444 S 2.208 5.190 60:26.25 chrome 4574 cer 20 0 1800896 123752 4776 0 123752 S 0.000 3.146 0:36.18 Web Content 4616 cer 20 0 1748260 113256 4444 0 113256 S 0.000 2.879 0:09.17 Web Content 12526 cer 20 0 1436224 93956 2964 20672 114628 D 4.416 2.388 84:47.28 chrome 15650 cer 20 0 896392 84652 12128 31548 116200 D 1.262 2.152 10:37.98 chrome 16330 cer 20 0 836828 81516 19036 29160 110676 D 0.631 2.072 3:20.19 chrome 12563 cer 20 0 2077116 79692 6032 228036 307728 S 0.000 2.026 61:25.77 chrome 15996 cer 20 0 827280 77852 15320 24792 102644 S 0.631 1.979 3:16.00 chrome 15952 cer 20 0 832136 77220 2944 26892 104112 S 0.000 1.963 3:07.12 chrome 15265 cer 20 0 845048 57020 728 33540 90560 S 0.000 1.449 11:23.63 chrome 16400 cer 20 0 793004 41616 744 26940 68556 S 0.315 1.058 1:22.59 chrome 2703 root 20 0 450280 41456 28532 15100 56556 D 0.631 1.054 22:37.38 X 4003 cer 20 0 869880 10892 8 6192 17084 S 0.000 0.277 0:05.23 xfdesktop 4038 cer 20 0 1036900 10676 28 17256 27932 S 0.000 0.271 0:37.96 xfce4-terminal 4030 cer 20 0 875056 8264 1888 1888 10152 S 0.631 0.210 9:59.47 gkrellm I went to it locally, touched a key, I see the backlight power up but I don't get the prompt to the password to kill the screensaver. Response on the command line via ssh is very, very slow. I'm trying to see the log now. <3.6> 2018-12-08 18:01:32 minas-tirith smartd 1358 - - Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 60 to 61 <3.6> 2018-12-08 18:08:20 minas-tirith systemd 1 - - Started Daily Cleanup of Snapper Snapshots. <3.6> 2018-12-08 18:08:20 minas-tirith dbus-daemon 1360 - - [system] Activating service name='org.opensuse.Snapper' requested by ':1.202' (uid=0 pid=12014 comm="/usr/lib/snapper/systemd-helper --cleanup ") (using servicehelp er) <3.6> 2018-12-08 18:08:20 minas-tirith dbus-daemon 1360 - - [system] Successfully activated service 'org.opensuse.Snapper' <3.6> 2018-12-08 18:13:40 minas-tirith systemd 1 - - Starting Cleanup of Temporary Directories... <3.5> 2018-12-08 18:13:40 minas-tirith systemd-tmpfiles 12106 - - [/etc/tmpfiles.d/tmp.conf:53] Duplicate line for path "/var/tmp", ignoring. <3.5> 2018-12-08 18:13:40 minas-tirith systemd-tmpfiles 12106 - - [/usr/lib/tmpfiles.d/var.conf:21] Duplicate line for path "/var/lib", ignoring. <3.5> 2018-12-08 18:13:40 minas-tirith systemd-tmpfiles 12106 - - [/usr/lib/tmpfiles.d/var.conf:23] Duplicate line for path "/var/spool", ignoring. <3.6> 2018-12-08 18:13:41 minas-tirith systemd 1 - - Started Cleanup of Temporary Directories. <1.6> 2018-12-08 19:00:01 minas-tirith run-crons 13062 - - leafnode.cron: OK <1.6> 2018-12-08 19:00:01 minas-tirith run-crons 13062 - - mine-clocksync: OK <1.4> 2018-12-08 19:00:20 minas-tirith evolution-sourc 4424 - - secret_service_search_sync: must specify at least one attribute to match <3.6> 2018-12-08 19:00:20 minas-tirith systemd 1 - - Started Timeline of Snapper Snapshots. <3.6> 2018-12-08 19:00:21 minas-tirith dbus-daemon 1360 - - [system] Activating service name='org.opensuse.Snapper' requested by ':1.204' (uid=0 pid=13121 comm="/usr/lib/snapper/systemd-helper --timeline ") (using servicehel per) <3.6> 2018-12-08 19:00:21 minas-tirith dbus-daemon 1360 - - [system] Successfully activated service 'org.opensuse.Snapper' <1.6> 2018-12-08 20:00:01 minas-tirith run-crons 14265 - - leafnode.cron: OK <1.6> 2018-12-08 20:00:01 minas-tirith run-crons 14265 - - mine-clocksync: OK <3.6> 2018-12-08 20:00:31 minas-tirith systemd 1 - - Started Timeline of Snapper Snapshots. <3.6> 2018-12-08 20:00:31 minas-tirith dbus-daemon 1360 - - [system] Activating service name='org.opensuse.Snapper' requested by ':1.206' (uid=0 pid=14328 comm="/usr/lib/snapper/systemd-helper --timeline ") (using servicehelper) <3.6> 2018-12-08 20:00:31 minas-tirith dbus-daemon 1360 - - [system] Successfully activated service 'org.opensuse.Snapper' <3.6> 2018-12-08 20:01:32 minas-tirith smartd 1358 - - Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 61 to 62 <3.6> 2018-12-08 20:31:33 minas-tirith smartd 1358 - - Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 62 to 54 <3.6> 2018-12-08 21:00:37 minas-tirith systemd 1 - - Started Timeline of Snapper Snapshots. <3.6> 2018-12-08 21:01:34 minas-tirith smartd 1358 - - Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 54 to 47 <1.6> 2018-12-08 21:08:11 minas-tirith run-crons 15021 - - leafnode.cron: OK <1.6> 2018-12-08 21:09:18 minas-tirith run-crons 15021 - - mine-clocksync: OK <3.6> 2018-12-08 21:11:06 minas-tirith dbus-daemon 1360 - - [system] Activating service name='org.opensuse.Snapper' requested by ':1.208' (uid=0 pid=15024 comm="/usr/lib/snapper/systemd-helper --timeline ") (using servicehelper) <4.5> 2018-12-08 21:11:30 minas-tirith dbus-daemon 1360 - - [system] Failed to activate service 'org.opensuse.Snapper': timed out (service_start_timeout=25000ms) <3.6> 2018-12-08 21:11:41 minas-tirith systemd-helper 15024 - - Failure (org.freedesktop.DBus.Error.TimedOut). <3.5> 2018-12-08 21:11:46 minas-tirith systemd 1 - - snapper-timeline.service: Main process exited, code=exited, status=1/FAILURE <3.5> 2018-12-08 21:11:48 minas-tirith systemd 1 - - snapper-timeline.service: Unit entered failed state. <3.4> 2018-12-08 21:11:49 minas-tirith systemd 1 - - snapper-timeline.service: Failed with result 'exit-code'. <3.6> 2018-12-08 21:31:33 minas-tirith smartd 1358 - - Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 47 to 46 <0.5> 2018-12-08 21:39:10 minas-tirith kernel - - - [99721.083286] FS-Cache: Loaded <0.5> 2018-12-08 21:39:10 minas-tirith kernel - - - [99721.296443] FS-Cache: Netfs 'nfs' registered for caching <0.5> 2018-12-08 21:39:12 minas-tirith kernel - - - [99723.921745] Key type dns_resolver registered <0.5> 2018-12-08 21:39:12 minas-tirith kernel - - - [99723.990207] NFS: Registering the id_resolver key type <0.5> 2018-12-08 21:39:12 minas-tirith kernel - - - [99723.990223] Key type id_resolver registered <0.5> 2018-12-08 21:39:12 minas-tirith kernel - - - [99723.990224] Key type id_legacy registered <1.4> 2018-12-08 21:39:30 minas-tirith baloo_file 4183 - - QObject::connect: invalid null parameter <3.6> 2018-12-08 21:41:05 minas-tirith dbus-daemon 1360 - - [system] Activating service name='org.opensuse.Snapper' requested by ':1.209' (uid=0 pid=15393 comm="/usr/bin/snapper create --type=pre --cleanup-algor") (using servicehelper) <4.6> 2018-12-08 21:41:27 minas-tirith sshd 15373 - - Accepted publickey for cer from 192.168.1.14 port 35238 ssh2: RSA SHA256:domyQmwzSv4RGTBnyqQtTl5MSxLX9JYfyFL5sMqDEYE <4.5> 2018-12-08 21:41:30 minas-tirith dbus-daemon 1360 - - [system] Failed to activate service 'org.opensuse.Snapper': timed out (service_start_timeout=25000ms) <4.6> 2018-12-08 21:41:34 minas-tirith systemd-logind 1485 - - New session 13 of user cer. <3.6> 2018-12-08 21:41:34 minas-tirith systemd 1 - - Started Session 13 of user cer. <10.6> 2018-12-08 21:41:37 minas-tirith sshd 15373 - - pam_unix(sshd:session): session opened for user cer by (uid=0) The activity at 21:39 with NFS is related to me starting "yast2 single", my scripts imports an NFS share. It is then that I found the machine non responding. I'm trying to login into another ssh as root or user, but I get kicked out after minutes of waiting. "/usr/sbin/iotop -o -d 3.3333" shows: (takes minutes to start) Doesn't start, and ctrl-c hangs. I have no terminal left to see that is going on. I'll leave the machine running as is, waiting for ideas, what to check or do - if I get the prompt back. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 08/12/2018 22.15, Carlos E. R. wrote:
I'll leave the machine running as is, waiting for ideas, what to check or do - if I get the prompt back.
I got one prompt back, killed firefox, and machine responds again normally. What was going on? top - 22:37:19 up 1 day, 20:35, 5 users, load average: 1.30, 11.14, 15.73 Tasks: 287 total, 1 running, 286 sleeping, 0 stopped, 0 zombie %Cpu(s): 3.6 us, 2.0 sy, 0.0 ni, 94.2 id, 0.0 wa, 0.0 hi, 0.2 si, 0.0 st KiB Mem : 3934240 total, 2308128 free, 1144640 used, 481472 buff/cache KiB Swap: 6289412 total, 4966268 free, 1323144 used. 2360628 avail Mem PID USER PR NI VIRT RES SHR SWAP USED S %CPU %MEM TIME+ COMMAND 12670 cer 20 0 1645688 228052 38636 24252 252304 S 0.662 5.797 61:36.50 chrome 12526 cer 20 0 1436224 123708 32884 20636 144344 S 0.662 3.144 85:51.69 chrome Swap usage is similar. Previously 1333384, now 1323144. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 12/08/2018 04:38 PM, Carlos E. R. wrote:
On 08/12/2018 22.15, Carlos E. R. wrote:
I'll leave the machine running as is, waiting for ideas, what to check or do - if I get the prompt back. I got one prompt back, killed firefox, and machine responds again normally.
What was going on?
top - 22:37:19 up 1 day, 20:35, 5 users, load average: 1.30, 11.14, 15.73 Tasks: 287 total, 1 running, 286 sleeping, 0 stopped, 0 zombie %Cpu(s): 3.6 us, 2.0 sy, 0.0 ni, 94.2 id, 0.0 wa, 0.0 hi, 0.2 si, 0.0 st KiB Mem : 3934240 total, 2308128 free, 1144640 used, 481472 buff/cache KiB Swap: 6289412 total, 4966268 free, 1323144 used. 2360628 avail Mem
PID USER PR NI VIRT RES SHR SWAP USED S %CPU %MEM TIME+ COMMAND 12670 cer 20 0 1645688 228052 38636 24252 252304 S 0.662 5.797 61:36.50 chrome 12526 cer 20 0 1436224 123708 32884 20636 144344 S 0.662 3.144 85:51.69 chrome
Swap usage is similar. Previously 1333384, now 1323144.
Firefox has long had a problem with bogging down the system. There have been many times I've had to kill it for that reason. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/8/18 10:15 PM, Carlos E. R. wrote:
top - 21:48:19 up 1 day, 19:46, 5 users, load average: 9.18, 11.24, 14.59 a)_________________________________________________________^^^^^^^^^^^^^^^^^^
The first look goes to a): the system has/had a load average of >10 for a longer time, i.e. the processes are waiting to get to the CPU.
Tasks: 291 total, 4 running, 287 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.4 us, 18.4 sy, 0.0 ni, 9.9 id, 68.1 wa, 0.0 hi, 1.1 si, 0.0 st b)_____________________________________________^^^^^^^ KiB Mem : 3934240 total, 106132 free, 3417824 used, 410284 buff/cache c)___________^^^^^^^ KiB Swap: 6289412 total, 4956028 free, 1333384 used. 56300 avail Mem
Then b) shows the reason: it is waiting with 68.1% for I/O - with an even higher percentage in your first top output. Second in that row is "18.4 sy", i.e. the system is busy with itself (the kernel), and last the user processes only get "2.4 us". In a regular situation, the "wa" wait percentage would be <=5% (unless copying huge amount of data), and "us" would get the most time.
PID USER PR NI VIRT RES SHR SWAP USED S %CPU %MEM TIME+ COMMAND 4355 cer 20 0 9.857g 1.168g 33104 0 1.168g D 0.946 31.13 5:11.20 firefox 4603 cer 20 0 2189304 497600 20004 0 497600 S 0.000 12.65 0:20.22 Web Content 4476 cer 20 0 2121180 369828 4 0 369828 S 0.000 9.400 0:31.32 Web Content 12670 cer 20 0 1645688 204172 16424 24272 228444 S 2.208 5.190 60:26.25 chrome 4574 cer 20 0 1800896 123752 4776 0 123752 S 0.000 3.146 0:36.18 Web Content 4616 cer 20 0 1748260 113256 4444 0 113256 S 0.000 2.879 0:09.17 Web Content 12526 cer 20 0 1436224 93956 2964 20672 114628 D 4.416 2.388 84:47.28 chrome 15650 cer 20 0 896392 84652 12128 31548 116200 D 1.262 2.152 10:37.98 chrome 16330 cer 20 0 836828 81516 19036 29160 110676 D 0.631 2.072 3:20.19 chrome 12563 cer 20 0 2077116 79692 6032 228036 307728 S 0.000 2.026 61:25.77 chrome 15996 cer 20 0 827280 77852 15320 24792 102644 S 0.631 1.979 3:16.00 chrome 15952 cer 20 0 832136 77220 2944 26892 104112 S 0.000 1.963 3:07.12 chrome 15265 cer 20 0 845048 57020 728 33540 90560 S 0.000 1.449 11:23.63 chrome 16400 cer 20 0 793004 41616 744 26940 68556 S 0.315 1.058 1:22.59 chrome
Well, you seems to have a lot of tabs open both in Firefox and Chrome. IIRC you have to add the tmpfs data (e.g. from 'df -ht tmpfs --out=used') to the numbers in the RES column of top, and then you'll see that 4G - see c) - of RAM are not enough to run both FF+Chrome ... you won't have fun with that setup (at least you'll get into that situation more often). Have a nice day, Berny
On 09/12/2018 09.33, Bernhard Voelker wrote:
On 12/8/18 10:15 PM, Carlos E. R. wrote:
Well, you seems to have a lot of tabs open both in Firefox and Chrome. IIRC you have to add the tmpfs data (e.g. from 'df -ht tmpfs --out=used') to the numbers in the RES column of top, and then you'll see that 4G - see c) - of RAM are not enough to run both FF+Chrome ... you won't have fun with that setup (at least you'll get into that situation more often).
It is not as simple as that. Yes, memory is scarce, but I can¡t add more. The machine can run very well with that load and even more for many hours, maybe waiting a second when switching programs, but never stalling. But since I upgraded to 15.0 a few weeks ago, I got this problem. And it is firefox the culprit. It worked fine for a while, and it stalled long after I stopped using it and the screensavver had kicked in. Something in firefox causes swap to trash that did not before, with the same amount of tabs or even more. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 09/12/18 06:03 AM, Carlos E. R. wrote:
But since I upgraded to 15.0 a few weeks ago, I got this problem. And it is firefox the culprit.
I am running 42.3 and had similar thoughts. Now I'm not running with Dolphin and while things are better, it still freezes, but not nearly so much, and yes, killing FF still seems to release it. Elsewhere I've read that there is a problem with the 4.19 kernel. Something to do with the networking component, but that may affect unix-sockets as well as internet connections. Supposedly this gets fixed in 4.20. Roll on 4.20 (there are tools to look at what unix sockets are active) (netstat, ss -xp, fuser, and especially 'lsof' because it can examine caching too) I'm still running FF 52.8 and was running that back in the 4.17 days when this wasn't a problem. Honestly though, I think this is a kernel problem not a FF problem. Certainly if it happens with Chrome instead of FF and with Dolphin then what to they have in common? -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 09/12/2018 16.37, Anton Aylward wrote:
On 09/12/18 06:03 AM, Carlos E. R. wrote:
But since I upgraded to 15.0 a few weeks ago, I got this problem. And it is firefox the culprit.
I am running 42.3 and had similar thoughts. Now I'm not running with Dolphin and while things are better, it still freezes, but not nearly so much, and yes, killing FF still seems to release it.
Elsewhere I've read that there is a problem with the 4.19 kernel. Something to do with the networking component, but that may affect unix-sockets as well as internet connections. Supposedly this gets fixed in 4.20. Roll on 4.20 (there are tools to look at what unix sockets are active) (netstat, ss -xp, fuser, and especially 'lsof' because it can examine caching too) I'm still running FF 52.8 and was running that back in the 4.17 days when this wasn't a problem.
Honestly though, I think this is a kernel problem not a FF problem. Certainly if it happens with Chrome instead of FF and with Dolphin then what to they have in common?
It is a kernel problem, yes. Something in FF causes the kernel to go berseck into a loop of (guess) load-unload memory to swap. And mind, swapping in my machines is fast, it is on SSD. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 10/12/18 07:56 AM, Carlos E. R. wrote:
It is a kernel problem, yes. Something in FF causes the kernel to go berseck into a loop of (guess) load-unload memory to swap.
And mind, swapping in my machines is fast, it is on SSD.
let's not forget that you do have control over swap, though it is somewhat of an arcane art. You can control the 'swapiness' in various ways: - how little memory triggers swap; - how much memory must be recovered in one go oh my, all that under /proc/sys/vm! https://www.youtube.com/watch?v=9iJ06dbZ3fw sync; echo 3 | sudo tee /proc/sys/vm/drop_caches https://www.youtube.com/watch?v=f0pNgK2Em-M (about setting 'swapiness') (is there a TL;DR for video? this could have been done in a page or two of text, a faster read ) -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 10/12/2018 à 14:21, Anton Aylward a écrit :
And mind, swapping in my machines is fast, it is on SSD.
just as a wild guess, if it's the machine where you did the tests, didn't you forget an odd setup used then? jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/12/2018 14.29, jdd@dodin.org wrote:
Le 10/12/2018 à 14:21, Anton Aylward a écrit :
And mind, swapping in my machines is fast, it is on SSD.
just as a wild guess, if it's the machine where you did the tests, didn't you forget an odd setup used then?
Like what? The machine is of course upgraded from older versions, and the entire home is the same, obviously. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 10/12/2018 14.21, Anton Aylward wrote:
On 10/12/18 07:56 AM, Carlos E. R. wrote:
It is a kernel problem, yes. Something in FF causes the kernel to go berseck into a loop of (guess) load-unload memory to swap.
And mind, swapping in my machines is fast, it is on SSD.
let's not forget that you do have control over swap, though it is somewhat of an arcane art.
I know, but what *exactly* do you propose I do to improve this lock situation? Increase swapiness overall? Why? Decrease it overall? Why? That will not help at all with a loop situation. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 09/12/2018 13:03, Carlos E. R. wrote:
Something in firefox causes swap to trash that did not before, with the same amount of tabs or even more.
Have a look at this bug: https://bugzilla.opensuse.org/show_bug.cgi?id=1114838 and the mozilla bug it's linked to. Sorry if I'm interfering, I haven't had time to read the whole thread. Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 13/12/2018 14.08, Dave Plater wrote:
On 09/12/2018 13:03, Carlos E. R. wrote:
Something in firefox causes swap to trash that did not before, with the same amount of tabs or even more.
Have a look at this bug: https://bugzilla.opensuse.org/show_bug.cgi?id=1114838 and the mozilla bug it's linked to. Sorry if I'm interfering, I haven't had time to read the whole thread.
Could be. At one point I observed huge amount of virtual memory by firefox. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 12/08/2018 03:15 PM, Carlos E. R. wrote:
Hi,
Sometimes since I upgraded my laptop to 15.0, and after it has been sitting alone doing nothing for hours in the sitting room, I get to it and it doesn't respond. Right now I tried to connect to it via ssh and it is responding very slow - yast failed to start, for instance.
Carlos, I had something similar happen 2 days ago on my Leap 15 install. It had been up a couple of days and I went back into the desktop where I had an open xterm and no commands would work at all. It was like the PATH had disappeared. From memory it was like: $ ssh nirvana /bin/ssh unknown command This happened for every command. I crossed my fingers to shutdown the box. The shutdown stopped after X was killed but before Plymouth was called leaving me at a normal VT1 terminal with the normal: login: But when I typed my user name (or root), it would look like it was going to login, but then would spit out uname -a and give me the login prompt again -- bizarre as hell. I finally had to do a hard shutdown. Restart was fine. Have no clue what the issue was. -- David C. Rankin, J.D.,P.E.
On 09/12/2018 10.17, David C. Rankin wrote:
On 12/08/2018 03:15 PM, Carlos E. R. wrote:
Hi,
Sometimes since I upgraded my laptop to 15.0, and after it has been sitting alone doing nothing for hours in the sitting room, I get to it and it doesn't respond. Right now I tried to connect to it via ssh and it is responding very slow - yast failed to start, for instance.
Carlos,
I had something similar happen 2 days ago on my Leap 15 install. It had been up a couple of days and I went back into the desktop where I had an open xterm and no commands would work at all. It was like the PATH had disappeared.
From memory it was like:
$ ssh nirvana /bin/ssh unknown command
No, this is different. The "kswapd0" kernel process was stuck at 25% CPU, so something was trashing like hell, in a loop. Thus starting any process took minutes. I was lucky to even be able to ssh in and finally kill firefox. You see, before leaving the computer I was watching TV with that laptop, the high memory use is no problem: Chrome with a tab on Amazon Prime Video, casting to a Chromecast device at nearly 80% CPU on two cores. But leave it alone for an hour, and it locks randomly. Now at least I know it was firefox. Next time, I'll exit Chrome. Another problem on 15.0 and that laptop is Intel GPU hang. I get video artifacts, and some crashes that force me to reboot :-/ -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Carlos E. R. wrote:
On 09/12/2018 10.17, David C. Rankin wrote:
On 12/08/2018 03:15 PM, Carlos E. R. wrote:
Hi,
Sometimes since I upgraded my laptop to 15.0, and after it has been sitting alone doing nothing for hours in the sitting room, I get to it and it doesn't respond. Right now I tried to connect to it via ssh and it is responding very slow - yast failed to start, for instance.
Carlos,
I had something similar happen 2 days ago on my Leap 15 install. It had been up a couple of days and I went back into the desktop where I had an open xterm and no commands would work at all. It was like the PATH had disappeared.
From memory it was like:
$ ssh nirvana /bin/ssh unknown command
No, this is different.
The "kswapd0" kernel process was stuck at 25% CPU, so something was trashing like hell, in a loop. Thus starting any process took minutes. I was lucky to even be able to ssh in and finally kill firefox.
As a work around, maybe use that trick with a cgroup, it was discussed here a while back. -- Per Jessen, Zürich (10.4°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 09/12/2018 13.33, Per Jessen wrote:
Carlos E. R. wrote:
On 09/12/2018 10.17, David C. Rankin wrote:
On 12/08/2018 03:15 PM, Carlos E. R. wrote:
Hi,
Sometimes since I upgraded my laptop to 15.0, and after it has been sitting alone doing nothing for hours in the sitting room, I get to it and it doesn't respond. Right now I tried to connect to it via ssh and it is responding very slow - yast failed to start, for instance.
Carlos,
I had something similar happen 2 days ago on my Leap 15 install. It had been up a couple of days and I went back into the desktop where I had an open xterm and no commands would work at all. It was like the PATH had disappeared.
From memory it was like:
$ ssh nirvana /bin/ssh unknown command
No, this is different.
The "kswapd0" kernel process was stuck at 25% CPU, so something was trashing like hell, in a loop. Thus starting any process took minutes. I was lucky to even be able to ssh in and finally kill firefox.
As a work around, maybe use that trick with a cgroup, it was discussed here a while back.
Ok, but doing what with it? I did not see any value that was that abnormal. I mean, not with firefox. I can not touch kswapd0, that's kernel. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Carlos E. R. wrote:
On 09/12/2018 13.33, Per Jessen wrote:
Carlos E. R. wrote:
On 09/12/2018 10.17, David C. Rankin wrote:
On 12/08/2018 03:15 PM, Carlos E. R. wrote:
Hi,
Sometimes since I upgraded my laptop to 15.0, and after it has been sitting alone doing nothing for hours in the sitting room, I get to it and it doesn't respond. Right now I tried to connect to it via ssh and it is responding very slow - yast failed to start, for instance.
Carlos,
I had something similar happen 2 days ago on my Leap 15 install. It had been up a couple of days and I went back into the desktop where I had an open xterm and no commands would work at all. It was like the PATH had disappeared.
From memory it was like:
$ ssh nirvana /bin/ssh unknown command
No, this is different.
The "kswapd0" kernel process was stuck at 25% CPU, so something was trashing like hell, in a loop. Thus starting any process took minutes. I was lucky to even be able to ssh in and finally kill firefox.
As a work around, maybe use that trick with a cgroup, it was discussed here a while back.
Ok, but doing what with it? I did not see any value that was that abnormal. I mean, not with firefox. I can not touch kswapd0, that's kernel.
I think exactly the same thing as was discussed, make sure there is always memory left for the GUI to be responsive. -- Per Jessen, Zürich (8.9°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 09/12/2018 16.42, Per Jessen wrote:
Carlos E. R. wrote:
On 09/12/2018 13.33, Per Jessen wrote:
Carlos E. R. wrote:
On 09/12/2018 10.17, David C. Rankin wrote:
On 12/08/2018 03:15 PM, Carlos E. R. wrote:
Hi,
Sometimes since I upgraded my laptop to 15.0, and after it has been sitting alone doing nothing for hours in the sitting room, I get to it and it doesn't respond. Right now I tried to connect to it via ssh and it is responding very slow - yast failed to start, for instance.
Carlos,
I had something similar happen 2 days ago on my Leap 15 install. It had been up a couple of days and I went back into the desktop where I had an open xterm and no commands would work at all. It was like the PATH had disappeared.
From memory it was like:
$ ssh nirvana /bin/ssh unknown command
No, this is different.
The "kswapd0" kernel process was stuck at 25% CPU, so something was trashing like hell, in a loop. Thus starting any process took minutes. I was lucky to even be able to ssh in and finally kill firefox.
As a work around, maybe use that trick with a cgroup, it was discussed here a while back.
Ok, but doing what with it? I did not see any value that was that abnormal. I mean, not with firefox. I can not touch kswapd0, that's kernel.
I think exactly the same thing as was discussed, make sure there is always memory left for the GUI to be responsive.
I'm normally running my machines with much less memory and more swap than that. This instant:
KiB Mem: 8174456 total, 6002948 used, 2171508 free, 81904 buffers KiB Swap: 25165820 total, 5668656 used, 19497164 free. 2059292 cached Mem
And there is no issue. What happened on that laptop was something else. Notice that CLI over ssh was not responsive. Nothing was responsive, I can not give more resources to the GUI to solve it. Rather, it would be limiting some resource to FF, but which? -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Carlos E. R. wrote:
On 09/12/2018 16.42, Per Jessen wrote:
Carlos E. R. wrote:
On 09/12/2018 13.33, Per Jessen wrote:
Carlos E. R. wrote:
On 09/12/2018 10.17, David C. Rankin wrote:
On 12/08/2018 03:15 PM, Carlos E. R. wrote: > Hi, > > Sometimes since I upgraded my laptop to 15.0, and after it has > been sitting alone doing nothing for hours in the sitting room, > I get to it and it doesn't respond. Right now I tried to connect > to it via ssh and it is responding very slow - yast failed to > start, for instance. >
Carlos,
I had something similar happen 2 days ago on my Leap 15 install. It had been up a couple of days and I went back into the desktop where I had an open xterm and no commands would work at all. It was like the PATH had disappeared.
From memory it was like:
$ ssh nirvana /bin/ssh unknown command
No, this is different.
The "kswapd0" kernel process was stuck at 25% CPU, so something was trashing like hell, in a loop. Thus starting any process took minutes. I was lucky to even be able to ssh in and finally kill firefox.
As a work around, maybe use that trick with a cgroup, it was discussed here a while back.
Ok, but doing what with it? I did not see any value that was that abnormal. I mean, not with firefox. I can not touch kswapd0, that's kernel.
I think exactly the same thing as was discussed, make sure there is always memory left for the GUI to be responsive.
I'm normally running my machines with much less memory and more swap than that.
This instant:
KiB Mem: 8174456 total, 6002948 used, 2171508 free, 81904 buffers KiB Swap: 25165820 total, 5668656 used, 19497164 free. 2059292 cached Mem
And there is no issue. What happened on that laptop was something else.
Notice that CLI over ssh was not responsive. Nothing was responsive, I can not give more resources to the GUI to solve it.
Notice I didn't say "give more resources", I suggested you reserve memory to make sure the GUI remains responsive.
Rather, it would be limiting some resource to FF, but which?
Memory. By reserving memory for the GUI, you are also limiting what other app can use. -- Per Jessen, Zürich (5.7°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/12/2018 14.52, Per Jessen wrote:
Carlos E. R. wrote:
On 09/12/2018 16.42, Per Jessen wrote:
Carlos E. R. wrote:
On 09/12/2018 13.33, Per Jessen wrote:
Carlos E. R. wrote:
On 09/12/2018 10.17, David C. Rankin wrote: > On 12/08/2018 03:15 PM, Carlos E. R. wrote: >> Hi, >> >> Sometimes since I upgraded my laptop to 15.0, and after it has >> been sitting alone doing nothing for hours in the sitting room, >> I get to it and it doesn't respond. Right now I tried to connect >> to it via ssh and it is responding very slow - yast failed to >> start, for instance. >> > > Carlos, > > I had something similar happen 2 days ago on my Leap 15 > install. It had been > up a couple of days and I went back into the desktop where I had > an open xterm and no commands would work at all. It was like the > PATH had disappeared. > > From memory it was like: > > $ ssh nirvana > /bin/ssh unknown command
No, this is different.
The "kswapd0" kernel process was stuck at 25% CPU, so something was trashing like hell, in a loop. Thus starting any process took minutes. I was lucky to even be able to ssh in and finally kill firefox.
As a work around, maybe use that trick with a cgroup, it was discussed here a while back.
Ok, but doing what with it? I did not see any value that was that abnormal. I mean, not with firefox. I can not touch kswapd0, that's kernel.
I think exactly the same thing as was discussed, make sure there is always memory left for the GUI to be responsive.
I'm normally running my machines with much less memory and more swap than that.
This instant:
KiB Mem: 8174456 total, 6002948 used, 2171508 free, 81904 buffers KiB Swap: 25165820 total, 5668656 used, 19497164 free. 2059292 cached Mem
And there is no issue. What happened on that laptop was something else.
Notice that CLI over ssh was not responsive. Nothing was responsive, I can not give more resources to the GUI to solve it.
Notice I didn't say "give more resources", I suggested you reserve memory to make sure the GUI remains responsive.
Rather, it would be limiting some resource to FF, but which?
Memory. By reserving memory for the GUI, you are also limiting what other app can use.
I don't think that will help. Notice that the CLI was not responsive. Nothing was responsive. Giving more memory to the GUI (what process) will not help with the CLI. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Carlos E. R. wrote:
On 10/12/2018 14.52, Per Jessen wrote:
Carlos E. R. wrote:
On 09/12/2018 16.42, Per Jessen wrote:
Carlos E. R. wrote:
On 09/12/2018 13.33, Per Jessen wrote:
Carlos E. R. wrote:
> On 09/12/2018 10.17, David C. Rankin wrote: >> On 12/08/2018 03:15 PM, Carlos E. R. wrote: >>> Hi, >>> >>> Sometimes since I upgraded my laptop to 15.0, and after it has >>> been sitting alone doing nothing for hours in the sitting >>> room, I get to it and it doesn't respond. Right now I tried to >>> connect to it via ssh and it is responding very slow - yast >>> failed to start, for instance. >>> >> >> Carlos, >> >> I had something similar happen 2 days ago on my Leap 15 >> install. It had been >> up a couple of days and I went back into the desktop where I >> had an open xterm and no commands would work at all. It was >> like the PATH had disappeared. >> >> From memory it was like: >> >> $ ssh nirvana >> /bin/ssh unknown command > > No, this is different. > > The "kswapd0" kernel process was stuck at 25% CPU, so something > was trashing like hell, in a loop. Thus starting any process > took minutes. I was lucky to even be able to ssh in and finally > kill firefox.
As a work around, maybe use that trick with a cgroup, it was discussed here a while back.
Ok, but doing what with it? I did not see any value that was that abnormal. I mean, not with firefox. I can not touch kswapd0, that's kernel.
I think exactly the same thing as was discussed, make sure there is always memory left for the GUI to be responsive.
I'm normally running my machines with much less memory and more swap than that.
This instant:
KiB Mem: 8174456 total, 6002948 used, 2171508 free, 81904 buffers KiB Swap: 25165820 total, 5668656 used, 19497164 free. 2059292 cached Mem
And there is no issue. What happened on that laptop was something else.
Notice that CLI over ssh was not responsive. Nothing was responsive, I can not give more resources to the GUI to solve it.
Notice I didn't say "give more resources", I suggested you reserve memory to make sure the GUI remains responsive.
Rather, it would be limiting some resource to FF, but which?
Memory. By reserving memory for the GUI, you are also limiting what other app can use.
I don't think that will help. Notice that the CLI was not responsive. Nothing was responsive. Giving more memory to the GUI (what process) will not help with the CLI.
After you start the GUI, all subsequent processes are in the same cgroup. That way you will have e.g. konsole remaining responsive. I think we ought to have this config by default, at least on machines with 4Gb or more. -- Per Jessen, Zürich (4.8°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/12/2018 15.04, Per Jessen wrote:
Carlos E. R. wrote:
On 10/12/2018 14.52, Per Jessen wrote:
Carlos E. R. wrote:
...
Notice I didn't say "give more resources", I suggested you reserve memory to make sure the GUI remains responsive.
Rather, it would be limiting some resource to FF, but which?
Memory. By reserving memory for the GUI, you are also limiting what other app can use.
I don't think that will help. Notice that the CLI was not responsive. Nothing was responsive. Giving more memory to the GUI (what process) will not help with the CLI.
After you start the GUI, all subsequent processes are in the same cgroup. That way you will have e.g. konsole remaining responsive. I think we ought to have this config by default, at least on machines with 4Gb or more.
No, CLI over ssh is not on that group. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Carlos E. R. wrote:
On 10/12/2018 15.04, Per Jessen wrote:
Carlos E. R. wrote:
On 10/12/2018 14.52, Per Jessen wrote:
Carlos E. R. wrote:
...
Notice I didn't say "give more resources", I suggested you reserve memory to make sure the GUI remains responsive.
Rather, it would be limiting some resource to FF, but which?
Memory. By reserving memory for the GUI, you are also limiting what other app can use.
I don't think that will help. Notice that the CLI was not responsive. Nothing was responsive. Giving more memory to the GUI (what process) will not help with the CLI.
After you start the GUI, all subsequent processes are in the same cgroup. That way you will have e.g. konsole remaining responsive. I think we ought to have this config by default, at least on machines with 4Gb or more.
No, CLI over ssh is not on that group.
Correct, it isn't GUI but presumably you wouldn't need the remote access when the GUI remains responsive. -- Per Jessen, Zürich (5.9°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/12/2018 16.57, Per Jessen wrote:
Carlos E. R. wrote:
On 10/12/2018 15.04, Per Jessen wrote:
Carlos E. R. wrote:
On 10/12/2018 14.52, Per Jessen wrote:
Carlos E. R. wrote:
...
Notice I didn't say "give more resources", I suggested you reserve memory to make sure the GUI remains responsive.
Rather, it would be limiting some resource to FF, but which?
Memory. By reserving memory for the GUI, you are also limiting what other app can use.
I don't think that will help. Notice that the CLI was not responsive. Nothing was responsive. Giving more memory to the GUI (what process) will not help with the CLI.
After you start the GUI, all subsequent processes are in the same cgroup. That way you will have e.g. konsole remaining responsive. I think we ought to have this config by default, at least on machines with 4Gb or more.
No, CLI over ssh is not on that group.
Correct, it isn't GUI but presumably you wouldn't need the remote access when the GUI remains responsive.
I prefer to don't change anything yet till we really know what is happening, and for that I need to know what command to issue on the CLI that gives the same information as the sysrq-m that Andrei Borzenkov suggested. I'm running the laptop with the same workload that crashed it, with 4 ssh sessions opened from my desktop computers, both left permanently running in the hope to catch it. So far, no luck - but I don't know that command, so if it happens I can do nothing.
top - 03:40:14 up 4 days, 1:38, 5 users, load average: 0.08, 0.11, 0.14 Tasks: 287 total, 1 running, 286 sleeping, 0 stopped, 0 zombie %Cpu(s): 4.6 us, 1.9 sy, 0.0 ni, 93.2 id, 0.1 wa, 0.0 hi, 0.1 si, 0.0 st KiB Mem : 3934240 total, 834848 free, 2485356 used, 614036 buff/cache KiB Swap: 6289412 total, 4982200 free, 1307212 used. 950024 avail Mem
-- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Carlos E. R. wrote:
I prefer to don't change anything yet till we really know what is happening, and for that I need to know what command to issue on the CLI that gives the same information as the sysrq-m that Andrei Borzenkov suggested.
It's the normal sysrq sequence - I think it only works in a console: Ctrl-Alt-Sysrq-m -- Per Jessen, Zürich (3.2°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/12/2018 10.11, Per Jessen wrote:
Carlos E. R. wrote:
I prefer to don't change anything yet till we really know what is happening, and for that I need to know what command to issue on the CLI that gives the same information as the sysrq-m that Andrei Borzenkov suggested.
It's the normal sysrq sequence - I think it only works in a console:
Ctrl-Alt-Sysrq-m
No, I need a command to do via ssh, keyboard does not respond. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Carlos E. R. wrote:
On 11/12/2018 10.11, Per Jessen wrote:
Carlos E. R. wrote:
I prefer to don't change anything yet till we really know what is happening, and for that I need to know what command to issue on the CLI that gives the same information as the sysrq-m that Andrei Borzenkov suggested.
It's the normal sysrq sequence - I think it only works in a console:
Ctrl-Alt-Sysrq-m
No, I need a command to do via ssh, keyboard does not respond.
echo m >/proc/sysrq-trigger -- Per Jessen, Zürich (3.8°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/12/2018 11.37, Per Jessen wrote:
Carlos E. R. wrote:
On 11/12/2018 10.11, Per Jessen wrote:
Carlos E. R. wrote:
I prefer to don't change anything yet till we really know what is happening, and for that I need to know what command to issue on the CLI that gives the same information as the sysrq-m that Andrei Borzenkov suggested.
It's the normal sysrq sequence - I think it only works in a console:
Ctrl-Alt-Sysrq-m
No, I need a command to do via ssh, keyboard does not respond.
echo m >/proc/sysrq-trigger
Thanks. Now I did - well, not now, some minutes ago: minas-tirith:~ # cat /proc/meminfo > meminfo And I'm waiting for it to finish. Then I'll try to pick it up via scp and post or upload to susepaste. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
09.12.2018 14:13, Carlos E. R. пишет:
The "kswapd0" kernel process was stuck at 25% CPU, so something was trashing like hell, in a loop. Thus starting any process took minutes. I was lucky to even be able to ssh in and finally kill firefox.
25% is likely one logical CPU (or core), i.e. kswapd consumes 100% of allocated CPU resources. kswapd is started (woken up) when memory becomes short and attempts to free some memory. So in your case it looks like it fails to free enough memory (at least for for long time) and is constantly started again. Every time it needs to traverse page list to find candidates to release so it is time consuming. When you stop firefox you free large amount of memory which returns system to normal state. It is impossible to say why it happened from top output alone. sysrq-m output may provide some clue.
On 09/12/2018 19.41, Andrei Borzenkov wrote:
09.12.2018 14:13, Carlos E. R. пишет:
The "kswapd0" kernel process was stuck at 25% CPU, so something was trashing like hell, in a loop. Thus starting any process took minutes. I was lucky to even be able to ssh in and finally kill firefox.
25% is likely one logical CPU (or core), i.e. kswapd consumes 100% of allocated CPU resources. kswapd is started (woken up) when memory becomes short and attempts to free some memory. So in your case it looks like it fails to free enough memory (at least for for long time) and is constantly started again. Every time it needs to traverse page list to find candidates to release so it is time consuming.
Aha. Ah, wait, that machine has 2 cores, so it was half of one core used.
When you stop firefox you free large amount of memory which returns system to normal state.
So if the next time I kill Chrome perhaps it also returns to normal.
It is impossible to say why it happened from top output alone. sysrq-m output may provide some clue.
I know, there is not enough information. How can I do sysrq-m over ssh? Because locally the machine did not respond at all, black screen. <http://www.linuxhowtos.org/Tips%20and%20Tricks/sysrq.htm> Alt+SysRQ+m prints memory information to the console. Ok, so, is there a command to dump that information on the ssh session? -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
10.12.2018 16:11, Carlos E. R. пишет:
It is impossible to say why it happened from top output alone. sysrq-m output may provide some clue.
I know, there is not enough information.
How can I do sysrq-m over ssh? Because locally the machine did not respond at all, black screen.
Output goes into dmesg so should be captured by journald/klogd/whatever. Also /proc/meminfo displays similar information.
<http://www.linuxhowtos.org/Tips%20and%20Tricks/sysrq.htm>
Alt+SysRQ+m prints memory information to the console.
Ok, so, is there a command to dump that information on the ssh session?
On 11/12/2018 05.13, Andrei Borzenkov wrote:
10.12.2018 16:11, Carlos E. R. пишет:
It is impossible to say why it happened from top output alone. sysrq-m output may provide some clue.
I know, there is not enough information.
How can I do sysrq-m over ssh? Because locally the machine did not respond at all, black screen.
Output goes into dmesg so should be captured by journald/klogd/whatever.
Keyboard does not respond. Screensaver interferes.
Also /proc/meminfo displays similar information.
That I can get. I have ssh responding slowly. Machine is locked now. One command responded after 5 minutes: minas-tirith:~ # free -h total used free shared buff/cache available Mem: 3.8G 3.3G 100M 240M 315M 20M Swap: 6.0G 1.4G 4.6G minas-tirith:~ # 'top' has not yet displayed, since 30 minutes I started it. I'm trying to scp the output of "cat /proc/meminfo" info, no response yet. But it has not timed out either. I will do "echo m >/proc/sysrq-trigger" now. I don't know where it will dump the information. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 11/12/2018 12.07, Carlos E. R. wrote:
On 11/12/2018 05.13, Andrei Borzenkov wrote:
10.12.2018 16:11, Carlos E. R. пишет:
I will do "echo m >/proc/sysrq-trigger" now. I don't know where it will dump the information.
Ah, on syslog, which I have activated on ssh since yesterday. This is it: <4.5> 2018-12-11 11:35:10 minas-tirith dbus-daemon 1360 - - [system] Failed to activate service 'org.freedesktop.nm_dispatcher': timed out (service_start_timeout=25000ms) <3.6> 2018-12-11 11:41:16 minas-tirith dbus-daemon 1360 - - [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.76' (uid=0 pid=12743 comm="/usr/sbin/NetworkManager --no-daemon ") <4.5> 2018-12-11 11:41:34 minas-tirith dbus-daemon 1360 - - [system] Failed to activate service 'org.freedesktop.nm_dispatcher': timed out (service_start_timeout=25000ms) <3.6> 2018-12-11 12:01:40 minas-tirith dbus-daemon 1360 - - [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.76' (uid=0 pid=12743 comm="/usr/sbin/NetworkManager --no-daemon ") <3.6> 2018-12-11 12:01:43 minas-tirith smartd 1358 - - Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 46 to 45 <4.5> 2018-12-11 12:01:59 minas-tirith dbus-daemon 1360 - - [system] Failed to activate service 'org.freedesktop.nm_dispatcher': timed out (service_start_timeout=25000ms) <0.6> 2018-12-11 12:06:40 minas-tirith kernel - - - [193727.277594] sysrq: SysRq : Show Memory <0.4> 2018-12-11 12:06:41 minas-tirith kernel - - - [193727.277612] Mem-Info: <0.4> 2018-12-11 12:06:41 minas-tirith kernel - - - [193727.277619] active_anon:736954 inactive_anon:147439 isolated_anon:0 <0.4> 2018-12-11 12:06:43 minas-tirith kernel - - - [193727.277619] active_file:1457 inactive_file:6905 isolated_file:32 <0.4> 2018-12-11 12:06:43 minas-tirith kernel - - - [193727.277619] unevictable:20 dirty:27 writeback:0 unstable:0 <0.4> 2018-12-11 12:06:45 minas-tirith kernel - - - [193727.277619] slab_reclaimable:10691 slab_unreclaimable:16620 <0.4> 2018-12-11 12:06:46 minas-tirith kernel - - - [193727.277619] mapped:22456 shmem:61655 pagetables:19913 bounce:0 <0.4> 2018-12-11 12:06:48 minas-tirith kernel - - - [193727.277619] free:25722 free_pcp:615 free_cma:0 <0.4> 2018-12-11 12:06:49 minas-tirith kernel - - - [193727.277624] Node 0 active_anon:2947816kB inactive_anon:589756kB active_file:5828kB inactive_file:27620kB unevictable:80kB isolated(anon):0kB isolated(file):128kB mapped:89824kB dirty:108kB writeback:0kB shmem:246620kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 399360kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no <0.4> 2018-12-11 12:06:50 minas-tirith kernel - - - [193727.277625] Node 0 DMA free:15504kB min:272kB low:340kB high:408kB active_anon:396kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15988kB managed:15904kB mlocked:0kB slab_reclaimable:4kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB <0.4> 2018-12-11 12:06:52 minas-tirith kernel - - - [193727.277631] lowmem_reserve[]: 0 2854 3813 3813 3813 <0.4> 2018-12-11 12:06:53 minas-tirith kernel - - - [193727.277635] Node 0 DMA32 free:66372kB min:50384kB low:62980kB high:75576kB active_anon:2295568kB inactive_anon:403584kB active_file:3220kB inactive_file:22580kB unevictable:80kB writepending:88kB present:3030336kB managed:2936620kB mlocked:80kB slab_reclaimable:22328kB slab_unreclaimable:31900kB kernel_stack:9472kB pagetables:61640kB bounce:0kB free_pcp:1300kB local_pcp:1052kB free_cma:0kB <0.4> 2018-12-11 12:06:54 minas-tirith kernel - - - [193727.277641] lowmem_reserve[]: 0 0 958 958 958 <0.4> 2018-12-11 12:06:54 minas-tirith kernel - - - [193727.277645] Node 0 Normal free:21012kB min:16920kB low:21148kB high:25376kB active_anon:651852kB inactive_anon:186172kB active_file:2744kB inactive_file:4908kB unevictable:0kB writepending:20kB present:1048576kB managed:981716kB mlocked:0kB slab_reclaimable:20432kB slab_unreclaimable:34580kB kernel_stack:4272kB pagetables:18012kB bounce:0kB free_pcp:1160kB local_pcp:112kB free_cma:0kB <0.4> 2018-12-11 12:06:55 minas-tirith kernel - - - [193727.277651] lowmem_reserve[]: 0 0 0 0 0 <0.4> 2018-12-11 12:06:56 minas-tirith kernel - - - [193727.277654] Node 0 DMA: 2*4kB (ME) 1*8kB (E) 2*16kB (ME) 3*32kB (UME) 4*64kB (UME) 2*128kB (UE) 2*256kB (UE) 2*512kB (ME) 3*1024kB (UME) 1*2048kB (E) 2*4096kB (M) = 15504kB <0.4> 2018-12-11 12:06:57 minas-tirith kernel - - - [193727.277671] Node 0 DMA32: 464*4kB (UME) 1026*8kB (UE) 1063*16kB (UME) 468*32kB (UME) 142*64kB (UME) 35*128kB (UM) 9*256kB (M) 9*512kB (M) 4*1024kB (M) 0*2048kB 0*4096kB = 66624kB <0.4> 2018-12-11 12:06:59 minas-tirith kernel - - - [193727.277686] Node 0 Normal: 4027*4kB (UMEH) 371*8kB (UMEH) 57*16kB (UMH) 14*32kB (MH) 7*64kB (H) 1*128kB (H) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 21012kB <0.6> 2018-12-11 12:07:00 minas-tirith kernel - - - [193727.277700] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB <0.4> 2018-12-11 12:07:01 minas-tirith kernel - - - [193727.277701] 94422 total pagecache pages <0.4> 2018-12-11 12:07:02 minas-tirith kernel - - - [193727.277704] 24309 pages in swap cache <0.4> 2018-12-11 12:07:03 minas-tirith kernel - - - [193727.277706] Swap cache stats: add 626259, delete 602108, find 198766/294449 <0.4> 2018-12-11 12:07:04 minas-tirith kernel - - - [193727.277706] Free swap = 4814008kB <0.4> 2018-12-11 12:07:04 minas-tirith kernel - - - [193727.277707] Total swap = 6289412kB <3.6> 2018-12-11 12:07:05 minas-tirith dbus-daemon 1360 - - [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.76' (uid=0 pid=12743 comm="/usr/sbin/NetworkManager --no-daemon ") <0.4> 2018-12-11 12:07:06 minas-tirith kernel - - - [193727.277708] 1023725 pages RAM <0.4> 2018-12-11 12:07:07 minas-tirith kernel - - - [193727.277709] 0 pages HighMem/MovableOnly <0.4> 2018-12-11 12:07:08 minas-tirith kernel - - - [193727.277709] 40165 pages reserved <0.4> 2018-12-11 12:07:09 minas-tirith kernel - - - [193727.277710] 0 pages hwpoisoned <4.5> 2018-12-11 12:07:34 minas-tirith dbus-daemon 1360 - - [system] Failed to activate service 'org.freedesktop.nm_dispatcher': timed out (service_start_timeout=25000ms) Is that all the info, or is it waiting for more? 'top' finally responded: top - 12:13:25 up 4 days, 10:12, 5 users, load average: 41.63, 44.29, 44.90 Tasks: 306 total, 1 running, 305 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.1 us, 27.9 sy, 0.0 ni, 0.0 id, 71.3 wa, 0.0 hi, 0.7 si, 0.0 st KiB Mem : 3934240 total, 103460 free, 3510408 used, 320372 buff/cache KiB Swap: 6289412 total, 4794296 free, 1495116 used. 20348 avail Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 38 root 20 0 0 0 0 0 S 23.42 0.000 93:38.60 kswapd0 12526 cer 20 0 1453444 137488 2816 14312 D 0.915 3.495 145:51.32 chrome 12670 cer 20 0 1703752 151644 5356 15124 D 0.815 3.854 104:17.03 chrome 12563 cer 20 0 2089092 63880 4524 243644 D 0.486 1.624 93:38.95 chrome 15952 cer 20 0 876624 118512 16556 21176 D 0.372 3.012 6:01.63 chrome 14060 cer 20 0 538600 4968 176 9852 D 0.257 0.126 140:13.85 chrome 1 root 20 0 173804 1988 44 772 D 0.229 0.051 0:24.74 systemd 7 root 20 0 0 0 0 0 S 0.143 0.000 0:33.90 ksoftirqd/0 3164 cer 20 0 9590388 864960 22632 33832 D 0.114 21.99 7:10.45 firefox 4319 cer 20 0 865652 4660 8 4540 D 0.100 0.118 1:26.74 contarcorreo 2703 root 20 0 454108 21588 8972 16268 D 0.086 0.549 39:59.53 X 26386 root 20 0 62424 2040 1004 0 R 0.086 0.052 0:02.56 top 4050 cer 20 0 896904 868 0 6340 S 0.218 0.022 0:34.38 kdeconnectd 4084 cer 20 0 662676 1804 52 4344 S 0.218 0.046 3:38.08 panel-6-pulseau 26081 root 20 0 0 0 0 0 S 0.218 0.000 0:03.18 kworker/1:1 26386 root 20 0 62424 1660 624 0 R 0.218 0.042 0:02.50 top 1 root 20 0 173804 1988 0 772 D 0.194 0.051 0:24.58 systemd 7 root 20 0 0 0 0 0 S 0.194 0.000 0:33.80 ksoftirqd/0 2703 root 20 0 454108 21588 8972 16268 D 0.194 0.549 39:59.47 X 2488 ntp 20 0 55032 184 0 580 D 0.169 0.005 0:24.98 ntpd 3005 root 20 0 188696 1692 0 69688 D 0.169 0.043 0:53.62 /usr/sbin/spamd 3429 root 20 0 294872 656 0 852 D 0.169 0.017 0:10.02 upowerd 4059 cer 20 0 200388 964 44 1948 D 0.169 0.025 3:22.55 panel-14-multil 4067 cer 20 0 555352 6576 308 2052 D 0.169 0.167 14:37.33 panel-18-weathe 4183 cer 39 19 0.250t 2788 0 4624 S 0.169 0.071 0:08.00 baloo_file Now I typed a '1' to see each core load. Waiting... -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 11/12/2018 12.15, Carlos E. R. wrote:
On 11/12/2018 12.07, Carlos E. R. wrote:
'top' finally responded:
top - 12:13:25 up 4 days, 10:12, 5 users, load average: 41.63, 44.29, 44.90 Tasks: 306 total, 1 running, 305 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.1 us, 27.9 sy, 0.0 ni, 0.0 id, 71.3 wa, 0.0 hi, 0.7 si, 0.0 st KiB Mem : 3934240 total, 103460 free, 3510408 used, 320372 buff/cache KiB Swap: 6289412 total, 4794296 free, 1495116 used. 20348 avail Mem
PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 38 root 20 0 0 0 0 0 S 23.42 0.000 93:38.60 kswapd0 12526 cer 20 0 1453444 137488 2816 14312 D 0.915 3.495 145:51.32 chrome 12670 cer 20 0 1703752 151644 5356 15124 D 0.815 3.854 104:17.03 chrome 12563 cer 20 0 2089092 63880 4524 243644 D 0.486 1.624 93:38.95 chrome 15952 cer 20 0 876624 118512 16556 21176 D 0.372 3.012 6:01.63 chrome
firefox is also active, but not displayed. :-?
Now I typed a '1' to see each core load. Waiting...
top - 12:18:07 up 4 days, 10:16, 5 users, load average: 41.77, 42.35, 43.84 Tasks: 303 total, 2 running, 301 sleeping, 0 stopped, 0 zombie %Cpu0 : 0.2 us, 23.4 sy, 0.0 ni, 0.0 id, 75.0 wa, 0.0 hi, 1.4 si, 0.0 st %Cpu1 : 0.1 us, 35.7 sy, 0.0 ni, 0.0 id, 64.2 wa, 0.0 hi, 0.1 si, 0.0 st KiB Mem : 3934240 total, 103068 free, 3508588 used, 322584 buff/cache KiB Swap: 6289412 total, 4794296 free, 1495116 used. 21052 avail Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 38 root 20 0 0 0 0 0 R 76.55 0.000 95:53.43 kswapd0 12526 cer 20 0 1453444 137488 2816 14312 D 3.001 3.495 145:56.66 chrome 12670 cer 20 0 1703752 151676 5356 15124 D 0.749 3.855 104:20.03 chrome 12563 cer 20 0 2089092 63880 4524 243644 D 0.400 1.624 93:40.60 chrome 15952 cer 20 0 876624 118512 16556 21176 D 0.289 3.012 6:02.88 chrome 14060 cer 20 0 538600 4968 176 9852 D 0.238 0.126 140:14.77 chrome 1 root 20 0 173804 1988 0 772 D 0.230 0.051 0:25.13 systemd 12743 root 20 0 864164 1960 0 1540 D 0.179 0.050 0:41.94 NetworkManager 7 root 20 0 0 0 0 0 S 0.170 0.000 0:34.20 ksoftirqd/0 3164 cer 20 0 9590388 864972 22632 33832 D 0.094 21.99 7:10.86 firefox 3342 cer 20 0 2319380 614124 13208 15324 D 0.094 15.61 1:20.69 Web Content 4319 cer 20 0 865652 4660 8 4540 D 0.094 0.118 1:27.10 contarcorreo 25837 root 20 0 0 0 0 0 R 0.085 0.000 0:09.27 kworker/0:2 26386 root 20 0 62424 1036 0 0 R 0.068 0.026 0:02.80 top 26598 root 20 0 12332 252 0 0 D 0.068 0.006 0:00.08 sh 2703 root 20 0 454108 21596 8980 16268 D 0.060 0.549 39:59.80 X 3005 root 20 0 188696 1692 0 69688 D 0.060 0.043 0:53.88 /usr/sbin/spamd 3429 root 20 0 294872 656 0 852 D 0.060 0.017 0:10.26 upowerd 4050 cer 20 0 896904 868 0 6340 S 0.060 0.022 0:34.65 kdeconnectd 2488 ntp 20 0 55032 184 0 580 D 0.051 0.005 0:25.24 ntpd 4059 cer 20 0 200388 964 44 1948 D 0.051 0.025 3:22.80 panel-14-multil 4067 cer 20 0 555352 6580 308 2048 D 0.051 0.167 14:37.59 panel-18-weathe 4269 cer 39 19 918436 7256 112 86624 R 0.051 0.184 0:31.01 tracker-miner-f 4027 cer 20 0 1943072 3136 792 33888 S 0.043 0.080 0:20.19 thunderbird-bin Here I see firefox. And Thunderbird, which I didn't know was active. It has no window, I told it to exit days ago IIRC. Can't verify now. Only "3136" Kb, so not really active. Ah, got /proc/meminfo in another way: minas-tirith:~ # cat /proc/meminfo > meminfo minas-tirith:~ # cat meminfo MemTotal: 3934240 kB MemFree: 106524 kB MemAvailable: 24012 kB Buffers: 1596 kB Cached: 278208 kB SwapCached: 97988 kB Active: 2949780 kB Inactive: 618720 kB Active(anon): 2945904 kB Inactive(anon): 589672 kB Active(file): 3876 kB Inactive(file): 29048 kB Unevictable: 80 kB Mlocked: 80 kB SwapTotal: 6289412 kB SwapFree: 4813752 kB Dirty: 104 kB Writeback: 0 kB AnonPages: 3282560 kB Mapped: 88652 kB Shmem: 246612 kB Slab: 108992 kB SReclaimable: 42936 kB SUnreclaim: 66056 kB KernelStack: 13696 kB PageTables: 79240 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 8256532 kB Committed_AS: 13514900 kB VmallocTotal: 34359738367 kB VmallocUsed: 0 kB VmallocChunk: 0 kB HardwareCorrupted: 0 kB AnonHugePages: 399360 kB ShmemHugePages: 0 kB ShmemPmdMapped: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB DirectMap4k: 644416 kB DirectMap2M: 3450880 kB minas-tirith:~ # Ok, I wait for suggestions on what to do next. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 11/12/2018 12.37, Carlos E. R. wrote:
On 11/12/2018 12.15, Carlos E. R. wrote:
On 11/12/2018 12.07, Carlos E. R. wrote:
...
Ok, I wait for suggestions on what to do next.
Ok, I killed thunderbird, and the machine became just a bit more responsive. Then I killed chrome, and it became responsive. So the problem does not seem firefox itself. Probably the kernel not managing swap properly, some race condition. top - 13:30:59 up 4 days, 11:29, 5 users, load average: 1.17, 20.99, 35.36 Tasks: 271 total, 1 running, 270 sleeping, 0 stopped, 0 zombie %Cpu0 : 1.5 us, 1.2 sy, 0.0 ni, 97.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st %Cpu1 : 1.8 us, 0.6 sy, 0.0 ni, 97.3 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st KiB Mem : 3934240 total, 1309424 free, 2121088 used, 503728 buff/cache KiB Swap: 6289412 total, 5290168 free, 999244 used. 1451636 avail Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 2703 root 20 0 449392 24704 11492 15652 S 0.896 0.628 40:07.51 X 3421 cer 20 0 41464 648 0 280 S 0.597 0.016 14:26.36 top 3948 cer 20 0 567540 3404 392 3912 S 0.597 0.087 11:07.09 xfwm4 4030 cer 20 0 875056 7192 2900 4028 S 0.597 0.183 18:49.33 gkrellm 26386 root 20 0 62424 1044 0 0 R 0.597 0.027 0:10.36 top Sorting by memory (RES): top - 13:31:23 up 4 days, 11:29, 5 users, load average: 0.85, 19.32, 34.43 Tasks: 271 total, 1 running, 270 sleeping, 0 stopped, 0 zombie %Cpu0 : 1.5 us, 1.3 sy, 0.0 ni, 97.1 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st %Cpu1 : 1.5 us, 0.7 sy, 0.0 ni, 97.7 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st KiB Mem : 3934240 total, 1306420 free, 2123600 used, 504220 buff/cache KiB Swap: 6289412 total, 5290168 free, 999244 used. 1449112 avail Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 3256 cer 20 0 2543792 805272 15840 30120 S 0.000 20.47 0:53.40 Web Content 3342 cer 20 0 2336788 640792 37524 32844 S 0.000 16.29 1:24.18 Web Content 3164 cer 20 0 9487996 350420 61860 52756 S 0.439 8.907 7:32.39 firefox 3381 cer 20 0 1764236 77596 6964 32360 S 0.000 1.972 0:19.15 Web Content 2703 root 20 0 449308 24744 11532 15652 S 1.023 0.629 40:07.73 X 3397 cer 20 0 1688972 20756 2840 44604 S 0.000 0.528 0:07.70 Web Content 4038 cer 20 0 1038948 15516 4120 18216 S 0.146 0.394 2:02.10 xfce4-terminal 4067 cer 20 0 555352 12760 6484 2044 S 0.439 0.324 14:42.96 panel-18-weathe 4003 cer 20 0 869880 11492 1344 6992 S 0.000 0.292 0:10.20 xfdesktop 4319 cer 20 0 865652 7916 3404 4680 S 0.000 0.201 1:33.80 contarcorreo 4269 cer 39 19 918436 7792 780 86756 S 0.000 0.198 0:34.50 tracker-miner-f 4030 cer 20 0 875056 7192 2900 4028 S 0.585 0.183 18:49.47 gkrellm 22832 root 20 0 18420 6700 2188 508 S 0.000 0.170 0:00.35 bash 3989 cer 20 0 747576 6016 3700 5944 S 0.000 0.153 0:16.09 xfce4-panel 3981 cer 20 0 1003288 5048 112 6780 S 0.000 0.128 0:07.42 Thunar This log excerpt finds when the problem started: <3.6> 2018-12-11 08:00:24 minas-tirith systemd 1 - - Started Timeline of Snapper Snapshots. <3.6> 2018-12-11 08:00:24 minas-tirith dbus-daemon 1360 - - [system] Activating service name='org.opensuse.Snapper' requested by ':1.284' (uid=0 pid=23787 comm="/usr/lib/snapper/systemd-helper --timeline ") (using servicehelper) <3.6> 2018-12-11 08:00:24 minas-tirith dbus-daemon 1360 - - [system] Successfully activated service 'org.opensuse.Snapper' <1.6> 2018-12-11 08:30:01 minas-tirith run-crons 24328 - - leafnode.cron: OK <1.6> 2018-12-11 08:30:01 minas-tirith run-crons 24328 - - mine-clocksync: OK <3.6> 2018-12-11 09:00:24 minas-tirith systemd 1 - - Started Timeline of Snapper Snapshots. <3.6> 2018-12-11 09:00:24 minas-tirith dbus-daemon 1360 - - [system] Activating service name='org.opensuse.Snapper' requested by ':1.286' (uid=0 pid=24967 comm="/usr/lib/snapper/systemd-helper --timeline ") (using servicehelper) <3.6> 2018-12-11 09:00:24 minas-tirith dbus-daemon 1360 - - [system] Successfully activated service 'org.opensuse.Snapper' <1.6> 2018-12-11 09:30:01 minas-tirith run-crons 25511 - - leafnode.cron: OK <1.6> 2018-12-11 09:30:01 minas-tirith run-crons 25511 - - mine-clocksync: OK <3.6> 2018-12-11 09:49:02 minas-tirith dbus-daemon 1360 - - [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.76' (uid=0 pid=12743 comm="/usr/sbin/NetworkManager --no-daemon ") <4.5> 2018-12-11 09:49:28 minas-tirith dbus-daemon 1360 - - [system] Failed to activate service 'org.freedesktop.nm_dispatcher': timed out (service_start_timeout=25000ms) <3.6> 2018-12-11 10:01:41 minas-tirith smartd 1358 - - Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 62 to 50 <3.6> 2018-12-11 10:04:02 minas-tirith dbus-daemon 1360 - - [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.76' (uid=0 pid=12743 comm="/usr/sbin/NetworkManager --no-daemon ") It starts after 'org.opensuse.Snapper' is activated, from 9:30 to 9:49. I don't have any btrfs partitions. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 11/12/2018 13:37, Carlos E. R. wrote:
It starts after 'org.opensuse.Snapper' is activated, from 9:30 to 9:49. I don't have any btrfs partitions.
So, er, remove it, then? I've marked the btrfs tools as blacklisted on my box. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/12/2018 18.59, Liam Proven wrote:
On 11/12/2018 13:37, Carlos E. R. wrote:
It starts after 'org.opensuse.Snapper' is activated, from 9:30 to 9:49. I don't have any btrfs partitions.
So, er, remove it, then?
I've marked the btrfs tools as blacklisted on my box.
I can try. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Carlos E. R. wrote:
Now I typed a '1' to see each core load. Waiting...
top - 12:18:07 up 4 days, 10:16, 5 users, load average: 41.77, 42.35, 43.84
That's quite a busy desktop you have there.
Tasks: 303 total, 2 running, 301 sleeping, 0 stopped, 0 zombie %Cpu0 : 0.2 us, 23.4 sy, 0.0 ni, 0.0 id, 75.0 wa, 0.0 hi, 1.4 si, 0.0 st %Cpu1 : 0.1 us, 35.7 sy, 0.0 ni, 0.0 id, 64.2 wa, 0.0 hi, 0.1 si, 0.0 st
As Berny pointed out yesterday, that system is really busy swapping.
KiB Mem : 3934240 total, 103068 free, 3508588 used, 322584 buff/cache KiB Swap: 6289412 total, 4794296 free, 1495116 used. 21052 avail Mem
So 4Gb main memory and 1.4Gb in swap. That's quite heavy usage, for a desktop - I don't think I have any machine that comes anywhere near that. Just for comparison.
Ok, I wait for suggestions on what to do next.
Don't run so many firefox and chrome processes ? There is a Firefox setting to disable running a process per tab, for instance. WE have had to disable it because of some CSS problem. I'll see if I can find it. -- Per Jessen, Zürich (4.1°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/12/2018 15.37, Per Jessen wrote:
Carlos E. R. wrote:
Now I typed a '1' to see each core load. Waiting...
top - 12:18:07 up 4 days, 10:16, 5 users, load average: 41.77, 42.35, 43.84
That's quite a busy desktop you have there.
No, that's while it is crashed. I had been iddling for 12 hours, waiting for it to crash, doing nothing. This instant: top - 20:18:47 up 4 days, 18:17, 5 users, load average: 0.05, 0.06, 0.03 Tasks: 266 total, 1 running, 265 sleeping, 0 stopped, 0 zombie %Cpu0 : 1.5 us, 0.9 sy, 0.0 ni, 97.6 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st %Cpu1 : 1.2 us, 1.2 sy, 0.0 ni, 97.3 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st KiB Mem : 3934240 total, 1089888 free, 2523072 used, 321280 buff/cache KiB Swap: 6289412 total, 5266360 free, 1023052 used. 1067920 avail Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 3164 cer 20 0 9540212 685640 51092 52352 S 0.000 17.43 9:34.60 firefox 3342 cer 20 0 2336788 643512 34268 34168 S 0.000 16.36 1:47.18 Web Content 3256 cer 20 0 2127024 432164 21292 33792 S 0.000 10.98 1:12.28 Web Content 3381 cer 20 0 1764236 75244 5808 33556 S 0.000 1.913 0:19.27 Web Content 3397 cer 20 0 1688972 28232 10860 45152 S 0.000 0.718 0:07.78 Web Content 2703 root 20 0 449644 20676 7624 15812 S 0.896 0.526 43:45.22 X 4067 cer 20 0 555912 15100 8856 2084 S 0.597 0.384 16:35.73 panel-18-weathe 4038 cer 20 0 1038948 13212 4168 20572 S 0.299 0.336 2:28.46 xfce4-terminal 4003 cer 20 0 869880 10656 876 7360 S 0.000 0.271 0:10.61 xfdesktop 4319 cer 20 0 865912 7872 3344 4908 S 0.000 0.200 1:42.28 contarcorreo 4269 cer 39 19 918436 7584 588 86772 S 0.000 0.193 0:36.22 tracker-miner-f
Tasks: 303 total, 2 running, 301 sleeping, 0 stopped, 0 zombie %Cpu0 : 0.2 us, 23.4 sy, 0.0 ni, 0.0 id, 75.0 wa, 0.0 hi, 1.4 si, 0.0 st %Cpu1 : 0.1 us, 35.7 sy, 0.0 ni, 0.0 id, 64.2 wa, 0.0 hi, 0.1 si, 0.0 st
As Berny pointed out yesterday, that system is really busy swapping.
Certainly, but why? I used the laptop, watching TV with it, till some time, then left it alone and went to sleep. In the morning, between 09:30 and 9:49, it crashed.
KiB Mem : 3934240 total, 103068 free, 3508588 used, 322584 buff/cache KiB Swap: 6289412 total, 4794296 free, 1495116 used. 21052 avail Mem
So 4Gb main memory and 1.4Gb in swap. That's quite heavy usage, for a desktop - I don't think I have any machine that comes anywhere near that. Just for comparison.
A laptop. It was "running": thunderbird, firefox, chrome. That's all. The rest, desktop compliments.
Ok, I wait for suggestions on what to do next.
Don't run so many firefox and chrome processes ? There is a Firefox setting to disable running a process per tab, for instance. WE have had to disable it because of some CSS problem. I'll see if I can find it.
I remember. The problem is not the load. CPU before this was iddling. It is something that is handlinf the load badly. Like requesting out of swap a chunk that when it runs requests some other chunk just now swapped out, alternating. Look at this machine: top - 20:24:03 up 17 days, 9:21, 1 user, load average: 0,72, 0,75, 0,63 Tasks: 575 total, 1 running, 573 sleeping, 0 stopped, 1 zombie %Cpu(s): 6,4 us, 1,9 sy, 0,0 ni, 91,3 id, 0,4 wa, 0,0 hi, 0,0 si, 0,0 st KiB Mem: 8174456 total, 6116724 used, 2057732 free, 36408 buffers KiB Swap: 25165820 total, 4700532 used, 20465288 free. 1437660 cached Mem I'm using it to write this post, it works fine. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Carlos E. R. wrote:
On 11/12/2018 15.37, Per Jessen wrote:
Carlos E. R. wrote:
Now I typed a '1' to see each core load. Waiting...
top - 12:18:07 up 4 days, 10:16, 5 users, load average: 41.77, 42.35, 43.84
That's quite a busy desktop you have there.
No, that's while it is crashed. I had been iddling for 12 hours, waiting for it to crash, doing nothing.
So, the machine is not doing anything, then suddenly it goes hyperactive and locks up due to swapping going mad? Something must be triggering that. Maybe that's where you need to start looking?
Ok, I wait for suggestions on what to do next.
Don't run so many firefox and chrome processes ? There is a Firefox setting to disable running a process per tab, for instance. WE have had to disable it because of some CSS problem. I'll see if I can find it.
I remember.
The setting is "browser.tabs.remote.autostart.2", which all of our browsers used to have, but deleting it now does not make the CSS problem re-appear. Maybe it got fixed.
The problem is not the load. CPU before this was iddling.
I meant memory load. -- Per Jessen, Zürich (-0.8°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/12/2018 09.22, Per Jessen wrote:
Carlos E. R. wrote:
On 11/12/2018 15.37, Per Jessen wrote:
Carlos E. R. wrote:
Now I typed a '1' to see each core load. Waiting...
top - 12:18:07 up 4 days, 10:16, 5 users, load average: 41.77, 42.35, 43.84
That's quite a busy desktop you have there.
No, that's while it is crashed. I had been iddling for 12 hours, waiting for it to crash, doing nothing.
So, the machine is not doing anything, then suddenly it goes hyperactive and locks up due to swapping going mad? Something must be triggering that. Maybe that's where you need to start looking?
Well, that's precisely why I ask for help :-) This night it hasn't crashed. What did I do? Remove btrfsmaintenance. The locks seemed to happen after org.opensuse.Snapper activated. But the job is still activated: <3.6> 2018-12-12 10:00:24 minas-tirith dbus-daemon 1360 - - [system] Successfully activated service 'org.opensuse.Snapper' <1.6> 2018-12-12 10:45:01 minas-tirith run-crons 21690 - - leafnode.cron: OK <1.6> 2018-12-12 10:45:01 minas-tirith run-crons 21690 - - mine-clocksync: OK <3.6> 2018-12-12 11:00:24 minas-tirith systemd 1 - - Started Timeline of Snapper Snapshots. <3.6> 2018-12-12 11:00:24 minas-tirith dbus-daemon 1360 - - [system] Activating service name='org.opensuse.Snapper' requested by ':1.459' (uid=0 pid=22050 comm="/usr/lib/snapper/systemd-helper --timeline ") (using servicehelper) <3.6> 2018-12-12 11:00:24 minas-tirith dbus-daemon 1360 - - [system] Successfully activated service 'org.opensuse.Snapper' <3.6> 2018-12-12 11:01:32 minas-tirith smartd 1358 - - Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 63 to 62 <1.6> 2018-12-12 11:45:01 minas-tirith run-crons 22930 - - leafnode.cron: OK <1.6> 2018-12-12 11:45:01 minas-tirith run-crons 22930 - - mine-clocksync: OK <3.6> 2018-12-12 12:00:24 minas-tirith systemd 1 - - Started Timeline of Snapper Snapshots. <3.6> 2018-12-12 12:00:24 minas-tirith dbus-daemon 1360 - - [system] Activating service name='org.opensuse.Snapper' requested by ':1.473' (uid=0 pid=23292 comm="/usr/lib/snapper/systemd-helper --timeline ") (using servicehelper) <3.6> 2018-12-12 12:00:24 minas-tirith dbus-daemon 1360 - - [system] Successfully activated service 'org.opensuse.Snapper' So maybe I need to remove something else.
Ok, I wait for suggestions on what to do next.
Don't run so many firefox and chrome processes ? There is a Firefox setting to disable running a process per tab, for instance. WE have had to disable it because of some CSS problem. I'll see if I can find it.
I remember.
The setting is "browser.tabs.remote.autostart.2", which all of our browsers used to have, but deleting it now does not make the CSS problem re-appear. Maybe it got fixed.
I can try to see if that uses less memory. The name of the setting is obscure.
The problem is not the load. CPU before this was iddling.
I meant memory load.
Well, Yesterday night you can see one post where I stressed it with several programs: thunderbird, firefox, chrome, kodi... no crash, watching a movie and writing a post, machine very responsive. I have seen it with 2 gigs in swap, double that of the crash, no problem. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Carlos E. R. wrote:
On 12/12/2018 09.22, Per Jessen wrote:
Carlos E. R. wrote:
On 11/12/2018 15.37, Per Jessen wrote:
Carlos E. R. wrote:
Now I typed a '1' to see each core load. Waiting...
top - 12:18:07 up 4 days, 10:16, 5 users, load average: 41.77, 42.35, 43.84
That's quite a busy desktop you have there.
No, that's while it is crashed. I had been iddling for 12 hours, waiting for it to crash, doing nothing.
So, the machine is not doing anything, then suddenly it goes hyperactive and locks up due to swapping going mad? Something must be triggering that. Maybe that's where you need to start looking?
Well, that's precisely why I ask for help :-)
This night it hasn't crashed. What did I do? Remove btrfsmaintenance. The locks seemed to happen after org.opensuse.Snapper activated.
But the job is still activated: [snip]
So maybe I need to remove something else.
If you want to get rid of snapper, try removing snapper :-) -- Per Jessen, Zürich (1.9°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/12/2018 13.53, Per Jessen wrote:
Carlos E. R. wrote:
This night it hasn't crashed. What did I do? Remove btrfsmaintenance. The locks seemed to happen after org.opensuse.Snapper activated.
But the job is still activated: [snip]
So maybe I need to remove something else.
If you want to get rid of snapper, try removing snapper :-)
Done. minas-tirith:~ # rpm --erase snapper error: Failed dependencies: snapper = 0.5.6 is needed by (installed) snapper-zypp-plugin-0.5.6-lp150.3.6.1.noarch snapper is needed by (installed) yast2-snapper-4.0.4-lp150.2.3.1.x86_64 minas-tirith:~ # rpm --erase snapper snapper-zypp-plugin yast2-snapper Removed /etc/systemd/system/timers.target.wants/snapper-cleanup.timer. Removed /etc/systemd/system/timers.target.wants/snapper-timeline.timer. minas-tirith:~ # -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 12/12/2018 14:17, Carlos E. R. wrote:
minas-tirith:~ # rpm --erase snapper error: Failed dependencies: snapper = 0.5.6 is needed by (installed) snapper-zypp-plugin-0.5.6-lp150.3.6.1.noarch snapper is needed by (installed) yast2-snapper-4.0.4-lp150.2.3.1.x86_64 minas-tirith:~ # rpm --erase snapper snapper-zypp-plugin yast2-snapper Removed /etc/systemd/system/timers.target.wants/snapper-cleanup.timer. Removed /etc/systemd/system/timers.target.wants/snapper-timeline.timer. minas-tirith:~ #
Um. Not using Zypper? Doesn't that incur the problem of dependency-satisfaction? -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/12/2018 16.10, Liam Proven wrote:
On 12/12/2018 14:17, Carlos E. R. wrote:
minas-tirith:~ # rpm --erase snapper error: Failed dependencies: snapper = 0.5.6 is needed by (installed) snapper-zypp-plugin-0.5.6-lp150.3.6.1.noarch snapper is needed by (installed) yast2-snapper-4.0.4-lp150.2.3.1.x86_64 minas-tirith:~ # rpm --erase snapper snapper-zypp-plugin yast2-snapper Removed /etc/systemd/system/timers.target.wants/snapper-cleanup.timer. Removed /etc/systemd/system/timers.target.wants/snapper-timeline.timer. minas-tirith:~ #
Um. Not using Zypper? Doesn't that incur the problem of dependency-satisfaction?
No, it just says that deps are satisfied or not. If not, supply what is missing on the command line. To run zypper on this machine I must mount something on nfs first. :-) -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 12/12/18 7:53 AM, Per Jessen wrote:
Carlos E. R. wrote:
On 12/12/2018 09.22, Per Jessen wrote:
Carlos E. R. wrote:
On 11/12/2018 15.37, Per Jessen wrote:
Carlos E. R. wrote:
> Now I typed a '1' to see each core load. Waiting...
top - 12:18:07 up 4 days, 10:16, 5 users, load average: 41.77, 42.35, 43.84
That's quite a busy desktop you have there.
No, that's while it is crashed. I had been iddling for 12 hours, waiting for it to crash, doing nothing.
So, the machine is not doing anything, then suddenly it goes hyperactive and locks up due to swapping going mad? Something must be triggering that. Maybe that's where you need to start looking?
Well, that's precisely why I ask for help :-)
This night it hasn't crashed. What did I do? Remove btrfsmaintenance. The locks seemed to happen after org.opensuse.Snapper activated.
But the job is still activated: [snip]
So maybe I need to remove something else.
If you want to get rid of snapper, try removing snapper :-)
What I did was run: systemctrl stop <tab><tab> and stop anything related to snapper. The same for disable. snapper doesn't run any longer. HTH -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 12/12/2018 à 16:30, Ken Schneider - openSUSE a écrit :
The same for disable. snapper doesn't run any longer.
or use yast install, dependencies are easier to set, and you can taboo snapper easily jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/12/2018 21:13, Carlos E. R. wrote:
Certainly, but why?
Because it only has 4 GB of RAM. That's not really enough for a general-purpose desktop computer these days, IMHO. It's definitely not enough for heavy use of *both* Chrome *and* Firefox. In fact I would go so far as to say it's not enough for heavy use of Chrome on its own. Stick to Firefox only -- it's a bit more memory-efficient. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/12/2018 11.36, Liam Proven wrote:
On 11/12/2018 21:13, Carlos E. R. wrote:
Certainly, but why?
Because it only has 4 GB of RAM. That's not really enough for a general-purpose desktop computer these days, IMHO. It's definitely not enough for heavy use of *both* Chrome *and* Firefox. In fact I would go so far as to say it's not enough for heavy use of Chrome on its own.
No, that does not explain it. Yesterday I used it with even more programs and nothing happened, the machine was very responsive. There was 0.9 GB in swap. I have used that machine and others with same RAM with 2.5 GB of swap, no issues. My desktop machine has now 4.3 GB in swap, and it feels happy (although it has 8 GB ram). Remember, the crash happens when I'm sleeping and the machine is doing nothing. Programs remain opened, but not actively doing anything. No, this is a peculiar situation that is not explained that easily.
Stick to Firefox only -- it's a bit more memory-efficient.
I don't like Chrome, I use firefox for my browsing. But I *must* use chrome to watch Amazon Prime Video and cast it to a Chromecast device, that doesn't work on firefox AFAIK. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 12/12/2018 12:47, Carlos E. R. wrote:
No, that does not explain it.
I'm not _trying_ to explain it. I can't. All I'm saying is that I don't think this will be easily fixed. I am currently going through the pain of moving to a new install of oS on a new PC because it was cheaper than getting a RAM upgrade for my existing one. 8 GB was no longer adequate for my workload and it kept disk-thrashing, and I am not a hugely demanding user. Linux (the kernel) keeps growing. So does the userland. Especially so do browsers. And memory leaks are everywhere, which is the sort of thing that is fuelling the rise of "devops" and containers: it's virtually impossible to troubleshoot all the issues and leaks in modern, super-complex stacks, so fire them up when needed, and if anything goes wrong, tear them down, destroy them and fire up new instances. It's easier than trying to get them to be stable and just work. This does not help us desktop users, but sadly, desktop Linux is a tiny minority niche and will never be anything else. :-(
I don't like Chrome, I use firefox for my browsing. But I *must* use chrome to watch Amazon Prime Video and cast it to a Chromecast device, that doesn't work on firefox AFAIK.
So, if you only have 4 GB RAM, when you want to screencast something with Chrome, shut down Firefox. Or get more RAM. :-( -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/12/2018 13.07, Liam Proven wrote:
On 12/12/2018 12:47, Carlos E. R. wrote:
No, that does not explain it.
I'm not _trying_ to explain it. I can't.
All I'm saying is that I don't think this will be easily fixed. I am currently going through the pain of moving to a new install of oS on a new PC because it was cheaper than getting a RAM upgrade for my existing one. 8 GB was no longer adequate for my workload and it kept disk-thrashing, and I am not a hugely demanding user.
Linux (the kernel) keeps growing. So does the userland. Especially so do browsers. And memory leaks are everywhere, which is the sort of thing that is fuelling the rise of "devops" and containers: it's virtually impossible to troubleshoot all the issues and leaks in modern, super-complex stacks, so fire them up when needed, and if anything goes wrong, tear them down, destroy them and fire up new instances. It's easier than trying to get them to be stable and just work.
This does not help us desktop users, but sadly, desktop Linux is a tiny minority niche and will never be anything else. :-(
:-(
I don't like Chrome, I use firefox for my browsing. But I *must* use chrome to watch Amazon Prime Video and cast it to a Chromecast device, that doesn't work on firefox AFAIK.
So, if you only have 4 GB RAM, when you want to screencast something with Chrome, shut down Firefox.
But that's not it. See: I work for some time with the machine, doing things happily with that workload. I leave it alone for an hour or a night. The screen saver kicks in (black). I go back, touch a key, no response. What happened? How can the computer be trashing with the same programs that were working an hour before, but when I stop using it, it crashes, the program or the kernel goes mad? I have just posted some calculations, a comparison of the memory load when crashed and when normal. Same programs loaded.
Or get more RAM. :-(
it is a laptop, that's impossible, AFAIK :-( What I did was get faster swap. SSD. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Le 12/12/2018 à 13:29, Carlos E. R. a écrit :
I leave it alone for an hour or a night. The screen saver kicks in (black). I go back, touch a key, no response.
What happened?
*the screen saver* ?? did it try to hybernate? jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/12/2018 13.45, jdd@dodin.org wrote:
Le 12/12/2018 à 13:29, Carlos E. R. a écrit :
I leave it alone for an hour or a night. The screen saver kicks in (black). I go back, touch a key, no response.
What happened?
*the screen saver* ?? did it try to hybernate?
No. At least, it shouldn't. just power off the display. Hibernation is manual, or when battery goes low. Some of the times it happened, I was sitting there, but watching TV, not using the computer. But those times I had to reboot to recover, now I know that I can ssh and find out things. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 12/12/2018 13:29, Carlos E. R. wrote:
This does not help us desktop users, but sadly, desktop Linux is a tiny minority niche and will never be anything else. :-(
:-(
Well, yes, agreed. But this is how and why Apple and Microsoft make money. They put a huge amount of R&D effort into desktop OSes. The Linux companies don't, because Linux desktops don't. Servers do, so we have some not-very-well tested, barely-integrated desktops on top of a server OS. Ubuntu used to put more effort into desktop integration than almost anyone -- SUSE is a server vendor, RH is a server vendor, and there basically isn't anyone else. All the pure-play desktop Linux vendors (Corel, Caldera, Xandros, Lindows/Linspire, Mandriva) are dead. Sadly, there's a reason. ChromeOS is about it, and part of the reason it works is that it's so massively cut-down compared to a normal desktop OS.
But that's not it.
See: I work for some time with the machine, doing things happily with that workload.
I leave it alone for an hour or a night. The screen saver kicks in (black). I go back, touch a key, no response.
What happened?
It's thrashing. I think we've established that.
How can the computer be trashing with the same programs that were working an hour before, but when I stop using it, it crashes, the program or the kernel goes mad?
Probably because something is leaking memory.
Or get more RAM. :-(
it is a laptop, that's impossible, AFAIK :-(
What I did was get faster swap. SSD.
So get a newer laptop. I had a lovely big Toshiba Satellite Pro P300A, but it has an old chipset so it takes DDR2 and while upgrading it from 3 GB to 4GB was about £5, going from 4 GB to 8 GB would be about £80. So earlier this year, I sold it to a friend, for about £100. I kept its SSD. And I replaced it with the Thinkpad X220 I bought last year for £150. The Satellite was my testbed machine, after I replaced it with a 2nd-hand Mac mini. Now, the X200 that the X220 replaced is my testbed box. (Currently it runs IBM PC DOS 7.1, Bluebottle/A2 and Haiku, with Devuan for experimenting with VMs etc. I have failed to get eComStation to install.) Second-hand laptops are pretty cheap. Thinkpads are tough, so 2nd hand Thinkpads are a good deal. They are also well-tested with Linux, and everything usually Just Works™. I got mine from Morgan's. They shipped to Czechia. https://www.morgancomputers.co.uk/c/599/Laptop-Sale/ Tier 1 are also good. https://www.tier1online.com/ I am sure there are similar vendors in Spain and elsewhere in Europe. Latin America, I don't know -- but there's eBay and so on. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/12/2018 13.51, Liam Proven wrote:
On 12/12/2018 13:29, Carlos E. R. wrote:
This does not help us desktop users, but sadly, desktop Linux is a tiny minority niche and will never be anything else. :-(
:-(
Well, yes, agreed.
But this is how and why Apple and Microsoft make money. They put a huge amount of R&D effort into desktop OSes.
The Linux companies don't, because Linux desktops don't. Servers do, so we have some not-very-well tested, barely-integrated desktops on top of a server OS.
Ubuntu used to put more effort into desktop integration than almost anyone -- SUSE is a server vendor, RH is a server vendor, and there basically isn't anyone else.
All the pure-play desktop Linux vendors (Corel, Caldera, Xandros, Lindows/Linspire, Mandriva) are dead.
Sadly, there's a reason.
ChromeOS is about it, and part of the reason it works is that it's so massively cut-down compared to a normal desktop OS.
But that's not it.
See: I work for some time with the machine, doing things happily with that workload.
I leave it alone for an hour or a night. The screen saver kicks in (black). I go back, touch a key, no response.
What happened?
It's thrashing. I think we've established that.
That's the symptom, not the cause.
How can the computer be trashing with the same programs that were working an hour before, but when I stop using it, it crashes, the program or the kernel goes mad?
Probably because something is leaking memory.
The numbers do not add up.
Or get more RAM. :-(
it is a laptop, that's impossible, AFAIK :-(
What I did was get faster swap. SSD.
So get a newer laptop.
I did! It also has 4 GB of RAM. It is smaller and lighter, I can travel with it, not heavy. And it does not exhibit these symptoms (so far: I'll test for it. But I have been using it a lot recently). I simply did not find something else at a reasonable price and small footprint. Yet at the time I did not know about this problem.
I had a lovely big Toshiba Satellite Pro P300A, but it has an old chipset so it takes DDR2 and while upgrading it from 3 GB to 4GB was about £5, going from 4 GB to 8 GB would be about £80.
I will have to study it. It is a "compaq presario CQ61-330SS". <https://www.kingstonmemoryshop.co.uk/laptop/hp-compaq/presario-cq-series/hp-compaq-presario-cq61-330ss-laptop> Says it can be maxed to 8 GiB. I must consider it, then. I think I would need two 4 GiB modules. I think the price is 79.99£ each. Hum...
So earlier this year, I sold it to a friend, for about £100. I kept its SSD.
And I replaced it with the Thinkpad X220 I bought last year for £150.
The Satellite was my testbed machine, after I replaced it with a 2nd-hand Mac mini.
Now, the X200 that the X220 replaced is my testbed box. (Currently it runs IBM PC DOS 7.1, Bluebottle/A2 and Haiku, with Devuan for experimenting with VMs etc. I have failed to get eComStation to install.)
Second-hand laptops are pretty cheap. Thinkpads are tough, so 2nd hand Thinkpads are a good deal. They are also well-tested with Linux, and everything usually Just Works™.
I don't know how to buy second hand laptops here (Spain, not the capital city). There was a shop, it disappeared.
I got mine from Morgan's. They shipped to Czechia.
Remote purchase? Hum. I don't like that. But I'll take a note.
Tier 1 are also good.
I am sure there are similar vendors in Spain and elsewhere in Europe. Latin America, I don't know -- but there's eBay and so on.
I don't like eBay... -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 12/12/2018 14:12, Carlos E. R. wrote:
I don't know how to buy second hand laptops here (Spain, not the capital city). There was a shop, it disappeared.
A quick Google suggests: https://www.buyfromus.es/300-2/
Remote purchase? Hum. I don't like that. But I'll take a note.
I have used Morgan's for more than 20 years, so I trust them. Of course you tend to get UK keyboards. Their returns policy is excellent.
I am sure there are similar vendors in Spain and elsewhere in Europe. Latin America, I don't know -- but there's eBay and so on. I don't like eBay...
It is riskier, yes. But I do use it for components, and have had few problems. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 12/12/2018 à 16:15, Liam Proven a écrit :
On 12/12/2018 14:12, Carlos E. R. wrote:
I don't know how to buy second hand laptops here (Spain, not the capital city). There was a shop, it disappeared.
https://www.vibbo.com/ search on your vicinity so you buy what you see jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 12/12/2018 à 13:51, Liam Proven a écrit :
But this is how and why Apple and Microsoft make money. They put a huge amount of R&D effort into desktop OSes.
a huge amount of efforts *selling* OS :-( for example selling to French Defense Minister a contract for more than 188500 computers, *hardware* an software. No linux company can compete :-( jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/12/2018 17:51, jdd@dodin.org wrote:
a huge amount of efforts *selling* OS :-(
Actually, no. Mac OS X -- or "macOS" as the company prefers now -- is a free download. Of course you are only _supposed_ to run it on Apple hardware, but I have built a Hackintosh and I used it for some years as my main computer. It worked very well indeed. Windows 10 is not officially free, but it was a free _upgrade_ and it's close. The free upgrades from Windows 7/8/8.1 still work, and you can download an ISO from microsoft.com and run it unregistered and it works well -- it is less crippled than older versions were if run unregistered, because MS worked out that crippled illegal versions were a reservoir and vector for malware. Apple's business is selling _hardware_. Microsoft's business is selling Office and server software. The end-user OSes are all but freeware. (Yes, I *know* freeware != FOSS.)
for example selling to French Defense Minister a contract for more than 188500 computers, *hardware* an software. No linux company can compete :-(
Sadly, there are solid commercial/technical reasons that things like this happen: https://www.theregister.co.uk/2018/01/04/munich_linux_costs_ownership/ I find it very interesting that, for instance, ChromeOS machines are selling into a few enterprises that use the commercial gMail/gApps offering. All the companies offering desktop Linuxes spent a huge amount of time and effort on trying to look like, work like, and be compatible with, Windows. Rich email clients, rich productivity suites, over-engineered feature-heavy chat systems. Why, because everyone knows how to use Windows, and Office, and Outlook+Exchange is *the* groupware solution. Google looks at this and goes "nope, not going to try." It does a good-enough, not-very-customisable web groupware system. It makes sure it has good 3rd party support. It makes a good-enough, not-very-rich web app system. They're web apps, so they *can't* compete with the best rich local apps. Instead, they play to their strengths: collaborative editing. And it offers a sort of web-aware thin client, based on FOSS, that uses Google's single-sign-on, and does basically nothing locally. Real engineering effort is put into just one part: a very smart, low-tech but robust, self-updating system. Package management, desktops, all the stuff that distro vendors do, is basically ignored. And it sells hundreds of millions of the resulting devices. I think it was a very smart move. I remain surprised that basically nobody in the FOSS world has tried to copy it. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 13/12/2018 à 13:10, Liam Proven a écrit :
I remain surprised that basically nobody in the FOSS world has tried to copy it.
Windows still sell it's OS in new computers (nearly forced selling) and you are true, but no FOSS company have the Google power:-( jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 13/12/2018 13:16, jdd@dodin.org wrote:
Windows still sell it's OS in new computers (nearly forced selling)
Well, yes, it does, true. And so does Apple. But, for instance, you can build your own desktop computer and run either OS on it. Me, I like the simplicity of macOS, so although I have the skills to build my own PC, and have built many PCs, I just bought a used Mac. This year, I replaced it with a newer used Mac. It's pretty, quiet, and it just works. I don't like Apple's modern keyboards and pointing devices, though, so I use a 1980s mechanical Apple keyboard (through an interface convertor). My laptops are cheap used Thinkpads. It saves me a lot of money and I am happy with the results.
and you are true, but no FOSS company have the Google power:-(
It's not about Google's power. Anyone could have done a 3rd party FOSS implementation of Microsoft's groupware, but nobody did. Why not? Well, I think it's because Unix people tend to like simple old-fashioned tools like plain-text email over IMAP, IRC and so on. Anyone could have done a network directory and admin tool like Active Directory. Why didn't they? Because Unix people love their text config files and have strong preferences about things like packaging systems. Result, now, we have systemd and lots of people hate it, and we _still_ don't have a modern working network directory and admin tool for Unix. Anyone could have done standards-based single-sign-on, and integrated it with the above two things. But nobody did, because for Linux vendors, the money is in cloud servers, not stuff like that. Result, Microsoft remained in control of its market segment, Apple of its, and Google has done a sort of end-run around them both which might ultimately win out and outsell both of the big 2 proprietary vendors. And the most ironic thing of all, Google's offerings are based on Linux after all! -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-12-12 7:29 a.m., Carlos E. R. wrote:
I leave it alone for an hour or a night. The screen saver kicks in (black). I go back, touch a key, no response.
Googling I find that Xscreensaver has repeatedly reported memory leaks over the years. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/12/2018 14.37, Anton Aylward wrote:
On 2018-12-12 7:29 a.m., Carlos E. R. wrote:
I leave it alone for an hour or a night. The screen saver kicks in (black). I go back, touch a key, no response.
Googling I find that Xscreensaver has repeatedly reported memory leaks over the years.
It doesn't show in the top list of memory users when I run top. Maybe because I touched the keyboard? No, if no password in some seconds it goes back to dark. Dunno. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-12-11 3:13 p.m., Carlos E. R. wrote:
I'm using it to write this post, it works fine.
Just to erasure me .. What kernels are running on each of these machines? -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/12/2018 12.21, Anton Aylward wrote:
On 2018-12-11 3:13 p.m., Carlos E. R. wrote:
I'm using it to write this post, it works fine.
Just to erasure me .. What kernels are running on each of these machines?
Defaults. minas-tirith:~ # uname -a Linux minas-tirith.valinor 4.12.14-lp150.12.25-default #1 SMP Thu Nov 1 06:14:23 UTC 2018 (3fcf457) x86_64 x86_64 x86_64 GNU/Linux minas-tirith:~ # That's the problem machine, a laptop. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
11.12.2018 14:37, Carlos E. R. пишет:
Ah, got /proc/meminfo in another way:
minas-tirith:~ # cat /proc/meminfo > meminfo minas-tirith:~ # cat meminfo MemTotal: 3934240 kB MemFree: 106524 kB MemAvailable: 24012 kB
Your system has no free memory to do anything useful. So any attempt to start any new program will result in attempt to free something, then system must recall pages it just freed from disk again and to do it it needs to to find free memory again ... you get an idea.
Buffers: 1596 kB Cached: 278208 kB SwapCached: 97988 kB Active: 2949780 kB Inactive: 618720 kB Active(anon): 2945904 kB Inactive(anon): 589672 kB Active(file): 3876 kB Inactive(file): 29048 kB
Most memory is consumed by some application(s) allocating (and actually using) large amount of memory. It is simply impossible that all loaded application binaries amount to just 33MB. On my system with rather static load active+inactive file is 4.8GB, and I have just Chromium + Thunderbird + Deluge + several terminal windows as part of user session. Again - it means that any attempt to do anything will require loading binaries from disk. This alone would account for high wait time observed earlier. What is your swappiness settings?
Unevictable: 80 kB Mlocked: 80 kB SwapTotal: 6289412 kB SwapFree: 4813752 kB Dirty: 104 kB Writeback: 0 kB AnonPages: 3282560 kB Mapped: 88652 kB Shmem: 246612 kB Slab: 108992 kB SReclaimable: 42936 kB SUnreclaim: 66056 kB KernelStack: 13696 kB PageTables: 79240 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 8256532 kB Committed_AS: 13514900 kB VmallocTotal: 34359738367 kB VmallocUsed: 0 kB VmallocChunk: 0 kB HardwareCorrupted: 0 kB AnonHugePages: 399360 kB ShmemHugePages: 0 kB ShmemPmdMapped: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB DirectMap4k: 644416 kB DirectMap2M: 3450880 kB minas-tirith:~ #
Ok, I wait for suggestions on what to do next.
Your system is overloaded. Either do not run programs that consume such amount of RAM or add RAM. Tweaking swappiness may help to prevent pushing programs out of memory.
On 11/12/2018 18.14, Andrei Borzenkov wrote:
11.12.2018 14:37, Carlos E. R. пишет:
Ah, got /proc/meminfo in another way:
minas-tirith:~ # cat /proc/meminfo > meminfo minas-tirith:~ # cat meminfo MemTotal: 3934240 kB MemFree: 106524 kB MemAvailable: 24012 kB
Your system has no free memory to do anything useful. So any attempt to start any new program will result in attempt to free something, then system must recall pages it just freed from disk again and to do it it needs to to find free memory again ... you get an idea.
Yes, I guessed that, but I don't know how it gets there. Procedure: watch TV on laptop. Stop TV. Go to sleep. Come back, locked. I had running: thunderbird (crashed), firefox, chrome. Thunderbird had been told to exit, days ago; but something remained loaded refusing to exit:
PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 4027 cer 20 0 1943072 3136 792 33888 S 0.043 0.080 0:20.19 thunderbird-bin
Buffers: 1596 kB Cached: 278208 kB SwapCached: 97988 kB Active: 2949780 kB Inactive: 618720 kB Active(anon): 2945904 kB Inactive(anon): 589672 kB Active(file): 3876 kB Inactive(file): 29048 kB
Most memory is consumed by some application(s) allocating (and actually using) large amount of memory. It is simply impossible that all loaded application binaries amount to just 33MB. On my system with rather static load active+inactive file is 4.8GB, and I have just Chromium + Thunderbird + Deluge + several terminal windows as part of user session.
Look, list of top processes sorted by memory (RES) just after killing Thunderbird and Chrome, so with responsive system: top - 13:31:23 up 4 days, 11:29, 5 users, load average: 0.85, 19.32, 34.43 Tasks: 271 total, 1 running, 270 sleeping, 0 stopped, 0 zombie %Cpu0 : 1.5 us, 1.3 sy, 0.0 ni, 97.1 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st %Cpu1 : 1.5 us, 0.7 sy, 0.0 ni, 97.7 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st KiB Mem : 3934240 total, 1306420 free, 2123600 used, 504220 buff/cache KiB Swap: 6289412 total, 5290168 free, 999244 used. 1449112 avail Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 3256 cer 20 0 2543792 805272 15840 30120 S 0.000 20.47 0:53.40 Web Content 3342 cer 20 0 2336788 640792 37524 32844 S 0.000 16.29 1:24.18 Web Content 3164 cer 20 0 9487996 350420 61860 52756 S 0.439 8.907 7:32.39 firefox 3381 cer 20 0 1764236 77596 6964 32360 S 0.000 1.972 0:19.15 Web Content 2703 root 20 0 449308 24744 11532 15652 S 1.023 0.629 40:07.73 X 3397 cer 20 0 1688972 20756 2840 44604 S 0.000 0.528 0:07.70 Web Content 4038 cer 20 0 1038948 15516 4120 18216 S 0.146 0.394 2:02.10 xfce4-terminal 4067 cer 20 0 555352 12760 6484 2044 S 0.439 0.324 14:42.96 panel-18-weathe 4003 cer 20 0 869880 11492 1344 6992 S 0.000 0.292 0:10.20 xfdesktop 4319 cer 20 0 865652 7916 3404 4680 S 0.000 0.201 1:33.80 contarcorreo 4269 cer 39 19 918436 7792 780 86756 S 0.000 0.198 0:34.50 tracker-miner-f 4030 cer 20 0 875056 7192 2900 4028 S 0.585 0.183 18:49.47 gkrellm 22832 root 20 0 18420 6700 2188 508 S 0.000 0.170 0:00.35 bash 3989 cer 20 0 747576 6016 3700 5944 S 0.000 0.153 0:16.09 xfce4-panel 3981 cer 20 0 1003288 5048 112 6780 S 0.000 0.128 0:07.42 Thunar Nothing is really using a lot memory, unless we count virtual memory. What is above sums 2 GiB. Now, virt is 25GiB. Look, I had killed Thunderbird and Chrome, which were: PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 4027 cer 20 0 1943072 3136 792 33888 S 0.043 0.080 0:20.19 thunderbird-bin 12526 cer 20 0 1453444 137488 2816 14312 D 3.001 3.495 145:56.66 chrome 12670 cer 20 0 1703752 151676 5356 15124 D 0.749 3.855 104:20.03 chrome 12563 cer 20 0 2089092 63880 4524 243644 D 0.400 1.624 93:40.60 chrome 15952 cer 20 0 876624 118512 16556 21176 D 0.289 3.012 6:02.88 chrome 14060 cer 20 0 538600 4968 176 9852 D 0.238 0.126 140:14.77 chrome I should have queried sort by RES before starting killing, but you can guess that each operation took minutes. But I have it on the first incident on this thread: top - 21:48:19 up 1 day, 19:46, 5 users, load average: 9.18, 11.24, 14.59 Tasks: 291 total, 4 running, 287 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.4 us, 18.4 sy, 0.0 ni, 9.9 id, 68.1 wa, 0.0 hi, 1.1 si, 0.0 st KiB Mem : 3934240 total, 106132 free, 3417824 used, 410284 buff/cache KiB Swap: 6289412 total, 4956028 free, 1333384 used. 56300 avail Mem PID USER PR NI VIRT RES SHR SWAP USED S %CPU %MEM TIME+ COMMAND 4355 cer 20 0 9.857g 1.168g 33104 0 1.168g D 0.946 31.13 5:11.20 firefox 4603 cer 20 0 2189304 497600 20004 0 497600 S 0.000 12.65 0:20.22 Web Content 4476 cer 20 0 2121180 369828 4 0 369828 S 0.000 9.400 0:31.32 Web Content 12670 cer 20 0 1645688 204172 16424 24272 228444 S 2.208 5.190 60:26.25 chrome 4574 cer 20 0 1800896 123752 4776 0 123752 S 0.000 3.146 0:36.18 Web Content 4616 cer 20 0 1748260 113256 4444 0 113256 S 0.000 2.879 0:09.17 Web Content 12526 cer 20 0 1436224 93956 2964 20672 114628 D 4.416 2.388 84:47.28 chrome 15650 cer 20 0 896392 84652 12128 31548 116200 D 1.262 2.152 10:37.98 chrome 16330 cer 20 0 836828 81516 19036 29160 110676 D 0.631 2.072 3:20.19 chrome 12563 cer 20 0 2077116 79692 6032 228036 307728 S 0.000 2.026 61:25.77 chrome 15996 cer 20 0 827280 77852 15320 24792 102644 S 0.631 1.979 3:16.00 chrome 15952 cer 20 0 832136 77220 2944 26892 104112 S 0.000 1.963 3:07.12 chrome 15265 cer 20 0 845048 57020 728 33540 90560 S 0.000 1.449 11:23.63 chrome 16400 cer 20 0 793004 41616 744 26940 68556 S 0.315 1.058 1:22.59 chrome 2703 root 20 0 450280 41456 28532 15100 56556 D 0.631 1.054 22:37.38 X 4003 cer 20 0 869880 10892 8 6192 17084 S 0.000 0.277 0:05.23 xfdesktop 4038 cer 20 0 1036900 10676 28 17256 27932 S 0.000 0.271 0:37.96 xfce4-terminal 4030 cer 20 0 875056 8264 1888 1888 10152 S 0.631 0.210 9:59.47 gkrellm firefox was using 1.168g, but that is not "a lot", I have seen it at two and the machine huuging away happily and responsive.
Again - it means that any attempt to do anything will require loading binaries from disk. This alone would account for high wait time observed earlier.
What is your swappiness settings?
Defaults. Never touched it. minas-tirith:~ # cat /proc/sys/vm/swappiness /proc/sys/vm/vfs_cache_pressure /proc/sys/vm/min_free_kbytes /proc/sys/vm/watermark_scale_factor 60 100 67584 10 minas-tirith:~ # /etc/sysctl.conf: ### converted from /etc/sysconfig/sysctl at Mon, 06 Jan 2014 02:32:57 +0100 net.ipv4.tcp_syncookies = 1 net.ipv4.ip_forward = 0 net.ipv6.conf.all.forwarding = 0 net.ipv4.tcp_ecn = 0 # net.ipv6.conf.all.disable_ipv6 = 1
Unevictable: 80 kB Mlocked: 80 kB SwapTotal: 6289412 kB SwapFree: 4813752 kB Dirty: 104 kB Writeback: 0 kB AnonPages: 3282560 kB Mapped: 88652 kB Shmem: 246612 kB Slab: 108992 kB SReclaimable: 42936 kB SUnreclaim: 66056 kB KernelStack: 13696 kB PageTables: 79240 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 8256532 kB Committed_AS: 13514900 kB VmallocTotal: 34359738367 kB VmallocUsed: 0 kB VmallocChunk: 0 kB HardwareCorrupted: 0 kB AnonHugePages: 399360 kB ShmemHugePages: 0 kB ShmemPmdMapped: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB DirectMap4k: 644416 kB DirectMap2M: 3450880 kB minas-tirith:~ #
Ok, I wait for suggestions on what to do next.
Your system is overloaded. Either do not run programs that consume such amount of RAM or add RAM. Tweaking swappiness may help to prevent pushing programs out of memory.
No, that's not it. I was using happily that machine during the night, then I left it alone, not closing any program, I went to sleep, and some 12 hours it crashed. Only cron and timers were changing things. I have been using the same load a long time, with 42.3, before upgrading to 15.0 I'll try removing "btrfsmaintenance". -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 11/12/2018 21.13, Carlos E. R. wrote:
On 11/12/2018 18.14, Andrei Borzenkov wrote:
11.12.2018 14:37, Carlos E. R. пишет:
...
Your system is overloaded. Either do not run programs that consume such amount of RAM or add RAM. Tweaking swappiness may help to prevent pushing programs out of memory.
No, that's not it. I was using happily that machine during the night, then I left it alone, not closing any program, I went to sleep, and some 12 hours it crashed.
Look, this minute I have active: Firefox (same pages as yesterday, no change). Chrome (Amazon Prime Video page). Thunderbird, actively writing this email. Kodi, playing a video. The system is perfectly responsive, with a much higher load than yesterday. Sorting by RES size: top - 02:36:27 up 5 days, 35 min, 5 users, load average: 2.04, 1.41, 0.64 Tasks: 290 total, 2 running, 288 sleeping, 0 stopped, 0 zombie %Cpu(s): 53.9 us, 4.5 sy, 0.0 ni, 41.0 id, 0.2 wa, 0.0 hi, 0.5 si, 0.0 st KiB Mem : 3934240 total, 359768 free, 2515744 used, 1058728 buff/cache KiB Swap: 6289412 total, 5295544 free, 993868 used. 878828 avail Mem PID USER PR NI VIRT RES SHR SWAP USED S %CPU %MEM TIME+ COMMAND 3164 cer 20 0 9538164 685220 68124 64908 750128 S 0.330 17.42 11:46.31 firefox 10367 cer 20 0 3049988 466320 124600 0 466320 S 0.330 11.85 0:52.58 thunderbird+ 10533 cer 20 0 2298728 307760 84420 0 307760 S 90.43 7.823 4:32.66 kodi.bin 3342 cer 20 0 2059536 286064 32628 54996 341060 S 0.000 7.271 2:52.77 Web Content 3256 cer 20 0 2168236 256788 17584 41596 298384 S 0.000 6.527 2:12.09 Web Content 5609 cer 20 0 1164592 140012 41120 0 140012 S 0.330 3.559 0:51.42 chrome 5514 cer 20 0 1172780 87908 33924 0 87908 S 0.000 2.234 0:32.79 chrome 3381 cer 20 0 1765512 71884 9012 46080 117964 S 0.000 1.827 1:02.95 Web Content 2703 root 20 0 477612 58780 45412 15496 74276 S 4.950 1.494 47:22.52 X 5553 cer 20 0 663280 47536 4928 0 47536 S 0.000 1.208 0:04.51 chrome 3397 cer 20 0 1692296 31528 5808 44160 75688 S 0.000 0.801 0:51.19 Web Content 4296 cer 20 0 953640 29168 22352 13928 43096 S 8.251 0.741 0:03.76 gnote 4021 cer 20 0 885740 26384 19568 4768 31152 S 0.000 0.671 0:05.31 panel-1-whi+ 4038 cer 20 0 1040556 23148 8832 15452 38600 S 2.310 0.588 2:55.56 xfce4-termi+ 4003 cer 20 0 870052 18468 6512 5292 23760 S 0.330 0.469 0:12.27 xfdesktop 5658 cer 20 0 665896 16672 2400 0 16672 S 0.000 0.424 0:00.08 chrome 4067 cer 20 0 555512 14784 8080 1784 16568 S 0.330 0.376 18:20.51 panel-18-we+ 4319 cer 20 0 866484 13552 7848 4356 17908 S 0.000 0.344 1:50.68 contarcorreo Sorting by %CPU: top - 02:38:19 up 5 days, 36 min, 5 users, load average: 2.16, 1.67, 0.82 Tasks: 289 total, 1 running, 288 sleeping, 0 stopped, 0 zombie %Cpu(s): 53.9 us, 5.0 sy, 0.0 ni, 40.3 id, 0.0 wa, 0.0 hi, 0.8 si, 0.0 st KiB Mem : 3934240 total, 313148 free, 2563876 used, 1057216 buff/cache KiB Swap: 6289412 total, 5295800 free, 993612 used. 835180 avail Mem PID USER PR NI VIRT RES SHR SWAP USED S %CPU %MEM TIME+ COMMAND 10533 cer 20 0 2298952 308056 84420 0 308056 S 101.7 7.830 6:16.68 kodi.bin 2703 root 20 0 470580 59312 45932 15484 74796 S 4.305 1.508 47:25.35 X 4296 cer 20 0 953640 29244 22400 13900 43144 S 2.649 0.743 0:04.11 gnote 3952 cer 9 -11 5363704 10276 8168 1656 11932 S 1.656 0.261 0:23.61 pulseaudio 10518 cer 20 0 39892 6216 5444 0 6216 S 1.656 0.158 0:11.08 ssh 3948 cer 20 0 567540 9964 6292 3252 13216 S 0.993 0.253 13:44.71 xfwm4 4038 cer 20 0 1040556 24104 9696 15368 39472 S 0.993 0.613 2:56.04 xfce4-termi+ 10635 cer 20 0 41348 4168 3552 0 4168 R 0.993 0.106 0:02.55 top 4030 cer 20 0 876476 9320 3592 2704 12024 S 0.662 0.237 23:35.15 gkrellm 10367 cer 20 0 3061568 469516 127096 0 469516 S 0.662 11.93 1:00.20 thunderbird+ 26386 root 20 0 62424 1904 860 0 1904 S 0.662 0.048 5:12.21 top 4059 cer 20 0 200848 4996 2884 1216 6212 S 0.331 0.127 4:12.85 panel-14-mu+ 4060 cer 20 0 662728 6260 2840 2700 8960 S 0.331 0.159 4:37.06 panel-20-pu+ 4067 cer 20 0 555512 14784 8080 1784 16568 S 0.331 0.376 18:21.03 panel-18-we+ 4196 cer 20 0 78920 2588 1832 264 2852 S 0.331 0.066 0:15.05 xscreensaver 5609 cer 20 0 1164592 139580 41120 0 139580 S 0.331 3.548 0:51.66 chrome 5966 root 20 0 0 0 0 0 0 S 0.331 0.000 0:06.38 kworker/1:0 10659 root 20 0 0 0 0 0 0 S 0.331 0.000 0:00.49 kworker/0:1 Meanwhile, I removed btrfsmaintenance. -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.0 x86_64 (Minas Tirith))
On 12/12/2018 02.46, Carlos E. R. wrote:
On 11/12/2018 21.13, Carlos E. R. wrote:
On 11/12/2018 18.14, Andrei Borzenkov wrote:
11.12.2018 14:37, Carlos E. R. пишет:
...
Your system is overloaded. Either do not run programs that consume such amount of RAM or add RAM. Tweaking swappiness may help to prevent pushing programs out of memory.
No, that's not it. I was using happily that machine during the night, then I left it alone, not closing any program, I went to sleep, and some 12 hours it crashed.
Look, this minute I have active:
Firefox (same pages as yesterday, no change). Chrome (Amazon Prime Video page). Thunderbird, actively writing this email. Kodi, playing a video.
The system is perfectly responsive, with a much higher load than yesterday. Observe this:
top - 03:06:08 up 5 days, 1:04, 5 users, load average: 0.27, 0.32, 0.42 Tasks: 294 total, 2 running, 292 sleeping, 0 stopped, 0 zombie %Cpu(s): 6.6 us, 3.6 sy, 0.0 ni, 89.5 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st KiB Mem : 3934240 total, 819244 free, 1883652 used, 1231344 buff/cache KiB Swap: 6289412 total, 5317560 free, 971852 used. 1521480 avail Mem PID USER PR NI VIRT RES SHR SWAP USED S %CPU %MEM TIME+ COMMAN ... 4183 cer 39 19 0.250t 13836 7472 2448 16284 S 0.000 0.352 0:08.65 baloo_file This single process says it is using 1/4 of a terabyte virtual memory! I know this is not real memory, but still... -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.0 x86_64 (Minas Tirith))
Carlos E. R. wrote:
Observe this:
PID USER PR NI VIRT RES SHR SWAP USED S %CPU %MEM TIME+ COMMAN ... 4183 cer 39 19 0.250t 13836 7472 2448 16284 S 0.000 0.352 0:08.65 baloo_file
This single process says it is using 1/4 of a terabyte virtual memory! I know this is not real memory, but still...
Yes, I have seen that too, I posted something about that a few months ago. I think it's pretty odd. -- Per Jessen, Zürich (-0.8°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-12-11 9:08 p.m., Carlos E. R. wrote:
No, that's not it. I was using happily that machine during the night, then I left it alone, not closing any program, I went to sleep, and some 12 hours it crashed.
That sounds to me like a memory leak. In fact there's a lot in this thread that reeks of a memory leak. Further, I'm getting a system freezing and an insanely high load factors. I hotkey to a VT where I've logged in and run 'w' which is comparatively lightweight and see load factors of between 9 and 33.. Killing firefox or dolphin or thunderbird relieves it. Thee dolphin had a lot of tabs and takes memory for rendering; I'm not sure about the libraries it uses. TB and FF are GTK based and both also use HTML rendering libraries. Perhaps it is a HTML page or image or something... I've massively reduced the number of FF tabs and things seem to be holding. So I'm suspicious that there is a memory leak in the HTML rendering software somewhere along the line. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/12/2018 12.00, Anton Aylward wrote:
On 2018-12-11 9:08 p.m., Carlos E. R. wrote:
No, that's not it. I was using happily that machine during the night, then I left it alone, not closing any program, I went to sleep, and some 12 hours it crashed.
That sounds to me like a memory leak. In fact there's a lot in this thread that reeks of a memory leak.
Yes. But you see, yesterday I added the RES memory used by the most memory heavy processes, and it was 2 gig. Half of available memory. Where was the rest hiding? Yesterday night I set running "top" every 5 minutes and writing to a file, to see what happens when it crashes - but it has not crashed.
Further, I'm getting a system freezing and an insanely high load factors. I hotkey to a VT where I've logged in and run 'w' which is comparatively lightweight and see load factors of between 9 and 33..
Killing firefox or dolphin or thunderbird relieves it. Thee dolphin had a lot of tabs and takes memory for rendering; I'm not sure about the libraries it uses.
TB and FF are GTK based and both also use HTML rendering libraries. Perhaps it is a HTML page or image or something...
I leave this days FF on the same pages. Actually, it is my router setup page.
I've massively reduced the number of FF tabs and things seem to be holding.
So I'm suspicious that there is a memory leak in the HTML rendering software somewhere along the line.
Possibly. You can see in the first post the memory load: top - 21:48:19 up 1 day, 19:46, 5 users, load average: 9.18, 11.24, 14.59 Tasks: 291 total, 4 running, 287 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.4 us, 18.4 sy, 0.0 ni, 9.9 id, 68.1 wa, 0.0 hi, 1.1 si, 0.0 st KiB Mem : 3934240 total, 106132 free, 3417824 used, 410284 buff/cache KiB Swap: 6289412 total, 4956028 free, 1333384 used. 56300 avail Mem PID USER PR NI VIRT RES SHR SWAP USED S %CPU %MEM TIME+ COMMAND 4355 cer 20 0 9.857g 1.168g 33104 0 1.168g D 0.946 31.13 5:11.20 firefox 4603 cer 20 0 2189304 497600 20004 0 497600 S 0.000 12.65 0:20.22 Web Content 4476 cer 20 0 2121180 369828 4 0 369828 S 0.000 9.400 0:31.32 Web Content 12670 cer 20 0 1645688 204172 16424 24272 228444 S 2.208 5.190 60:26.25 chrome 4574 cer 20 0 1800896 123752 4776 0 123752 S 0.000 3.146 0:36.18 Web Content 4616 cer 20 0 1748260 113256 4444 0 113256 S 0.000 2.879 0:09.17 Web Content 12526 cer 20 0 1436224 93956 2964 20672 114628 D 4.416 2.388 84:47.28 chrome 15650 cer 20 0 896392 84652 12128 31548 116200 D 1.262 2.152 10:37.98 chrome 16330 cer 20 0 836828 81516 19036 29160 110676 D 0.631 2.072 3:20.19 chrome 12563 cer 20 0 2077116 79692 6032 228036 307728 S 0.000 2.026 61:25.77 chrome 15996 cer 20 0 827280 77852 15320 24792 102644 S 0.631 1.979 3:16.00 chrome 15952 cer 20 0 832136 77220 2944 26892 104112 S 0.000 1.963 3:07.12 chrome 15265 cer 20 0 845048 57020 728 33540 90560 S 0.000 1.449 11:23.63 chrome 16400 cer 20 0 793004 41616 744 26940 68556 S 0.315 1.058 1:22.59 chrome 2703 root 20 0 450280 41456 28532 15100 56556 D 0.631 1.054 22:37.38 X 4003 cer 20 0 869880 10892 8 6192 17084 S 0.000 0.277 0:05.23 xfdesktop 4038 cer 20 0 1036900 10676 28 17256 27932 S 0.000 0.271 0:37.96 xfce4-terminal 4030 cer 20 0 875056 8264 1888 1888 10152 S 0.631 0.210 9:59.47 gkrellm Firefox had almost 10 GB of virtual memory. I'm going to add those numbers now, in calc. Huh, I think that that numbers that don't say the units are kilobytes. A bit of a complication. Virt: 31,14E+09 RES: 3,14E+09 Compare with the situation now, with the *same programs* running normally: top - 13:01:30 up 5 days, 11:00, 6 users, load average: 0.03, 0.06, 0.04 Tasks: 293 total, 2 running, 291 sleeping, 0 stopped, 0 zombie %Cpu0 : 2.3 us, 0.6 sy, 0.0 ni, 97.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st %Cpu1 : 1.5 us, 1.5 sy, 0.0 ni, 97.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 3934240 total, 1136168 free, 2230464 used, 567608 buff/cache KiB Swap: 6289412 total, 5301176 free, 988236 used. 1224416 avail Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 3256 cer 20 0 2339368 641960 33212 19416 S 0.000 16.32 2:50.93 Web Content 3164 cer 20 0 9916312 416412 57612 54632 S 0.207 10.58 15:35.46 firefox 3342 cer 20 0 2144876 224308 35160 40800 S 0.415 5.701 4:32.34 Web Content 2703 root 20 0 514976 145328 127548 12096 S 1.037 3.694 53:17.74 X 5609 cer 20 0 1165872 118928 35592 20244 S 0.207 3.023 2:28.89 chrome 3397 cer 20 0 1848824 117872 34492 16732 S 0.207 2.996 1:41.08 Web Content 5514 cer 20 0 1172780 71156 22544 6364 S 0.000 1.809 1:12.87 chrome 3381 cer 20 0 1743320 68808 13432 50600 S 0.000 1.749 1:03.69 Web Content 5553 cer 20 0 664720 35352 5508 13000 S 0.000 0.899 0:07.11 chrome 4183 cer 39 19 0.250t 28872 22504 2444 S 0.000 0.734 0:09.36 baloo_file 4038 cer 20 0 1041580 22832 7444 15220 S 0.000 0.580 3:41.48 xfce4-terminal 4021 cer 20 0 888188 20656 12520 3768 S 0.000 0.525 0:07.45 panel-1-whisker 4003 cer 20 0 870052 19100 6768 5096 S 0.000 0.485 0:14.61 xfdesktop 4269 cer 39 19 918436 13796 4940 84912 S 0.000 0.351 0:40.91 tracker-miner-f 4067 cer 20 0 555544 13508 6908 1924 S 0.415 0.343 21:12.17 panel-18-weathe 4296 cer 20 0 953640 12348 5920 14316 S 0.000 0.314 0:04.84 gnote 3948 cer 20 0 568152 12300 6028 1284 R 0.207 0.313 15:48.99 xfwm4 3981 cer 20 0 1003288 12020 4896 4604 S 0.000 0.306 0:18.32 Thunar 4058 cer 20 0 399408 10380 6792 5024 S 0.000 0.264 0:00.86 panel-15-screen 3989 cer 20 0 747576 9496 5236 4000 S 0.000 0.241 0:21.31 xfce4-panel 4030 cer 20 0 876476 9468 4612 3576 S 0.622 0.241 27:26.42 gkrellm 14168 cer 20 0 18652 8524 3292 0 S 0.000 0.217 0:00.15 bash 4319 cer 20 0 866876 8464 3428 5232 S 0.207 0.215 2:04.24 contarcorreo 14165 root 20 0 128124 7776 6508 0 S 0.000 0.198 0:00.07 sshd Virt: 250,03E+12 RES: 2,05E+09 Notice the free memory, it is way more. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-12-12 7:21 a.m., Carlos E. R. wrote:
top - 21:48:19 up 1 day, 19:46, 5 users, load average: 9.18, 11.24, 14.59
Yikes, look at those load averages. WHY? You've got plenty of free swap even if something is using memory. What are things waiting on There's another tool to look at the CPU/wait queues, but I forget what it is.
Tasks: 291 total, 4 running, 287 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.4 us, 18.4 sy, 0.0 ni, 9.9 id, 68.1 wa, 0.0 hi, 1.1 si, 0.0 st KiB Mem : 3934240 total, 106132 free, 3417824 used, 410284 buff/cache KiB Swap: 6289412 total, 4956028 free, 1333384 used. 56300 avail Mem
-- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/12/2018 15.21, Anton Aylward wrote:
On 2018-12-12 7:21 a.m., Carlos E. R. wrote:
top - 21:48:19 up 1 day, 19:46, 5 users, load average: 9.18, 11.24, 14.59
Yikes, look at those load averages. WHY? You've got plenty of free swap even if something is using memory. Well, the machine was responding very slowly that moment, it was unresponsive. Sorting by CPU load revealed:
PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 38 root 20 0 0 0 0 0 S 25.39 0.000 20:48.33 kswapd0 <=== It was trashing, not swapping. What nobody knows is why.
What are things waiting on
On memory to be freed by swaping out, but what was swapped out was also needed, so undo, in a death cycle.
There's another tool to look at the CPU/wait queues, but I forget what it is.
htop?
Tasks: 291 total, 4 running, 287 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.4 us, 18.4 sy, 0.0 ni, 9.9 id, 68.1 wa, 0.0 hi, 1.1 si, 0.0 st KiB Mem : 3934240 total, 106132 free, 3417824 used, 410284 buff/cache KiB Swap: 6289412 total, 4956028 free, 1333384 used. 56300 avail Mem
htop this instant, when sorted by RES, displays dozens of firefox processes. I have never seen so many: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 3259 cer 22 2 2341M 677M 27600 S 0.0 17.6 0:12.65 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3260 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:00.00 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3261 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:00.00 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3262 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:00.14 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3263 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:09.71 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3264 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:12.86 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3265 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:00.01 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3266 cer 21 1 2341M 677M 27600 S 0.0 17.6 0:00.00 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3267 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:00.44 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3271 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:00.07 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3272 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:00.00 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3274 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:00.00 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3275 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:00.00 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3276 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:00.00 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3277 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:00.00 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3323 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:00.01 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3453 cer 20 0 2341M 677M 27600 S 0.0 17.6 0:00.00 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3256 cer 20 0 2341M 677M 27600 S 0.0 17.6 3:08.21 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 42:0|44:0| -boolPrefs 183:1|301:0|311:0| -stringPrefs 287:36;a2d293ec-4210-449d-8816-ae6626534d3f| 3205 cer 20 0 9718M 432M 60768 S 0.0 11.3 0:00.00 /usr/lib64/firefox/firefox 3206 cer 20 0 9718M 432M 60768 S 0.0 11.3 0:00.21 /usr/lib64/firefox/firefox 3207 cer 20 0 9718M 432M 60768 S 0.0 11.3 0:26.40 /usr/lib64/firefox/firefox 3208 cer 20 0 9718M 432M 60768 S 0.0 11.3 0:08.23 /usr/lib64/firefox/firefox 3209 cer 20 0 9718M 432M 60768 S 0.0 11.3 0:00.04 /usr/lib64/firefox/firefox 3210 cer 20 0 9718M 432M 60768 S 0.0 11.3 0:07.09 /usr/lib64/firefox/firefox 3211 cer 20 0 9718M 432M 60768 S 0.0 11.3 0:09.82 /usr/lib64/firefox/firefox 3212 cer 20 0 9718M 432M 60768 S 0.0 11.3 0:10.50 /usr/lib64/firefox/firefox ... and there are more. "ps afxu | grep firefox" does not display them. They must be threads, not processes. I suppose they share the RES memory chunk. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-12-12 1:56 p.m., Carlos E. R. wrote:
What are things waiting on On memory to be freed by swaping out, but what was swapped out was also needed, so undo, in a death cycle.
There's another tool to look at the CPU/wait queues, but I forget what it is. htop?
No. htop _can_ tell you what queue, but there is a text-mode tool that lists all the wait and everything waiting on them. Option for output on XML or some sort of array that other programs can digest. I forget what it is. complicated set op parameters :-( https://cs.unc.edu/~blate/courses/comp530H_F14/pdf/Sync_Schedulie.pdf -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-12-13 8:48 a.m., Anton Aylward wrote:
On 2018-12-12 1:56 p.m., Carlos E. R. wrote:
What are things waiting on On memory to be freed by swaping out, but what was swapped out was also needed, so undo, in a death cycle.
There's another tool to look at the CPU/wait queues, but I forget what it is. htop?
No. htop _can_ tell you what queue, but there is a text-mode tool that lists all the wait and everything waiting on them. Option for output on XML or some sort of array that other programs can digest. I forget what it is. complicated set op parameters :-(
https://cs.unc.edu/~blate/courses/comp530H_F14/pdf/Sync_Schedulie.pdf
Try, variously # vmstat -s # vmstat -D # iotop -o actually iotop is very useful but has a lot of options to play with and might easily get confusing The 'sar' command can also reprot on the number of page faults and things like that. # latencytop can get confusing, make sure you know whiahc process you are watching and how to lock onto it -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-12-11 9:08 p.m., Carlos E. R. wrote:
This single process says it is using 1/4 of a terabyte virtual memory! I know this is not real memory, but still...
Indeed, and that too can be indicative of a memory leak. Yes, what matters is the working set, but even that may result in paging. I admit there are some applications that might want to use that 1/4 of a terabyte virtual memory, some photo editing for example, but common use, email, web browsing, regular editing shouldn't. Its not as if you are composing a coffee table book with double A3 page spreads. Or are you? In this instance, the 'baloo_file' there isn't much CPU activity. It may be that it is running in some CPU-limited framework. If something like this really freaks you out then there us always the possibility of starting it under a ULIMIT-ed shell (see man bashbuiltins) So go back to the 'top' command and see what is /really/ consuming resources, what is thrashing, what is leaking memory. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/12/2018 12.17, Anton Aylward wrote:
On 2018-12-11 9:08 p.m., Carlos E. R. wrote:
This single process says it is using 1/4 of a terabyte virtual memory! I know this is not real memory, but still...
Indeed, and that too can be indicative of a memory leak.
Yes, what matters is the working set, but even that may result in paging.
I admit there are some applications that might want to use that 1/4 of a terabyte virtual memory, some photo editing for example, but common use, email, web browsing, regular editing shouldn't. Its not as if you are composing a coffee table book with double A3 page spreads.
Or are you?
No. In fact, I opened yesterday a calc sheet (plus thunderbird, firefox and chrome). Worked just fine.
In this instance, the 'baloo_file' there isn't much CPU activity. It may be that it is running in some CPU-limited framework. If something like this really freaks you out then there us always the possibility of starting it under a ULIMIT-ed shell (see man bashbuiltins)
Supposedly baloo is designed to idle when the machine is busy.
So go back to the 'top' command and see what is /really/ consuming resources, what is thrashing, what is leaking memory.
Well, as I said, I have one terminal running "top" like this: top -o RES -b -n 4000 -d 300 > somefile to log the crash. But tonight, it did not crash. It is working just fine, with the same load that crashed two days in a row. The only thing I did was uninstall btrfsmaintenance. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 13/12/2018 09:05, David C. Rankin wrote:
And we were told it did nothing if you didn't have a butter install....
It doesn't. But AFAICT, it still starts, looks around, decides it has nothing to do, and quits. And that takes time. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 13/12/2018 13.11, Liam Proven wrote:
On 13/12/2018 09:05, David C. Rankin wrote:
And we were told it did nothing if you didn't have a butter install....
It doesn't. But AFAICT, it still starts, looks around, decides it has nothing to do, and quits.
And that takes time.
Have a look at this one: <http://bugzilla.opensuse.org/show_bug.cgi?id=1096589> -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 13/12/2018 09.05, David C. Rankin wrote:
On 12/12/2018 06:36 AM, Carlos E. R. wrote:
The only thing I did was uninstall btrfsmaintenance.
And we were told it did nothing if you didn't have a butter install....
Have a look at this one: <http://bugzilla.opensuse.org/show_bug.cgi?id=1096589> By the way, private replies to you still bounce. Reporting-MTA: dns; relayout01-out.e.movistar.es X-Postfix-Queue-ID: 43Fr506tKwzjZ7R X-Postfix-Sender: rfc822; robin.listas@telefonica.net Arrival-Date: Thu, 13 Dec 2018 11:48:36 +0100 (CET) Final-Recipient: rfc822; drankinatty@suddenlinkmail.com Original-Recipient: rfc822;drankinatty@suddenlinkmail.com Action: failed Status: 4.0.0 Remote-MTA: dns; mx.suddenlinkmail.com Diagnostic-Code: smtp; 421 dalifep03.suddenlink.net connection refused from [86.109.101.142] -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 12/12/2018 13.36, Carlos E. R. wrote:
On 12/12/2018 12.17, Anton Aylward wrote:
On 2018-12-11 9:08 p.m., Carlos E. R. wrote:
...
So go back to the 'top' command and see what is /really/ consuming resources, what is thrashing, what is leaking memory.
Well, as I said, I have one terminal running "top" like this:
top -o RES -b -n 4000 -d 300 > somefile
to log the crash. But tonight, it did not crash. It is working just fine, with the same load that crashed two days in a row.
The only thing I did was uninstall btrfsmaintenance.
Well, no more crashes so far. Go figure. I will watch it, though. Since yesterday night, the machine is running Thunderbird, Firefox, Chrome, and Kodi, no issues. Perfectly responsive with that large load. Less than 3 GB of ram are used by processes, leaving half a gig free, another half for buffers/cache, and half available. This is the normal situation under "load". More than 1 gig of swap used. (sorting by RES) top - 15:00:31 up 22:56, 5 users, load average: 0.24, 0.28, 0.21 Tasks: 292 total, 2 running, 290 sleeping, 0 stopped, 0 zombie %Cpu(s): 5.6 us, 1.6 sy, 0.3 ni, 92.4 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st KiB Mem : 3934076 total, 497804 free, 2865376 used, 570896 buff/cache KiB Swap: 6289412 total, 5016324 free, 1273088 used. 662160 avail Mem PID USER PR NI VIRT RES SHR SWAP USED S %CPU %MEM TIME+ COMMAND 4823 cer 20 0 3593232 715736 33792 327808 0.995g S 1.036 18.19 9:21.17 thunderbird-bin 18262 cer 20 0 9443652 591152 48364 34720 625872 S 2.246 15.03 20:52.13 firefox 18381 cer 20 0 1863888 212596 31224 11120 223716 S 2.783 5.404 16:12.69 Web Content 18440 cer 20 0 1866280 209640 29976 18148 227788 R 2.816 5.329 16:12.65 Web Content 18426 cer 20 0 2130288 186116 21692 21352 207468 S 0.303 4.731 2:17.77 Web Content 5767 cer 20 0 1700176 167088 19996 22292 189380 S 0.283 4.247 44:00.77 chrome 5622 cer 20 0 1227188 103372 19484 22804 126176 S 0.220 2.628 43:34.19 chrome 18503 cer 20 0 1657076 55080 16756 33164 88244 S 0.047 1.400 0:18.83 Web Content 2725 root 20 0 403324 52420 23236 18820 71240 S 1.700 1.332 30:13.84 X 4860 cer 20 0 1039936 28788 3272 5840 34628 S 0.127 0.732 1:08.97 xfce4-terminal 5658 cer 20 0 808596 28588 9356 60956 89544 S 0.007 0.727 50:15.21 chrome 5077 cer 39 19 704984 24788 1144 69180 93968 S 0.007 0.630 0:15.09 tracker-miner-f 2608 news 20 0 33544 17732 2044 0 17732 S 0.030 0.451 0:00.09 leafnode 21196 cer 20 0 664884 13828 4736 4852 18680 S 0.000 0.351 0:00.17 chrome 5134 cer 20 0 953708 13632 3076 10272 23904 S 0.000 0.347 0:02.56 gnote 4874 cer 20 0 481968 13100 6584 1728 14828 S 0.493 0.333 6:45.89 panel-18-weathe 2609 news 20 0 28268 12332 1960 0 12332 S 0.020 0.313 0:00.06 leafnode 4850 cer 20 0 968268 11492 1256 23916 35408 S 0.000 0.292 0:04.01 keepassxc 4992 cer 39 19 0.250t 11360 8012 2324 13684 S 0.003 0.289 0:02.79 baloo_file 4808 cer 20 0 385664 10952 4464 1424 12376 S 0.003 0.278 0:04.85 xfce4-panel 5796 cer 20 0 531956 10832 2656 6020 16852 S 0.000 0.275 63:04.81 chrome -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 12/16/18 9:09 AM, Carlos E. R. wrote:
Well, no more crashes so far. Go figure. I will watch it, though.
Since yesterday night, the machine is running Thunderbird, Firefox, Chrome, and Kodi, no issues. Perfectly responsive with that large load.
Sorry for being late to the thread. I've had quite similar problems several times in the past, found them to be due to specific web pages, probably running bad javascript. When I close the offending webpage, the problem goes away. For a long time I've been using a Firefox add-in called NoScript. It allows me to turn on/off specific URLs from which scripts are delivered. It's a nice app, but would be much better if it had some intelligence to detect when a script was devouring RAM and at least flash a notice of the (potential) problem. As it is, that task is left to the user... and it's no trivial exercise. The best that "top" provides is one of the "Web Content" processes, but not which window or tab or site. The PID numbering might, in more orderly scenarios, offer a plausible guess as to the offending process. But I haven't yet tried simply killing it... don't know what further hell that might unleash upon an important session. Javascript coders should test their stuff better before they loose it on the public, as should web developers. As it is, we all become the beta testers. hth -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 17/12/2018 07.42, ken wrote:
On 12/16/18 9:09 AM, Carlos E. R. wrote:
Well, no more crashes so far. Go figure. I will watch it, though.
Since yesterday night, the machine is running Thunderbird, Firefox, Chrome, and Kodi, no issues. Perfectly responsive with that large load.
Sorry for being late to the thread. I've had quite similar problems several times in the past, found them to be due to specific web pages, probably running bad javascript. When I close the offending webpage, the problem goes away.
For a long time I've been using a Firefox add-in called NoScript. It allows me to turn on/off specific URLs from which scripts are delivered. It's a nice app, but would be much better if it had some intelligence to detect when a script was devouring RAM and at least flash a notice of the (potential) problem. As it is, that task is left to the user... and it's no trivial exercise. The best that "top" provides is one of the "Web Content" processes, but not which window or tab or site. The PID numbering might, in more orderly scenarios, offer a plausible guess as to the offending process. But I haven't yet tried simply killing it... don't know what further hell that might unleash upon an important session. Javascript coders should test their stuff better before they loose it on the public, as should web developers. As it is, we all become the beta testers.
That's a possibility, and in my tests I had Firefox opened at the same pages. The suspicious one belongs to my own router. But you see, the laptop can be fine for an hour or ten hours, and then suddenly it goes caput. The issue is not high memory load, but that a lot of that memory tries to be active instead of in swap. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-12-17 1:42 a.m., ken wrote:
On 12/16/18 9:09 AM, Carlos E. R. wrote:
Well, no more crashes so far. Go figure. I will watch it, though.
Since yesterday night, the machine is running Thunderbird, Firefox, Chrome, and Kodi, no issues. Perfectly responsive with that large load.
Sorry for being late to the thread. I've had quite similar problems several times in the past, found them to be due to specific web pages, probably running bad javascript. When I close the offending webpage, the problem goes away.
That makes perfect sense to me. I've very heavily pruned my list of tabs in FF, even the 'not open' pages. Things are better now :-) Can JavaScript run even if you don't open the tab?
For a long time I've been using a Firefox add-in called NoScript. It allows me to turn on/off specific URLs from which scripts are delivered. It's a nice app, but would be much better if it had some intelligence to detect when a script was devouring RAM and at least flash a notice of the (potential) problem.
Ah. If I knew the pages, and hence the web site, I could (a) not go there and (b) point the problem out to the webmaster. If .. If .. If ... If Dream on!
As it is, that task is left to the user... and it's no trivial exercise.
Can you get concussion from hypothetically banging you head against a cybernetic wall? Punch-drunk and irrational? Like boxers or or ice-hockey players and American Rules Football before they introduced helmets. Working for some managers is like that too; you feel like all you are doing is banging your head against a brick wall. You could probably get the same effect trying to get the webmaster to fix his JavaScript.
... Javascript coders should test their stuff better before they loose it on the public, as should web developers.
If .. If .. If ... If Dream on! I had hoped that the Chromium model of one process per page would make this sort of thing more visible. But lets see, my FF has about 100 tabs (down from about 400 last month) and maybe a dozen are active and I've stepped though open/close over a dozed so far this morning checking our links and URLs and Google and Wikipedia searches. If I tried converting from FF to Chromium my machine would grind to a halt, load factor go up to three digits. BTDT. Did it twice since the first time might have been an anomaly. Does Chromium try opening EVERYTHING while FF doesn't? It seems so. But Chromium handles some pages quite differently. If I visit Walmart.ca with FF I can't see prices, but I can if I use chromium. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 17/12/2018 15:19, Anton Aylward wrote:
If I knew the pages, and hence the web site, I could (a) not go there and (b) point the problem out to the webmaster.
This gave me an idea. It might be a silly idea, I don't know. Chrome introduced an innovation years ago that I loved: it puts a little loudspeaker icon on any tab that's playing music. Firefox later copied this. That allows nasty bad-mannered websites with autoplay videos -- such as C|Net -- to be identified and silenced. How about an optional addon that embeds a CPU use histogram into the tab headers, so you can see which tabs are the most CPU-heavy? It's probably not something you'd want on all the time, but for troubleshooting it could be very useful. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-12-18 7:07 a.m., Liam Proven wrote:
On 17/12/2018 15:19, Anton Aylward wrote:
If I knew the pages, and hence the web site, I could (a) not go there and (b) point the problem out to the webmaster.
This gave me an idea. It might be a silly idea, I don't know.
Chrome introduced an innovation years ago that I loved: it puts a little loudspeaker icon on any tab that's playing music. Firefox later copied this.
That allows nasty bad-mannered websites with autoplay videos -- such as C|Net -- to be identified and silenced.
Is that auto-play that requires the net connection or just animated GIF? Some email I get has short animated GIFs; easy to tell 'cos the loop time is very short. But I can imagine longer ones emulating a video that make massive demands of memory and (CPU?) one the way down have hit network bandwidth as much as if they were a video.
How about an optional addon that embeds a CPU use histogram into the tab headers, so you can see which tabs are the most CPU-heavy?
Yes, but is that relevant? As far as I can tell the incredibly high load factors are an emergent property of wait times rather than CPU load.
It's probably not something you'd want on all the time, but for troubleshooting it could be very useful.
Shooting some kinds of trouble ... -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 13.36, Anton Aylward wrote: Notice that this is tangent on my CPU load problem. I don't mind, just that if you try to fit my symptoms they will not match.
On 2018-12-18 7:07 a.m., Liam Proven wrote:
On 17/12/2018 15:19, Anton Aylward wrote:
If I knew the pages, and hence the web site, I could (a) not go there and (b) point the problem out to the webmaster.
This gave me an idea. It might be a silly idea, I don't know.
Chrome introduced an innovation years ago that I loved: it puts a little loudspeaker icon on any tab that's playing music. Firefox later copied this.
That allows nasty bad-mannered websites with autoplay videos -- such as C|Net -- to be identified and silenced.
Is that auto-play that requires the net connection or just animated GIF? Some email I get has short animated GIFs; easy to tell 'cos the loop time is very short. But I can imagine longer ones emulating a video that make massive demands of memory and (CPU?) one the way down have hit network bandwidth as much as if they were a video.
The current feature the browser has is simply knowing which tab is producing sound. Just that. When you start firefox and it loads the previous state with several tabs and windows, it is possible that firefox or chrome starts blasting sound at full volume, because one of the one hundred tabs is on a page that automatically loads a video (mind, video, not gif) and it plays automatically with full sound. Or a page that has "background" music. Nasty. It is not a CPU problem, just a sound problem. Good luck finding the nasty tab. Now, an idea based on that one comes below:
How about an optional addon that embeds a CPU use histogram into the tab headers, so you can see which tabs are the most CPU-heavy?
Yes, but is that relevant? As far as I can tell the incredibly high load factors are an emergent property of wait times rather than CPU load.
And this is where you are trying to fit my symptoms into this tangent and failing :-)
It's probably not something you'd want on all the time, but for troubleshooting it could be very useful.
Shooting some kinds of trouble ...
I would like that addon. Or, even better, open another tab that lists all tabs with a small photo (so that I can click and jump to any of them), and also displays the resources used by each tab (including CPU load) and allows to pause or stop (kill) a particular tab. Freeze a tab would be interesting. But I doubt that FF can say the CPU load of a tab, because it does not assign a process per tab. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-12-18 8:31 a.m., Carlos E. R. wrote:
When you start firefox and it loads the previous state with several tabs and windows, it is possible that firefox or chrome starts blasting sound at full volume, because one of the one hundred tabs is on a page that automatically loads a video (mind, video, not gif) and it plays automatically with full sound. Or a page that has "background" music. Nasty. It is not a CPU problem, just a sound problem. Good luck finding the nasty tab.
Yes and no. Yes I agree finding 'nasty tabs', for various values of 'nasty' that we won't go into, isn't simple or straightforward. Liam's idea of 'bookmark and close' might be of more value. *sigh* The 'No' is that firefox, sorry, I'm not adequately experienced with chrome to comment, doesn't start all tabs. There is the 'yes it used to be' but not now. Or did the bring it back post version 60? (I'm still on 52.8 for a variety of reasons, most to do with the add-ons). The FF I'm running doesn't start any tab other than the 'current one' unless I explicitly visit another tab. The one it starts up is, I gather, the one I was on when I shut down the system. Well, OK, sometimes when I bring up the system I get the profile selection box and can delete some tabs, and I might delete the one that I had been on when I shut down, but lets not complicate the use-case too much, eh? As I say, I don't know about Chrome, the few times I've used that in multi-tab mode it seems to drag my machine down. So perhaps it does open all tabs, regardless of the one you are viewing. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 14:57, Anton Aylward wrote:
(I'm still on 52.8 for a variety of reasons, most to do with the add-ons)
Try Waterfox. https://www.waterfoxproject.org/en-US/ The security updates of Quantum, but classic add-ons still work. No RPM for openSUSE but if you unpack the tarball into /opt it runs fine. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 14.57, Anton Aylward wrote:
On 2018-12-18 8:31 a.m., Carlos E. R. wrote:
When you start firefox and it loads the previous state with several tabs and windows, it is possible that firefox or chrome starts blasting sound at full volume, because one of the one hundred tabs is on a page that automatically loads a video (mind, video, not gif) and it plays automatically with full sound. Or a page that has "background" music. Nasty. It is not a CPU problem, just a sound problem. Good luck finding the nasty tab.
Yes and no. Yes I agree finding 'nasty tabs', for various values of 'nasty' that we won't go into, isn't simple or straightforward. Liam's idea of 'bookmark and close' might be of more value. *sigh*
The 'No' is that firefox, sorry, I'm not adequately experienced with chrome to comment, doesn't start all tabs.
But it starts all windows :-p And by default not all tabs, but that is configurable. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 18/12/2018 14:31, Carlos E. R. wrote:
I would like that addon.
:-)
Or, even better, open another tab that lists all tabs with a small photo (so that I can click and jump to any of them),
I believe Opera can do that. I would also suggest that you investigate a vertical tab bar. I find them indispensable. I don't use mainline Firefox much any more but there are some for it now. TressStyleTab works. You have to manually hack your $profile/chrome/userChrome.css file to hide the horizontal tabs and the sidebar header, but then it works. (The hackery is why I favour Waterfox these days. The compiled binary they offer for download runs a treat on openSUSE with no dependencies.)
and also displays the resources used by each tab (including CPU load) and allows to pause or stop (kill) a particular tab.
Yup.
Freeze a tab would be interesting.
Yup.
But I doubt that FF can say the CPU load of a tab, because it does not assign a process per tab.
Ah, good point. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 13:36, Anton Aylward wrote:
Is that auto-play that requires the net connection or just animated GIF?
I don't mean a GIF. I _wish_ they were just GIFs. No, quite a few news/tech news/current affairs sort of sites play an embedded video on the page, either as soon as it's opened (even if it's a background tab) or as soon as it is first activated. I came for text and text is all I want. Perhaps a few illustrations. Not video. So, to give you an example, I went to: https://www.cnet.com/ I opened a few tabs with a middle-click, almost at random. #3 was this: https://www.cnet.com/news/scientists-discover-rare-fossil-from-the-big-bang/ This has an autoplay video, unrelated to the story, at bottom right. Currently it is trying to tell me about "the top 5 best tech toys". Next I had: https://www.cnet.com/news/i-was-wrong-about-the-motorola-razr/ This autoplays "So retro: designing the original..." (the rest is cut off) This is the behaviour I mean. Once the site designers learned that some of us actually know how to open pages in background tabs, the video now *waits until you activate the tab,* then it plays. This prevents the previous behaviour: half a dozen tabs, all playing _different_ videos, or at least ones that start at different times, with a hideous babble of noise coming from one's speakers.
Yes, but is that relevant? As far as I can tell the incredibly high load factors are an emergent property of wait times rather than CPU load.
I don't know. I suspect it might be, yes. I know Firefox sometimes tells me "a web page is slowing down your computer. Do you want to stop scripts executing?" (or words to that effect)... but it doesn't tell me *which one.* -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 18 Dec 2018 15:26:31 +0100 Liam Proven <lproven@suse.cz> wrote:
I opened a few tabs with a middle-click, almost at random.
#3 was this:
https://www.cnet.com/news/scientists-discover-rare-fossil-from-the-big-bang/
This has an autoplay video, unrelated to the story, at bottom right. Currently it is trying to tell me about "the top 5 best tech toys".
Hmm, there's no autoplay video on my machine, because cnet isn't allowed to run javascript. And if I do allow it for some reason, there's still nothing. If I further allow cbsistatic.com then there's a whole load of crap loads, but still no autoplay video. In fact no matter what I do there's no autoplay video, simply because I disabled it globally in Firefox's preferences. :) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 17.20, Dave Howorth wrote:
On Tue, 18 Dec 2018 15:26:31 +0100 Liam Proven <lproven@suse.cz> wrote:
I opened a few tabs with a middle-click, almost at random.
#3 was this:
https://www.cnet.com/news/scientists-discover-rare-fossil-from-the-big-bang/
This has an autoplay video, unrelated to the story, at bottom right. Currently it is trying to tell me about "the top 5 best tech toys".
Hmm, there's no autoplay video on my machine, because cnet isn't allowed to run javascript. And if I do allow it for some reason, there's still nothing. If I further allow cbsistatic.com then there's a whole load of crap loads, but still no autoplay video. In fact no matter what I do there's no autoplay video, simply because I disabled it globally in Firefox's preferences. :)
I have disabled autoplay video, yet they play. The new fashion on some news sites when you open certain pages with videos is that the video is there, loading but stopped (thus using bandwith). As I read the text and page down, a new small window pops up at the bottom left of the page, with the video, sometimes running, and impossible to close, yet obscuring part of the text, specially on phones or tablets. It is way worse on Chrome. In Firefox at least I can block some with ABP. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On Tue, 18 Dec 2018 20:34:10 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 18/12/2018 17.20, Dave Howorth wrote:
On Tue, 18 Dec 2018 15:26:31 +0100 Liam Proven <lproven@suse.cz> wrote:
I opened a few tabs with a middle-click, almost at random.
#3 was this:
https://www.cnet.com/news/scientists-discover-rare-fossil-from-the-big-bang/
This has an autoplay video, unrelated to the story, at bottom right. Currently it is trying to tell me about "the top 5 best tech toys".
Hmm, there's no autoplay video on my machine, because cnet isn't allowed to run javascript. And if I do allow it for some reason, there's still nothing. If I further allow cbsistatic.com then there's a whole load of crap loads, but still no autoplay video. In fact no matter what I do there's no autoplay video, simply because I disabled it globally in Firefox's preferences. :)
I have disabled autoplay video, yet they play.
I've yet to encounter any example at all that does that. Could you provide a link to one? (Oh, you are using the opensuse packaged 60.3.0esr? Things are different in later versions as a quick search will explain)
The new fashion on some news sites when you open certain pages with videos is that the video is there, loading but stopped (thus using bandwith). As I read the text and page down, a new small window pops up at the bottom left of the page, with the video, sometimes running, and impossible to close, yet obscuring part of the text, specially on phones or tablets.
It is way worse on Chrome. In Firefox at least I can block some with ABP.
:) Chrome - don't touch it. chromium - only when I have to. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 21.35, Dave Howorth wrote:
On Tue, 18 Dec 2018 20:34:10 +0100 "Carlos E. R." <> wrote:
On 18/12/2018 17.20, Dave Howorth wrote:
On Tue, 18 Dec 2018 15:26:31 +0100 Liam Proven <lproven@suse.cz> wrote:
I opened a few tabs with a middle-click, almost at random.
#3 was this:
https://www.cnet.com/news/scientists-discover-rare-fossil-from-the-big-bang/
This has an autoplay video, unrelated to the story, at bottom right. Currently it is trying to tell me about "the top 5 best tech toys".
Hmm, there's no autoplay video on my machine, because cnet isn't allowed to run javascript. And if I do allow it for some reason, there's still nothing. If I further allow cbsistatic.com then there's a whole load of crap loads, but still no autoplay video. In fact no matter what I do there's no autoplay video, simply because I disabled it globally in Firefox's preferences. :)
I have disabled autoplay video, yet they play.
I've yet to encounter any example at all that does that. Could you provide a link to one? (Oh, you are using the opensuse packaged 60.3.0esr? Things are different in later versions as a quick search will explain)
It is not easy to find one now when I want to :-) I did not mean that all videos play automatically. It is some on some sites with "clever" scripting, if I remember correctly they were commercials. I'll try [...] no luck. However, youtube videos preload a bit on tab load, which is an issue when I'm using the phone for internet, it is metered.
The new fashion on some news sites when you open certain pages with videos is that the video is there, loading but stopped (thus using bandwith). As I read the text and page down, a new small window pops up at the bottom left of the page, with the video, sometimes running, and impossible to close, yet obscuring part of the text, specially on phones or tablets.
It is way worse on Chrome. In Firefox at least I can block some with ABP.
:) Chrome - don't touch it. chromium - only when I have to.
I use it when FF doesn't properly work with some site. Specially those that /prefer/ Windows. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 18/12/2018 22.01, Carlos E. R. wrote:
On 18/12/2018 21.35, Dave Howorth wrote:
On Tue, 18 Dec 2018 20:34:10 +0100 "Carlos E. R." <> wrote:
On 18/12/2018 17.20, Dave Howorth wrote:
On Tue, 18 Dec 2018 15:26:31 +0100 Liam Proven <lproven@suse.cz> wrote:
I opened a few tabs with a middle-click, almost at random.
#3 was this:
https://www.cnet.com/news/scientists-discover-rare-fossil-from-the-big-bang/
This has an autoplay video, unrelated to the story, at bottom right. Currently it is trying to tell me about "the top 5 best tech toys".
Hmm, there's no autoplay video on my machine, because cnet isn't allowed to run javascript. And if I do allow it for some reason, there's still nothing. If I further allow cbsistatic.com then there's a whole load of crap loads, but still no autoplay video. In fact no matter what I do there's no autoplay video, simply because I disabled it globally in Firefox's preferences. :)
I have disabled autoplay video, yet they play.
I've yet to encounter any example at all that does that. Could you provide a link to one? (Oh, you are using the opensuse packaged 60.3.0esr? Things are different in later versions as a quick search will explain)
It is not easy to find one now when I want to :-)
I did not mean that all videos play automatically. It is some on some sites with "clever" scripting, if I remember correctly they were commercials. I'll try [...] no luck.
<https://www.dailymail.co.uk/news/article-6525515/The-worst-drivers-wheels-German-cars-like-BMWs-Audis-Mercs-study-reveals.html?ito=social-twitter_mailonline> Going down the page there is a video, not started. As I go down past it, a float appears on the bottom right with the video, fortunately not started. And it can be closed. This time :-) But this one is not a commercial, but a part of the article. Commercials are more intrusive. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 26/12/18 1:27 am, Carlos E. R. wrote:
On 18/12/2018 22.01, Carlos E. R. wrote:
On 18/12/2018 21.35, Dave Howorth wrote:
On Tue, 18 Dec 2018 20:34:10 +0100 "Carlos E. R." <> wrote:
I opened a few tabs with a middle-click, almost at random.
#3 was this:
https://www.cnet.com/news/scientists-discover-rare-fossil-from-the-big-bang/
This has an autoplay video, unrelated to the story, at bottom right. Currently it is trying to tell me about "the top 5 best tech toys". Hmm, there's no autoplay video on my machine, because cnet isn't allowed to run javascript. And if I do allow it for some reason,
On Tue, 18 Dec 2018 15:26:31 +0100 Liam Proven <lproven@suse.cz> wrote: there's still nothing. If I further allow cbsistatic.com then there's a whole load of crap loads, but still no autoplay video. In fact no matter what I do there's no autoplay video, simply because I disabled it globally in Firefox's preferences. :) I have disabled autoplay video, yet they play. I've yet to encounter any example at all that does that. Could you
On 18/12/2018 17.20, Dave Howorth wrote: provide a link to one? (Oh, you are using the opensuse packaged 60.3.0esr? Things are different in later versions as a quick search will explain) It is not easy to find one now when I want to :-)
I did not mean that all videos play automatically. It is some on some sites with "clever" scripting, if I remember correctly they were commercials. I'll try [...] no luck. <https://www.dailymail.co.uk/news/article-6525515/The-worst-drivers-wheels-German-cars-like-BMWs-Audis-Mercs-study-reveals.html?ito=social-twitter_mailonline>
Going down the page there is a video, not started. As I go down past it, a float appears on the bottom right with the video, fortunately not started. And it can be closed. This time :-)
But this one is not a commercial, but a part of the article. Commercials are more intrusive.
This matter of the videos automatically playing in the bottom r-h of Mail Onlne articles has been discussed here before. (I was the one who first raised this pain-in-the-... feature which Mail introduced.) If you want to stop the videos in Mail articles "floating" to the bottom-r-h corner and then auto playing then install the FF add-on _NoScript_ and assign Untrusted to Mail Online. This may/will have some side-effects but I find them ignorable, and manageable. BC -- God created war so that Americans can learn geography. Mark Twain -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 20:34, Carlos E. R. wrote:
I have disabled autoplay video, yet they play.
Exactly. I even tried an addon that claims to block all. It doesn't, it just gets a few more. Sometimes I just want to go back to nothing but plain-text email lists, Usenet and bulletin boards. But the email lists are full of top-posters. :-( -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 17/12/2018 15:19, Anton Aylward wrote:
I had hoped that the Chromium model of one process per page would make this sort of thing more visible. But lets see, my FF has about 100 tabs (down from about 400 last month)
:-o #Fear I had many colleagues at RH who did this. It terrifies me. I currently have 8 and consider that a lot. Then again, my personal inbox has 2 unread. I'd like to get back to zero soon. But my SO's has something like 14000 unread. I think I made a small terrified noise aloud when I installed an email client on her phone and saw the size of the number.... As I said to my colleagues: Bookmark! Use bookmarks! Tabs are not bookmarks! Do not leave something open just because you intend to go back to it someday...
If I tried converting from FF to Chromium my machine would grind to a halt, load factor go up to three digits.
Yup!
Does Chromium try opening EVERYTHING while FF doesn't? It seems so.
I think so.
But Chromium handles some pages quite differently. If I visit Walmart.ca with FF I can't see prices, but I can if I use chromium.
Yes. This is why the recently-announced shift by Microsoft is bad news. Basically Mozilla is now the only thing keeping us from an all-Webkit WWW. :-( -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-12-18 7:11 a.m., Liam Proven wrote:
Bookmark! Use bookmarks! Tabs are not bookmarks! Do not leave something open just because you intend to go back to it someday...
As in "yes it used to be but they changed all that". Yes, FF *USED* to open all and every tab on start-up. Now it doesn't. You have to visit the tab for it to open it. The same with Groups. Bookmarks are "file and forget". "Recent" gets pruned heavily (and its amazing how much junk FF seems to put in it) and cleared after a week. I can't recall the last time I retrieved something from "Bookmarks" other than cooking recipes. The same with incoming mail; I weekly move inbox deleted to 'old message's and them to 'archives' and then to storage archive. But then again, I'm very aggressive about deleting email. A week from not this thread will have gone POOF! And who cares? I can find it the on-line archives. I only save How-To and the like. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 13:44, Anton Aylward wrote:
Yes, FF *USED* to open all and every tab on start-up.
This is just a setting. https://support.mozilla.org/en-US/questions/1016787 But you said you had hundreds of tabs open. I suggest that you don't want background-autoload if so -- otherwise re-opening Firefox will bog down your computer for several minutes while they all load! -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-12-18 9:41 a.m., Liam Proven wrote:
On 18/12/2018 13:44, Anton Aylward wrote:
Yes, FF *USED* to open all and every tab on start-up.
This is just a setting.
https://support.mozilla.org/en-US/questions/1016787
But you said you had hundreds of tabs open. I suggest that you don't want background-autoload if so -- otherwise re-opening Firefox will bog down your computer for several minutes while they all load!
Did I say "OPEN"? I've gone over my past posting and no, I didn't say that. In fact I described starting up with only the selected tab open. yes that is the setting I had, I wasn't even aware I could "start them all up" on bringing FF up. And yes it sounds a good way to bog the machine down. BTDT with chrome. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 17:23, Anton Aylward wrote:
Did I say "OPEN"? I've gone over my past posting and no, I didn't say that. In fact I described starting up with only the selected tab open. yes that is the setting I had, I wasn't even aware I could "start them all up" on bringing FF up.
Then I am sorry but I do not understand what you mean. :-( Could you explain it to me?
And yes it sounds a good way to bog the machine down. BTDT with chrome.
Depends on the load and other factors. On all my personal machines, the homepage is NASA's APOD. But while I drink a big mug of tea and eat my breakfast, I read webcomics. I have a folder of webcomics in my bookmarks bar and currently it has about 80 bookmarks in it. So, in the morning, I wake my computer, load *fox, then middle-click on the "comics" entry. It opens ~80 tabs and starts loading all of them. I go off and make a cuppa, and when I am back, they are ready. But if *fox crashes or I have to terminate it, e.g. if I hit that bookmark folder by mistake, the default behaviour when it reloads is that it doesn't load the content of any tab but the first one. Background tabs stay idle until I click on them. I don't look at comics on my work machine, but if I have to reboot or something, I want my tabs back as they were, so I have set *fox to reload the previous session automatically and to reload all tabs when it does it, so the background tabs' content is reloaded, too. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 18.55, Liam Proven wrote:
On 18/12/2018 17:23, Anton Aylward wrote:
Did I say "OPEN"? I've gone over my past posting and no, I didn't say that. In fact I described starting up with only the selected tab open. yes that is the setting I had, I wasn't even aware I could "start them all up" on bringing FF up.
Then I am sorry but I do not understand what you mean. :-(
Could you explain it to me?
Anton doesn't understand what we say of videos automatically playing on some unknown tab, because he has disabled the feature to load all tabs in background. Me too. Yet on some circumstances it happens, like what you say, opening several links at once from a mail with several links. But currently it doesn't happen when restoring a previous session, only one tab loads. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-12-18 2:40 p.m., Carlos E. R. wrote:
On 18/12/2018 18.55, Liam Proven wrote:
On 18/12/2018 17:23, Anton Aylward wrote:
Did I say "OPEN"? I've gone over my past posting and no, I didn't say that. In fact I described starting up with only the selected tab open. yes that is the setting I had, I wasn't even aware I could "start them all up" on bringing FF up.
Then I am sorry but I do not understand what you mean. :-(
Could you explain it to me?
Anton doesn't understand what we say of videos automatically playing on some unknown tab, because he has disabled the feature to load all tabs in background. Me too.
Yet on some circumstances it happens, like what you say, opening several links at once from a mail with several links.
But currently it doesn't happen when restoring a previous session, only one tab loads.
I also have a phone, running Android and there, Chrome. It is strictly a one-tab-at-a-time thing. Occasionally Flipboard sends me to a news site and I get that annoying autoplayed window. However it also has the little "x" tab in the corner and I close it immediately and get on with reading the article. So I'm not ignorant of the phenomena in the abstract; it just doesn't happen for me on Firefox on the PC. Yes I have disabled the feature to load all tabs in background. Or perhaps it was delivered that way in some upgrade; I don't recall. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 19/12/2018 15:13, Anton Aylward wrote:
I also have a phone, running Android and there, Chrome. It is strictly a one-tab-at-a-time thing.
Try it in landscape mode. :-)
So I'm not ignorant of the phenomena in the abstract; it just doesn't happen for me on Firefox on the PC. Good for you!
Yes I have disabled the feature to load all tabs in background. Or perhaps it was delivered that way in some upgrade; I don't recall.
My mistake -- or one of them -- was that I thought you *wanted* this. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-12-19 9:24 a.m., Liam Proven wrote:
On 19/12/2018 15:13, Anton Aylward wrote:
I also have a phone, running Android and there, Chrome. It is strictly a one-tab-at-a-time thing. Try it in landscape mode. :-)
Why? I'm reading news. I want it in page mode so I can read more. I have no need for multiple tabs. The Flipboard finds the articles; I view the pages it finds in Chrome. Q.E.D. One at a time. Exit Chrome; scroll Flipboard for next interesting article. Only one Chrome tab ever needed. (Well, Chrome-beta usually) -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 19/12/2018 15:35, Anton Aylward wrote:
Why?
It's not an instruction, merely a suggestion!
I'm reading news. I want it in page mode so I can read more. I have no need for multiple tabs. The Flipboard finds the articles; I view the pages it finds in Chrome. Q.E.D. One at a time. Exit Chrome; scroll Flipboard for next interesting article. Only one Chrome tab ever needed. (Well, Chrome-beta usually)
I use tabs quite heavily in my mobile browsers, myself. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 13.11, Liam Proven wrote:
On 17/12/2018 15:19, Anton Aylward wrote:
I had hoped that the Chromium model of one process per page would make this sort of thing more visible. But lets see, my FF has about 100 tabs (down from about 400 last month)
:-o
#Fear
I had many colleagues at RH who did this. It terrifies me. I currently have 8 and consider that a lot.
Then again, my personal inbox has 2 unread. I'd like to get back to zero soon. But my SO's has something like 14000 unread. I think I made a small terrified noise aloud when I installed an email client on her phone and saw the size of the number....
As I said to my colleagues:
Bookmark! Use bookmarks! Tabs are not bookmarks! Do not leave something open just because you intend to go back to it someday...
Bookmarks are insufficient. I also have hundreds of tabs. Now, what I would like is a page (could be another program) that displays (possibly frozen, or refreshed not fast, say once per hour) each tab in a small picture with readable text, so that I can remember what page has what I need so that I can open it. It would need to have some searchable text. Now, "pocket" does something like that. Yes, my FF has hundreds of tabs, but it only renders automatically when FF starts *one* tab per window. I have to click in other tabs to load them - which I don't.
If I tried converting from FF to Chromium my machine would grind to a halt, load factor go up to three digits.
Yup!
Does Chromium try opening EVERYTHING while FF doesn't? It seems so.
I think so.
But Chromium handles some pages quite differently. If I visit Walmart.ca with FF I can't see prices, but I can if I use chromium.
I see prices in my FF: <https://www.walmart.ca/en/electronics/ipad-tablets/N-2428?icid=home%20page_CT_WMS_HP-iPadTablets_20181018_E_CategoryTile_Standard> <https://www.walmart.ca/en/ip/rca-android-tablet-rct6973w43/6000197169006> 49.98 CAN (I don't see/remember how to type or compose a dollar or can dollar symbol)
Yes. This is why the recently-announced shift by Microsoft is bad news.
what did they say? I didn't notice. Just a link suffices ;-)
Basically Mozilla is now the only thing keeping us from an all-Webkit WWW. :-(
-- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-12-18 8:47 a.m., Carlos E. R. wrote:
On 18/12/2018 13.11, Liam Proven wrote:
On 17/12/2018 15:19, Anton Aylward wrote:
I had hoped that the Chromium model of one process per page would make this sort of thing more visible. But lets see, my FF has about 100 tabs (down from about 400 last month)
:-o
#Fear
I had many colleagues at RH who did this. It terrifies me. I currently have 8 and consider that a lot.
Then again, my personal inbox has 2 unread. I'd like to get back to zero soon. But my SO's has something like 14000 unread. I think I made a small terrified noise aloud when I installed an email client on her phone and saw the size of the number....
As I said to my colleagues:
Bookmark! Use bookmarks! Tabs are not bookmarks! Do not leave something open just because you intend to go back to it someday...
Bookmarks are insufficient.
Damn tooting right they are! it's not that they need a comment. Heck adding the one line comment in RCS was a pain, but for something like this there should be an automatic 'abstract' mechanism.
I also have hundreds of tabs. Now, what I would like is a page (could be another program) that displays (possibly frozen, or refreshed not fast, say once per hour) each tab in a small picture with readable text, so that I can remember what page has what I need so that I can open it. It would need to have some searchable text.
Agreed!
Now, "pocket" does something like that.
It does. I love pocket, but it is too easy to overload it. It is fine as an app on my tablet, but on my PC? It need a web page and that just buries the issue where we started. Can you say 'recursion'?
But Chromium handles some pages quite differently. If I visit Walmart.ca with FF I can't see prices, but I can if I use chromium.
I see prices in my FF:
no, no prices displayed when I visit that with FF 52.8
<https://www.walmart.ca/en/ip/rca-android-tablet-rct6973w43/6000197169006>
Again, no, no price displayed. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 15.08, Anton Aylward wrote:
On 2018-12-18 8:47 a.m., Carlos E. R. wrote:
On 18/12/2018 13.11, Liam Proven wrote:
As I said to my colleagues:
Bookmark! Use bookmarks! Tabs are not bookmarks! Do not leave something open just because you intend to go back to it someday...
Bookmarks are insufficient.
Damn tooting right they are! it's not that they need a comment. Heck adding the one line comment in RCS was a pain, but for something like this there should be an automatic 'abstract' mechanism.
I also have hundreds of tabs. Now, what I would like is a page (could be another program) that displays (possibly frozen, or refreshed not fast, say once per hour) each tab in a small picture with readable text, so that I can remember what page has what I need so that I can open it. It would need to have some searchable text.
Agreed!
Now, "pocket" does something like that.
It does. I love pocket, but it is too easy to overload it. It is fine as an app on my tablet, but on my PC? It need a web page and that just buries the issue where we started. Can you say 'recursion'?
There is a plugin or something, a tiny button "save to pocket". Another problem for me is that pocket loads the page from *their* location, not mine, so what I see in pocket is different. Sometimes a message that the content is not available for the USA, or totally different content. Sometimes it hits a "no robots allowed". And of course, some pages may need a login.
But Chromium handles some pages quite differently. If I visit Walmart.ca with FF I can't see prices, but I can if I use chromium.
I see prices in my FF:
no, no prices displayed when I visit that with FF 52.8
<https://www.walmart.ca/en/ip/rca-android-tablet-rct6973w43/6000197169006>
Again, no, no price displayed.
Then, update FF ;-p Or try allowing scripts. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-12-18 2:49 p.m., Carlos E. R. wrote:
Now, "pocket" does something like that.
It does. I love pocket, but it is too easy to overload it. It is fine as an app on my tablet, but on my PC? It need a web page and that just buries the issue where we started. Can you say 'recursion'?
There is a plugin or something, a tiny button "save to pocket".
Yes, I have that. It SAVES to pocket. If I want to SEE what is saved to pocket, the 'pin-board', that requires visiting a web page.
Another problem for me is that pocket loads the page from *their* location, not mine, so what I see in pocket is different. Sometimes a message that the content is not available for the USA, or totally different content. Sometimes it hits a "no robots allowed". And of course, some pages may need a login.
And yes, some sites are really USA not North America and you fan fall into the gap that Canada is North America (as is Mexico) but not the USA. And vice versa. The issue then isn't so much the can/can't as nation specific. And, OBTW: there are some items I see on eBay where a Chinese vendor will ship to the USA but not Canada. Go figure. What ever happened to 'internationalism'? -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote:
On 18/12/2018 13.11, Liam Proven wrote:
As I said to my colleagues:
Bookmark! Use bookmarks! Tabs are not bookmarks! Do not leave something open just because you intend to go back to it someday...
Bookmarks are insufficient.
I also have hundreds of tabs.
Wow. How do you guys manage those? I usually have 2-3 windows with maybe 10 tabs each. A window is usually "dedicated" for one type of thing/job/task. Hundreds of tabs - with one process per tab, that must gobble a lot of memory? -- Per Jessen, Zürich (0.4°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 15:09, Per Jessen wrote:
Wow. How do you guys manage those?
You may well ask. I saw many colleagues doing it at RH. I thought it was crazy. 2 tools help: * Tree Style Tabs https://addons.mozilla.org/en-US/firefox/addon/tree-style-tab/ * Tabhunter https://addons.mozilla.org/en-US/firefox/addon/tabhunter/ But I don't recommend the practice! -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 15.44, Liam Proven wrote:
On 18/12/2018 15:09, Per Jessen wrote:
Wow. How do you guys manage those?
You may well ask.
Well, modern computers have tons of memory and power. But then, devs have again outgrown the capacity and need even more! :-p I mean, my computer was modern some years ago.
I saw many colleagues doing it at RH. I thought it was crazy.
2 tools help:
* Tree Style Tabs
https://addons.mozilla.org/en-US/firefox/addon/tree-style-tab/
It says: This is a Firefox add-on which provides ability to operate tabs as "tree". New tabs opened from the current tab are automatically organized as "children" of the current. Such "branches" are easily folded (collapsed) by clicking on down-triangle shown in a "parent" tab, so you don't need to be suffered from too many visible tabs anymore. If you hope, you can restructure the tree via drag and drop.
* Tabhunter
I understand this one searches the tab that matches a search string ?
But I don't recommend the practice!
Nothing similar to a page with abstracts of the sites of interest. A supper bookmark manager. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 18/12/2018 15.09, Per Jessen wrote:
Carlos E. R. wrote:
On 18/12/2018 13.11, Liam Proven wrote:
As I said to my colleagues:
Bookmark! Use bookmarks! Tabs are not bookmarks! Do not leave something open just because you intend to go back to it someday...
Bookmarks are insufficient.
I also have hundreds of tabs.
Wow. How do you guys manage those? I usually have 2-3 windows with maybe 10 tabs each. A window is usually "dedicated" for one type of thing/job/task.
Hundreds of tabs - with one process per tab, that must gobble a lot of memory?
4 processes max on FF, and only those I actually click do load. The rest display some information when hovering with the mouse. Many of the tabs are things that I have pending to do, or tabs that I open when I do certain things. For example, when I use Lazarus I open a bunch of tabs with different informations pertaining to that project. Another window may have tabs related to taxes. Whatever. Yes, I use those instead of bookmarks, but it is that bookmarks are very insufficient and take time to create properly, classify, and use. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-12-19 4:52 p.m., Carlos E. R. wrote:
Many of the tabs are things that I have pending to do, or tabs that I open when I do certain things.
I *always* have a tab for Google Search. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Anton Aylward composed on 2018-12-19 17:10 (UTC-0500):
On 2018-12-19 4:52 p.m., Carlos E. R. wrote:
Many of the tabs are things that I have pending to do, or tabs that I open when I do certain things.
I *always* have a tab for Google Search.
That would be redundant here: http://fm.no-ip.com/SS/Moz/ffSearchBox.jpg -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 19/12/2018 23.10, Anton Aylward wrote:
On 2018-12-19 4:52 p.m., Carlos E. R. wrote:
Many of the tabs are things that I have pending to do, or tabs that I open when I do certain things.
I *always* have a tab for Google Search.
So? I'd have to remember the correct search terms, which are several, and then browse the findings to locate the correct results. Far easier to have a window already with the 15 tabs ready. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-12-19 10:17 p.m., Carlos E. R. wrote:
On 19/12/2018 23.10, Anton Aylward wrote:
On 2018-12-19 4:52 p.m., Carlos E. R. wrote:
Many of the tabs are things that I have pending to do, or tabs that I open when I do certain things. I *always* have a tab for Google Search.
So? I'd have to remember the correct search terms, which are several, and then browse the findings to locate the correct results.
Far easier to have a window already with the 15 tabs ready.
Go back over what I said. I have all the tabs for my commonly visited sites already there; I just proliferate tabs without proliferating windows. I _used_ to proliferate groups, but there is something about groups and windows that seem to add to the load more than simply proliferating (unopened) tabs in one window, I've found). YMMV. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 14:47, Carlos E. R. wrote:
what did they say? I didn't notice.
Just a link suffices ;-)
https://www.theregister.co.uk/2018/12/06/microsoft_edge_chromium/ -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/12/2018 15.42, Liam Proven wrote:
On 18/12/2018 14:47, Carlos E. R. wrote:
what did they say? I didn't notice.
Just a link suffices ;-)
https://www.theregister.co.uk/2018/12/06/microsoft_edge_chromium/
Thanks! [...] Wow. Very interesting. (further comments on opensuse-offtopic@opensuse.org if any) -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 12/16/2018 08:09 AM, Carlos E. R. wrote:
Well, no more crashes so far. Go figure. I will watch it, though.
Since yesterday night, the machine is running Thunderbird, Firefox, Chrome, and Kodi, no issues. Perfectly responsive with that large load.
Less than 3 GB of ram are used by processes, leaving half a gig free, another half for buffers/cache, and half available. This is the normal situation under "load". More than 1 gig of swap used.
Is the laptop old enough to begin worrying about puffy capacitors? Many time these can avoid the MCE checks and later cause havoc, the leave the laptop running fine for a few days until the humidity, pressure or temp varies, phase to the moon changes, etc.. and then the gremlin rears its ugly head again. Not something easily checked on a laptop without major surgery. A desktop is a simple matter of popping the case and looking for puffy caps (the same applies to laptops, but the disassembly is much more involved...) -- David C. Rankin, J.D.,P.E.
On 17/12/2018 09.46, David C. Rankin wrote:
On 12/16/2018 08:09 AM, Carlos E. R. wrote:
Well, no more crashes so far. Go figure. I will watch it, though.
Since yesterday night, the machine is running Thunderbird, Firefox, Chrome, and Kodi, no issues. Perfectly responsive with that large load.
Less than 3 GB of ram are used by processes, leaving half a gig free, another half for buffers/cache, and half available. This is the normal situation under "load". More than 1 gig of swap used.
Is the laptop old enough to begin worrying about puffy capacitors? Many time these can avoid the MCE checks and later cause havoc, the leave the laptop running fine for a few days until the humidity, pressure or temp varies, phase to the moon changes, etc.. and then the gremlin rears its ugly head again.
Not something easily checked on a laptop without major surgery. A desktop is a simple matter of popping the case and looking for puffy caps (the same applies to laptops, but the disassembly is much more involved...)
But this is a kernel issue, triggered by some unknown, not a hardware issue. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
participants (16)
-
Andrei Borzenkov
-
Anton Aylward
-
Basil Chupin
-
Bernhard Voelker
-
Carlos E. R.
-
Carlos E.R.
-
Dave Howorth
-
Dave Plater
-
David C. Rankin
-
Felix Miata
-
James Knott
-
jdd@dodin.org
-
ken
-
Ken Schneider - openSUSE
-
Liam Proven
-
Per Jessen