Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

If Machiavelli were a programmer, he'd have worked for AT&T.


computers / alt.os.linux / Re: computer (MGA8) randomly freezes

SubjectAuthor
* computer (MGA8) randomly freezesWilliam Unruh
+* Re: computer (MGA8) randomly freezesBit Twister
|`* Re: computer (MGA8) randomly freezesWilliam Unruh
| `- Re: computer (MGA8) randomly freezesBit Twister
+- Re: computer (MGA8) randomly freezesRichard Kettlewell
+* Re: computer (MGA8) randomly freezesJ.O. Aho
|+* Re: computer (MGA8) randomly freezesBit Twister
||`* Re: computer (MGA8) randomly freezesJ.O. Aho
|| `- Re: computer (MGA8) randomly freezesBit Twister
|`* Re: computer (MGA8) randomly freezesWilliam Unruh
| +* Re: computer (MGA8) randomly freezesJ.O. Aho
| |`* Re: computer (MGA8) randomly freezesDavid W. Hodgins
| | +- Re: computer (MGA8) randomly freezesJ.O. Aho
| | +- Re: computer (MGA8) randomly freezesWilliam Unruh
| | `* Re: computer (MGA8) randomly freezesBit Twister
| |  `* Re: computer (MGA8) randomly freezesDavid W. Hodgins
| |   `* Re: computer (MGA8) randomly freezesBit Twister
| |    `- Re: computer (MGA8) randomly freezesDavid W. Hodgins
| `* Re: computer (MGA8) randomly freezesRichard Kettlewell
|  +* Re: computer (MGA8) randomly freezesWilliam Unruh
|  |`* Re: computer (MGA8) randomly freezesRichard Kettlewell
|  | `- Re: computer (MGA8) randomly freezesPaul
|  `* Re: computer (MGA8) randomly freezesJ.O. Aho
|   `* Re: computer (MGA8) randomly freezesWilliam Unruh
|    `* Re: computer (MGA8) randomly freezesJ.O. Aho
|     +* Re: computer (MGA8) randomly freezesWilliam Unruh
|     |+* Re: computer (MGA8) randomly freezesJ.O. Aho
|     ||+- Re: computer (MGA8) randomly freezesJ.O. Aho
|     ||`* Re: computer (MGA8) randomly freezesWilliam Unruh
|     || `* Re: computer (MGA8) randomly freezesJ.O. Aho
|     ||  `- Re: computer (MGA8) randomly freezesRichard Kettlewell
|     |`* Re: computer (MGA8) randomly freezesJim Diamond
|     | `* Re: computer (MGA8) randomly freezesRichard Kettlewell
|     |  `* Re: computer (MGA8) randomly freezesJim Diamond
|     |   `* Re: computer (MGA8) randomly freezesWilliam Unruh
|     |    `* Re: computer (MGA8) randomly freezesPaul
|     |     `- Re: computer (MGA8) randomly freezesWilliam Unruh
|     `* Re: computer (MGA8) randomly freezesMike Easter
|      `- Re: computer (MGA8) randomly freezesJ.O. Aho
+- Re: computer (MGA8) randomly freezesJim
+- Re: computer (MGA8) randomly freezesTJ
`- Re: computer (MGA8) randomly freezesPaul

Pages:12
Re: computer (MGA8) randomly freezes

<slrnuc8lov.7ec.BitTwister@wb.home.arpa>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1103&group=alt.os.linux#1103

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Fri, 28 Jul 2023 19:02:38 -0500
Organization: A noiseless patient Spider
Lines: 104
Message-ID: <slrnuc8lov.7ec.BitTwister@wb.home.arpa>
References: <u9v4u6$214dh$1@dont-email.me>
<slrnuc6nt6.5d3a.BitTwister@wb.home.arpa> <ua1ejo$2bik1$1@dont-email.me>
Injection-Info: dont-email.me; posting-host="a8830eecad180e14fe60ee6f1eafc949";
logging-data="2504063"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+l+AaBIx2mG2nxnleRxvJ83cM38c0tr/Y="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:uRXULvg4QWHoOM0AWItuHAbd6NA=
 by: Bit Twister - Sat, 29 Jul 2023 00:02 UTC

On Fri, 28 Jul 2023 22:14:16 -0000 (UTC), William Unruh wrote:
> On 2023-07-28, Bit Twister <BitTwister@mouse-potato.com> wrote:
>> On Fri, 28 Jul 2023 01:16:54 -0000 (UTC), William Unruh wrote:
>>> I have a disturbing system, which every once in a while freezes. The
>>> sceen on the monitor is some X scene (usually has Chrome running, but
>>> they again that is often the case) but the keyboard,mouse, do nothing.
>>> Trying to log on from the network fails with no response from the
>>> machine. Alt-ctrl-del does nothing. The only way to recover is via the
>>> power switch on the back.
>>> Afterwards, looking at /var/log/syslog, or /var/log/messages shows
>>> nothingsignificant that I can see just before the freeze.
>>>
>>> Updated Mga8. Kernel 5.15.88-desktop-1.mga8.
>>>
>>> The only thing in the journalctl logs from just before is
>>>
>>> -------------------------------
>>> Jul 24 23:22:34 tunnel.physics.ubc.ca dnf[2573748]: teams 8.9 kB/s | 1.5 kB 00:00
>>> Jul 24 23:22:35 tunnel.physics.ubc.ca dnf[2573748]: Metadata cache created.
>>>
>>> Jul 24 23:22:35 tunnel.physics.ubc.ca systemd[1]: dnf-makecache.service: Succeeded.
>>> Jul 24 23:22:35 tunnel.physics.ubc.ca systemd[1]: Finished dnf makecache.
>>> Jul 24 23:22:35 tunnel.physics.ubc.ca systemd[1]: dnf-makecache.service: Consumed 1.527s CPU time.
>>> Jul 24 23:28:00 tunnel.physics.ubc.ca kernel: Shorewall:sshd-fw:DROP:IN=eno1 OUT= MAC=4c:ed:fb:c2:2a:f3:a0:ab:1b:88:6e:58:08:00 SRC=183.106.205.242 DST=192.168.0.3 LEN=40 TOS=0x00 PREC=0x00 TTL=56 ID=64660 PROTO=TCP SPT=31651 DPT=22 WINDOW=16988 RES=0x00 SYN URGP=0
>>> Jul 24 23:35:31 tunnel.physics.ubc.ca kernel: Shorewall:net-fw:DROP:IN=eno1 OUT= MAC=4c:ed:fb:c2:2a:f3:a0:ab:1b:88:6e:58:08:00 SRC=185.225.74.53 DST=192.168.0.3 LEN=40 TOS=0x00 PREC=0x00 TTL=244 ID=54321 PROTO=TCP SPT=33231 DPT=22 WINDOW=65535 RES=0x00 SYN URGP=0
>>> -- Reboot --
>>> ---------------------------------------
>>>
>>>
>>> I recently replaced the power supply thinking it might be the cause.
>>> But although freezes seem to be occuring less frequently, it is still
>>> occasionally freezing. (It seems to be occuring every two or three
>>> months).
>>
>>
>> Off hand it seems like the cpu gets into a tight loop and quits processing
>> interrupts.
>>
>> I would install lm_sensors, configure/run lm_sensors, sensord and enable core dump.
>>
>> I have also modified ~/.bash_profile to check for core dump files and
>> uses xmessage to provide a pop up if any are found.
>>
>
> OK, Here are the last two sensord reports just before the freeze
> I do not see anything out of the ordinary here. The last one (23:28:55)
> occured. The freeze ( as inferred from the last entry into /var/log/syslog
> occured aroung 23:35:31
>
> (
> --------------------------------
> Jul 24 23:35:31 tunnel kernel: [1181287.585321] Shorewall:net-fw:DROP:IN=eno1 OUT= MAC=4c:ed:fb:c2:2a:f3:a0:ab:1b:88:6e:58:08:00 SRC=185.225.74.53 DST=192.168.0.3 LEN=40 TOS=0x00 PREC=0x00 TTL=244 ID=54321 PROTO=TCP SPT=33231 DPT=22 WINDOW=65535 RES=0x00 SYN URGP=0
> Jul 25 09:13:25 tunnel kernel: [ 0.000000] microcode: microcode updated early to revision 0xf0, date = 2021-11-12
> --------------------------------------
>
> ----------------------------------
> Jul 24 23:08:55 tunnel sensord: Chip: nvme-pci-0600
> Jul 24 23:08:55 tunnel sensord: Adapter: PCI adapter
> Jul 24 23:08:55 tunnel sensord: Composite: 24.9 C (min = -40.1 C, max = 83.8 C)
> Jul 24 23:08:55 tunnel sensord: Sensor 2: 24.9 C (min = -40.1 C, max = 83.8 C)
> Jul 24 23:08:55 tunnel sensord: Chip: coretemp-isa-0000
> Jul 24 23:08:55 tunnel sensord: Adapter: ISA adapter
> Jul 24 23:08:55 tunnel sensord: Package id 0: 29.0 C
> Jul 24 23:08:55 tunnel sensord: Core 0: 28.0 C
> Jul 24 23:08:55 tunnel sensord: Core 1: 27.0 C
> Jul 24 23:08:55 tunnel sensord: Core 2: 28.0 C
> Jul 24 23:08:55 tunnel sensord: Core 3: 27.0 C
> Jul 24 23:08:55 tunnel sensord: Chip: acpitz-acpi-0
> Jul 24 23:08:55 tunnel sensord: Adapter: ACPI interface
> Jul 24 23:08:55 tunnel sensord: temp1: 27.8 C
> Jul 24 23:28:55 tunnel sensord: Chip: nvme-pci-0600
> Jul 24 23:28:55 tunnel sensord: Adapter: PCI adapter
> Jul 24 23:28:55 tunnel sensord: Composite: 24.9 C (min = -40.1 C, max = 83.8 C)
> Jul 24 23:28:55 tunnel sensord: Sensor 2: 24.9 C (min = -40.1 C, max = 83.8 C)
> Jul 24 23:28:55 tunnel sensord: Chip: coretemp-isa-0000
> Jul 24 23:28:55 tunnel sensord: Adapter: ISA adapter
> Jul 24 23:28:55 tunnel sensord: Package id 0: 29.0 C
> Jul 24 23:28:55 tunnel sensord: Core 0: 28.0 C
> Jul 24 23:28:55 tunnel sensord: Core 1: 27.0 C
> Jul 24 23:28:55 tunnel sensord: Core 2: 27.0 C
> Jul 24 23:28:55 tunnel sensord: Core 3: 27.0 C
> Jul 24 23:28:55 tunnel sensord: Chip: acpitz-acpi-0
> Jul 24 23:28:55 tunnel sensord: Adapter: ACPI interface
> Jul 24 23:28:55 tunnel sensord: temp1: 27.8 C
> ----------------------------------------------

I suggest that you should set max value allowed for temps.

>
> I cannot find any core files, and I do not think I am suppressing them.

Pretty sure they are not enabled by default.
You have to make configuration file changes.
Quick scan of my install/change scripts finds this custom
drop-in file and settings

# grep core /etc/sysctl.d/xx__sysctl.conf
# Enabling suid dump PID appending and set core location and name
kernel.core_uses_pid = 1
kernel.core_pattern = /var/tmp/%e_%p_%s.core
# net.core.rmem_max = 1048576

Re: computer (MGA8) randomly freezes

<slrnuc8mld.7ec.BitTwister@wb.home.arpa>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1104&group=alt.os.linux#1104

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Fri, 28 Jul 2023 19:17:45 -0500
Organization: A noiseless patient Spider
Lines: 69
Message-ID: <slrnuc8mld.7ec.BitTwister@wb.home.arpa>
References: <u9v4u6$214dh$1@dont-email.me>
<kihcg3F94uhU1@mid.individual.net>
<slrnuc7472.7n3h.BitTwister@wb.home.arpa> <kiis7cF1smU1@mid.individual.net>
Injection-Info: dont-email.me; posting-host="a8830eecad180e14fe60ee6f1eafc949";
logging-data="2514181"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/PaFkLW5hXPkH8Zs+MX2lkezyNN8k7C6o="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:7X9noXyoaINqFVM9HnK2/nET5b4=
 by: Bit Twister - Sat, 29 Jul 2023 00:17 UTC

On Sat, 29 Jul 2023 00:02:20 +0200, J.O. Aho wrote:
> On 7/28/23 11:56, Bit Twister wrote:
>> On Fri, 28 Jul 2023 10:27:47 +0200, J.O. Aho wrote:
>>> On 7/28/23 03:16, William Unruh wrote:
>>>> I have a disturbing system, which every once in a while freezes. The
>>>> sceen on the monitor is some X scene (usually has Chrome running, but
>>>> they again that is often the case) but the keyboard,mouse, do nothing.
>>>> Trying to log on from the network fails with no response from the
>>>> machine. Alt-ctrl-del does nothing. The only way to recover is via the
>>>> power switch on the back.
>>>> Afterwards, looking at /var/log/syslog, or /var/log/messages shows
>>>> nothingsignificant that I can see just before the freeze.
>>>
>>> This reminds me of the issue I have had with running two plasma5
>>> sessions, after a while they will just eat up the memory and when all is
>>> gone, then everything freezes, you can't login from remote and local
>>> login takes too long from entering username to entering password that
>>> the login is canceled.
>>>
>>> I would run a memory check once in a while, for example use crontab to
>>> run this one liner:
>>>
>>> date && ps -Ao user,uid,comm,pid,pcpu,pmem --sort=-pmem | head -n 11 &&
>>> echo "----" >> /var/log/memusage.log
>>>
>>> Then you can see if there is a process that grows.
>>
>> Cute, and with just a little bit of scripting/coding you could automate
>> the check by flagging any line with value above some watermark for cpu
>> and memory percentage.
>>
>> If it was me, I would print any greater than 1.0 for ether one.
>>
>> Since values have a decimal I would guess that I would have to
>> use bc to test greater than watermark value if using bash.
>
> You could use awk, have to always point out this great tool as it bears
> my name
>
> date && ps -Ao user,uid,comm,pid,pcpu,pmem --sort=-pmem | awk -v
> min="0.3" '$6 >= min || $6=="%MEM"' && echo "----"
>
> Just change the -v min="0.3" to the value you think it has be or more to
> be displayed, we also keep displaying the column names, sure there is
> better ways of doing this, but my skills not that great.

Yeah, but different nodes can have different apps needing higher limits.
I'll be using bash and a case statement to change max values based on app.

for example on my myth node I have
# ps -Ao user,uid,comm,pid,pcpu,pmem --sort=-pmem | head -n 11
USER UID COMMAND PID %CPU %MEM
bittwis+ 1500 mythfrontend 4124 15.4 6.8
mysql 976 mysqld 780 1.1 3.2
mythtv 90 mythbackend 3804 1.5 3.0
bittwis+ 1500 net_applet 2223 0.2 1.3
bittwis+ 1500 xfwm4 2153 1.6 1.2

yet my normal web browsing node has
]$ ps -Ao user,uid,comm,pid,pcpu,pmem --sort=-pmem | head -n 11
USER UID COMMAND PID %CPU %MEM
root 0 Xorg 3147 0.4 0.9
bittwis+ 1500 xfwm4 4645 0.1 0.7
bittwis+ 1500 xfdesktop 4661 0.0 0.7
mysql 978 mysqld 3194 0.0 0.5
esept 1513 geany 9858 0.1 0.3
root 0 geany 9953 0.4 0.3

Re: computer (MGA8) randomly freezes

<kik0aoF1smU2@mid.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1105&group=alt.os.linux#1105

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: user@example.net (J.O. Aho)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sat, 29 Jul 2023 10:18:32 +0200
Lines: 53
Message-ID: <kik0aoF1smU2@mid.individual.net>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net bGeHptomttMnRrLmgViwJwexpF4HwGoMG42lPOtmKUUaHuBjvb
Cancel-Lock: sha1:50j/8+DhOiwKdp7o7iH0vT6XDDU= sha256:2lavDRK7MJ9aQiyF/IXUYC+thJVvVogx2P69JSadNgo=
User-Agent: Mozilla Thunderbird
Content-Language: en-US-large
In-Reply-To: <ua1evo$2bik1$2@dont-email.me>
 by: J.O. Aho - Sat, 29 Jul 2023 08:18 UTC

On 7/29/23 00:20, William Unruh wrote:
> On 2023-07-28, J.O. Aho <user@example.net> wrote:
>> On 7/28/23 03:16, William Unruh wrote:
>>> I have a disturbing system, which every once in a while freezes. The
>>> sceen on the monitor is some X scene (usually has Chrome running, but
>>> they again that is often the case) but the keyboard,mouse, do nothing.
>>> Trying to log on from the network fails with no response from the
>>> machine. Alt-ctrl-del does nothing. The only way to recover is via the
>>> power switch on the back.
>>> Afterwards, looking at /var/log/syslog, or /var/log/messages shows
>>> nothingsignificant that I can see just before the freeze.
>>
>> This reminds me of the issue I have had with running two plasma5
>> sessions, after a while they will just eat up the memory and when all is
>> gone, then everything freezes, you can't login from remote and local
>> login takes too long from entering username to entering password that
>> the login is canceled.
>
> Except in my case, nothing I type does anything, the mouse cursor does
> not move, Teh Alt-ctrl-F keys do nothing, alt-ctrl-det or alt-ctrl-bksp
> do nothing, gkrellm stops updating. Usually when I have run out of
> memory, somethings still work, and the machine slows down drastically as
> it starts to swap. This is just a complete sudden freeze. (Unlike this
> past time, sometimes this has happened while I am working on the
> machine. This time it happened while I was asleep)

This is the exact same and as you mention the the swap, it's exactly the
same and I can say even if you disable swap you will have the same behavior.

I think you should monitor the memory usage, you could add this to your
/etc/crontab

*/5 * * * * root (date && ps -Ao user,uid,comm,pid,pcpu,pmem
--sort=-pmem | awk -v min="10.0" '$6 >= min || $6=="%MEM"' && echo
"----" >> /var/log/mem.log)

Will run every 5 minutes and give you a lost of all processes that uses
10% or more of your memory. Then you take a look at /var/log/mem.log
from time to time or after a freeze and see which processes you had there.

What you can also do is to have an ssh connection from another machine
always running, this way you may be able to kill processes, you will not
be able to run ps, top, htop or other tools as they will be so slow that
they will block your shell and all you can do is just reset the machine
by pressing the button. If your issue is the desktop environment, I
would recommend to switch to another one. Enlightenment I think may have
the least of these issues, but I'm no fan of it, at the moment I'm using
lxqt.

--
//Aho

Re: computer (MGA8) randomly freezes

<wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1106&group=alt.os.linux#1106

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sat, 29 Jul 2023 10:44:07 +0100
Organization: terraraq NNTP server
Message-ID: <wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="87877"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:WIT9Lnzt+Yp63WlOEUdQzdQ3RO4=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Sat, 29 Jul 2023 09:44 UTC

William Unruh <unruh@invalid.ca> writes:
> Except in my case, nothing I type does anything, the mouse cursor does
> not move, Teh Alt-ctrl-F keys do nothing, alt-ctrl-det or alt-ctrl-bksp
> do nothing, gkrellm stops updating. Usually when I have run out of
> memory, somethings still work, and the machine slows down drastically as
> it starts to swap. This is just a complete sudden freeze. (Unlike this
> past time, sometimes this has happened while I am working on the
> machine. This time it happened while I was asleep)

Yes. Normal behavior for running out of RAM is swapping, and for running
out of RAM+swap is to start killing user processes.

In this case:

| Trying to log on from the network fails with no response from the
| machine.

Does it respond to ping?

If so then the kernel’s still working, at least a bit (the lack of
kernel logs suggest everything above that is dead).

If it does not ping then the kernel has crashed, either due to a kernel
bug or a hardware fault.

--
https://www.greenend.org.uk/rjk/

Re: computer (MGA8) randomly freezes

<op.18uhh6wya3w0dxdave@hodgins.homeip.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1107&group=alt.os.linux#1107

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dwhodgins@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sat, 29 Jul 2023 09:09:32 -0400
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <op.18uhh6wya3w0dxdave@hodgins.homeip.net>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me> <kik0aoF1smU2@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="e9f9fef4a1ac24d24f260eb1038d0955";
logging-data="2769450"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gUbOiqUJUBtlN93BymW+bnljqj0OLuoE="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:d4M7WCFoOmp+6o/t8GVcMZnrreU=
 by: David W. Hodgins - Sat, 29 Jul 2023 13:09 UTC

On Sat, 29 Jul 2023 04:18:32 -0400, J.O. Aho <user@example.net> wrote:
> */5 * * * * root (date && ps -Ao user,uid,comm,pid,pcpu,pmem
> --sort=-pmem | awk -v min="10.0" '$6 >= min || $6=="%MEM"' && echo
> "----" >> /var/log/mem.log)

That is not reliable. /proc/$PID/comm may contain spaces so by time awk gets it
the column number is wrong.

[dave@x3 ~]$ ps -Ao user,uid,comm,pid,pcpu,pmem --sort=-pmem | awk -v min="3.0" '$6 >= min || $6=="%MEM"'
USER UID COMMAND PID %CPU %MEM
dave 500 opera 6969 2.8 4.7
ddclient 468 ddclient - slee 5691 0.0 0.0
[dave@x3 ~]$ cat /proc/5691/comm
ddclient - slee
[dave@x3 ~]$ cat /proc/5691/cmdline
ddclient - sleeping for 90 seconds[dave@x3 ~]$

I don't see a reliable field separator.

Regards, Dave Hodgins

Re: computer (MGA8) randomly freezes

<kikq64F1snU1@mid.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1108&group=alt.os.linux#1108

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: user@example.net (J.O. Aho)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sat, 29 Jul 2023 17:39:48 +0200
Lines: 31
Message-ID: <kikq64F1snU1@mid.individual.net>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me> <kik0aoF1smU2@mid.individual.net>
<op.18uhh6wya3w0dxdave@hodgins.homeip.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net YM/SPlelJZANb2OZSxL8xwTaXphye3SHbxZH7sC5hFuU3aaTCY
Cancel-Lock: sha1:wUjJ4kTaOhWrLfxZS3zbWuMiwrU= sha256:rpPJdeHxSfwNZj+A5ULTuRtDjBDaBSLnkPdRGaBO11U=
User-Agent: Mozilla Thunderbird
Content-Language: en-US-large
In-Reply-To: <op.18uhh6wya3w0dxdave@hodgins.homeip.net>
 by: J.O. Aho - Sat, 29 Jul 2023 15:39 UTC

On 7/29/23 15:09, David W. Hodgins wrote:
> On Sat, 29 Jul 2023 04:18:32 -0400, J.O. Aho <user@example.net> wrote:
>> */5  * * * * root (date && ps -Ao user,uid,comm,pid,pcpu,pmem
>> --sort=-pmem | awk -v min="10.0" '$6 >= min || $6=="%MEM"' && echo
>> "----" >> /var/log/mem.log)
>
> That is not reliable. /proc/$PID/comm may contain spaces so by time awk
> gets it
> the column number is wrong.
>
> [dave@x3 ~]$ ps -Ao user,uid,comm,pid,pcpu,pmem --sort=-pmem | awk -v
> min="3.0" '$6 >= min || $6=="%MEM"'
> USER       UID COMMAND             PID %CPU %MEM
> dave       500 opera              6969  2.8  4.7
> ddclient   468 ddclient - slee    5691  0.0  0.0
> [dave@x3 ~]$ cat /proc/5691/comm
> ddclient - slee
> [dave@x3 ~]$ cat /proc/5691/cmdline
> ddclient - sleeping for 90 seconds[dave@x3 ~]$
>
> I don't see a reliable field separator.
>
> Regards, Dave Hodgins

Easy fix:ps -Ao user,uid,pid,pcpu,pmem,comm --sort=-pmem | awk -v
> min="3.0" '$5 >= min || $5=="%MEM"'

--
//Aho

Re: computer (MGA8) randomly freezes

<ua3h94$2ls02$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1109&group=alt.os.linux#1109

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sat, 29 Jul 2023 17:12:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <ua3h94$2ls02$1@dont-email.me>
References: <u9v4u6$214dh$1@dont-email.me>
<kihcg3F94uhU1@mid.individual.net> <ua1evo$2bik1$2@dont-email.me>
<kik0aoF1smU2@mid.individual.net>
<op.18uhh6wya3w0dxdave@hodgins.homeip.net>
Injection-Date: Sat, 29 Jul 2023 17:12:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="34ff9c426af845fd1bab2c977188faf8";
logging-data="2813954"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+uH7UhQGhEP78HqAsY/oao"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:lD8HncPXoa7kgikuCxZd0qJThHU=
 by: William Unruh - Sat, 29 Jul 2023 17:12 UTC

On 2023-07-29, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
> On Sat, 29 Jul 2023 04:18:32 -0400, J.O. Aho <user@example.net> wrote:
>> */5 * * * * root (date && ps -Ao user,uid,comm,pid,pcpu,pmem
>> --sort=-pmem | awk -v min="10.0" '$6 >= min || $6=="%MEM"' && echo
>> "----" >> /var/log/mem.log)
>
> That is not reliable. /proc/$PID/comm may contain spaces so by time awk gets it
> the column number is wrong.
>
> [dave@x3 ~]$ ps -Ao user,uid,comm,pid,pcpu,pmem --sort=-pmem | awk -v min="3.0" '$6 >= min || $6=="%MEM"'

How about $NF instead of $6?

> USER UID COMMAND PID %CPU %MEM
> dave 500 opera 6969 2.8 4.7
> ddclient 468 ddclient - slee 5691 0.0 0.0
> [dave@x3 ~]$ cat /proc/5691/comm
> ddclient - slee
> [dave@x3 ~]$ cat /proc/5691/cmdline
> ddclient - sleeping for 90 seconds[dave@x3 ~]$
>
> I don't see a reliable field separator.
>
> Regards, Dave Hodgins

Re: computer (MGA8) randomly freezes

<ua3hgn$2ls02$2@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1110&group=alt.os.linux#1110

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sat, 29 Jul 2023 17:16:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <ua3hgn$2ls02$2@dont-email.me>
References: <u9v4u6$214dh$1@dont-email.me>
<kihcg3F94uhU1@mid.individual.net> <ua1evo$2bik1$2@dont-email.me>
<wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 29 Jul 2023 17:16:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="34ff9c426af845fd1bab2c977188faf8";
logging-data="2813954"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19LzMeBCjHeJI2CIivPQ9U8"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:995l21W1hFr813NdCJ8rFMkS6Y4=
 by: William Unruh - Sat, 29 Jul 2023 17:16 UTC

On 2023-07-29, Richard Kettlewell <invalid@invalid.invalid> wrote:
> William Unruh <unruh@invalid.ca> writes:
>> Except in my case, nothing I type does anything, the mouse cursor does
>> not move, Teh Alt-ctrl-F keys do nothing, alt-ctrl-det or alt-ctrl-bksp
>> do nothing, gkrellm stops updating. Usually when I have run out of
>> memory, somethings still work, and the machine slows down drastically as
>> it starts to swap. This is just a complete sudden freeze. (Unlike this
>> past time, sometimes this has happened while I am working on the
>> machine. This time it happened while I was asleep)
>
> Yes. Normal behavior for running out of RAM is swapping, and for running
> out of RAM+swap is to start killing user processes.

Yes, and there is no evidence for that.

>
> In this case:
>
>| Trying to log on from the network fails with no response from the
>| machine.
>
> Does it respond to ping?

No.

>
> If so then the kernel’s still working, at least a bit (the lack of
> kernel logs suggest everything above that is dead).
>
> If it does not ping then the kernel has crashed, either due to a kernel
> bug or a hardware fault.

That is sure what it looks like. Weird thing is that the video card is
still sending out the last image, so it is running.

>

Re: computer (MGA8) randomly freezes

<slrnucanv6.1d6p.BitTwister@wb.home.arpa>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1111&group=alt.os.linux#1111

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sat, 29 Jul 2023 13:52:19 -0500
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <slrnucanv6.1d6p.BitTwister@wb.home.arpa>
References: <u9v4u6$214dh$1@dont-email.me>
<kihcg3F94uhU1@mid.individual.net> <ua1evo$2bik1$2@dont-email.me>
<kik0aoF1smU2@mid.individual.net>
<op.18uhh6wya3w0dxdave@hodgins.homeip.net>
Injection-Info: dont-email.me; posting-host="a8830eecad180e14fe60ee6f1eafc949";
logging-data="2830069"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/giT8Z9LZjKuoTPvpJLdO3++8LKhW4e1k="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:Pdza68uTHv8lrTPw/1SAQboh4Vo=
 by: Bit Twister - Sat, 29 Jul 2023 18:52 UTC

On Sat, 29 Jul 2023 09:09:32 -0400, David W. Hodgins wrote:
> On Sat, 29 Jul 2023 04:18:32 -0400, J.O. Aho <user@example.net> wrote:
>> */5 * * * * root (date && ps -Ao user,uid,comm,pid,pcpu,pmem
>> --sort=-pmem | awk -v min="10.0" '$6 >= min || $6=="%MEM"' && echo
>> "----" >> /var/log/mem.log)
>
> That is not reliable. /proc/$PID/comm may contain spaces so by time awk gets it
> the column number is wrong.
>
> [dave@x3 ~]$ ps -Ao user,uid,comm,pid,pcpu,pmem --sort=-pmem | awk -v min="3.0" '$6 >= min || $6=="%MEM"'
> USER UID COMMAND PID %CPU %MEM
> dave 500 opera 6969 2.8 4.7
> ddclient 468 ddclient - slee 5691 0.0 0.0
> [dave@x3 ~]$ cat /proc/5691/comm
> ddclient - slee
> [dave@x3 ~]$ cat /proc/5691/cmdline
> ddclient - sleeping for 90 seconds[dave@x3 ~]$
>
> I don't see a reliable field separator.

My bash solution
while read -r line ; do
set -- $line
_bin=$3
shift $(( $# - 2 ))
_cpu=$1
_mem=$2

Re: computer (MGA8) randomly freezes

<kil8itFbl5mU1@mid.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1112&group=alt.os.linux#1112

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: user@example.net (J.O. Aho)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sat, 29 Jul 2023 21:45:33 +0200
Lines: 35
Message-ID: <kil8itFbl5mU1@mid.individual.net>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me> <wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net EZLUZ0tTbkMWNq13RouyowbfmTTAKszc10TIVbHci6QG2OR8TK
Cancel-Lock: sha1:D37S3H/HKK03WphktwNYhBZA1L4= sha256:+JsVVIc93fSzxJi4OKT02T7o4ZYkxaJwaShQCm5+4bY=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Content-Language: en-US-large
In-Reply-To: <wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk>
 by: J.O. Aho - Sat, 29 Jul 2023 19:45 UTC

On 29/07/2023 11:44, Richard Kettlewell wrote:
> William Unruh <unruh@invalid.ca> writes:
>> Except in my case, nothing I type does anything, the mouse cursor does
>> not move, Teh Alt-ctrl-F keys do nothing, alt-ctrl-det or alt-ctrl-bksp
>> do nothing, gkrellm stops updating. Usually when I have run out of
>> memory, somethings still work, and the machine slows down drastically as
>> it starts to swap. This is just a complete sudden freeze. (Unlike this
>> past time, sometimes this has happened while I am working on the
>> machine. This time it happened while I was asleep)
>
> Yes. Normal behavior for running out of RAM is swapping, and for running
> out of RAM+swap is to start killing user processes.

The problem is that the swapping in and out Xorg and the desktop
environment makes things extremely slow and the tradition in Linux is to
kill a random process (not sure if it's changed nowadays), the
likelihood that the right process is killed is slim and if not the right
one is killed, the swapping will not end and the swap will keep the
system slow and even if it kills the right process it will in reality
take hours before anything happens due of the swap in and out.

My experience is that things do not get better even if you disable swap
(seldom you really need swap when having 64GB RAM), for some reason it
seems to be the disk is as active as during the swap in / out. Could it
have to do with zram?

Something that makes a difference is setting a hard memory limit on the
process, then it will be killed when it tries to use more RAM than the
limit.

Of course at this point we don't know what the issues is for OP and he
don't use plasma5, so I doubt it's plasmashell that is his issue.

--
//Aho

Re: computer (MGA8) randomly freezes

<op.18u0xvj6a3w0dxdave@hodgins.homeip.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1113&group=alt.os.linux#1113

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dwhodgins@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sat, 29 Jul 2023 16:09:21 -0400
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <op.18u0xvj6a3w0dxdave@hodgins.homeip.net>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me> <kik0aoF1smU2@mid.individual.net>
<op.18uhh6wya3w0dxdave@hodgins.homeip.net>
<slrnucanv6.1d6p.BitTwister@wb.home.arpa>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="e9f9fef4a1ac24d24f260eb1038d0955";
logging-data="2846685"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/fV3NkjrttwZwjXBI0JWJsF2mvgsJ/WAk="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:/zTdx1uG8OHESICrjpUXWp9lmCA=
 by: David W. Hodgins - Sat, 29 Jul 2023 20:09 UTC

On Sat, 29 Jul 2023 14:52:19 -0400, Bit Twister <BitTwister@mouse-potato.com> wrote:

> On Sat, 29 Jul 2023 09:09:32 -0400, David W. Hodgins wrote:
>> On Sat, 29 Jul 2023 04:18:32 -0400, J.O. Aho <user@example.net> wrote:
>>> */5 * * * * root (date && ps -Ao user,uid,comm,pid,pcpu,pmem
>>> --sort=-pmem | awk -v min="10.0" '$6 >= min || $6=="%MEM"' && echo
>>> "----" >> /var/log/mem.log)
>>
>> That is not reliable. /proc/$PID/comm may contain spaces so by time awk gets it
>> the column number is wrong.
>>
>> [dave@x3 ~]$ ps -Ao user,uid,comm,pid,pcpu,pmem --sort=-pmem | awk -v min="3.0" '$6 >= min || $6=="%MEM"'
>> USER UID COMMAND PID %CPU %MEM
>> dave 500 opera 6969 2.8 4.7
>> ddclient 468 ddclient - slee 5691 0.0 0.0
>> [dave@x3 ~]$ cat /proc/5691/comm
>> ddclient - slee
>> [dave@x3 ~]$ cat /proc/5691/cmdline
>> ddclient - sleeping for 90 seconds[dave@x3 ~]$
>>
>> I don't see a reliable field separator.
>
> My bash solution
> while read -r line ; do
> set -- $line
> _bin=$3
> shift $(( $# - 2 ))
> _cpu=$1
> _mem=$2

The solution of putting the comm field last works fine.

$ ps -Ao user,uid,pid,pcpu,pmem,comm --sort=-pmem | awk -v min="2.0" '$5 >= min || $5=="%MEM"'
USER UID PID %CPU %MEM COMMAND
dave 500 6969 3.7 4.9 opera
dave 500 33667 7.5 4.0 firefox
dave 500 6186 0.7 2.9 plasmashell
dave 500 34910 1.3 2.3 Isolated Web Co
dave 500 34975 0.8 2.3 Isolated Web Co
dave 500 53719 2.1 2.0 Isolated Web Co

The Isolated Web Content processes are all firefox.

Regards, Dave Hodgins

Re: computer (MGA8) randomly freezes

<ua44e3$2nl85$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1114&group=alt.os.linux#1114

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sat, 29 Jul 2023 22:39:00 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <ua44e3$2nl85$1@dont-email.me>
References: <u9v4u6$214dh$1@dont-email.me>
<kihcg3F94uhU1@mid.individual.net> <ua1evo$2bik1$2@dont-email.me>
<wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk> <kil8itFbl5mU1@mid.individual.net>
Injection-Date: Sat, 29 Jul 2023 22:39:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c54b06ad9dbb18855b2703cd79883afd";
logging-data="2872581"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18BJnfinNzz2zDBD0jiwZxc"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:QHba2aogS8V+lSyOTgEiHMMgbQc=
 by: William Unruh - Sat, 29 Jul 2023 22:39 UTC

On 2023-07-29, J.O. Aho <user@example.net> wrote:
> On 29/07/2023 11:44, Richard Kettlewell wrote:
>> William Unruh <unruh@invalid.ca> writes:
>>> Except in my case, nothing I type does anything, the mouse cursor does
>>> not move, Teh Alt-ctrl-F keys do nothing, alt-ctrl-det or alt-ctrl-bksp
>>> do nothing, gkrellm stops updating. Usually when I have run out of
>>> memory, somethings still work, and the machine slows down drastically as
>>> it starts to swap. This is just a complete sudden freeze. (Unlike this
>>> past time, sometimes this has happened while I am working on the
>>> machine. This time it happened while I was asleep)
>>
>> Yes. Normal behavior for running out of RAM is swapping, and for running
>> out of RAM+swap is to start killing user processes.
>
> The problem is that the swapping in and out Xorg and the desktop
> environment makes things extremely slow and the tradition in Linux is to
> kill a random process (not sure if it's changed nowadays), the
> likelihood that the right process is killed is slim and if not the right
> one is killed, the swapping will not end and the swap will keep the
> system slow and even if it kills the right process it will in reality
> take hours before anything happens due of the swap in and out.
>
> My experience is that things do not get better even if you disable swap
> (seldom you really need swap when having 64GB RAM), for some reason it
> seems to be the disk is as active as during the swap in / out. Could it
> have to do with zram?
>
> Something that makes a difference is setting a hard memory limit on the
> process, then it will be killed when it tries to use more RAM than the
> limit.
>
> Of course at this point we don't know what the issues is for OP and he
> don't use plasma5, so I doubt it's plasmashell that is his issue.

Actually I do use Plasma and sddm.
But as I said there is little indication beforehand that is is swapping
that is the problem (in the times that it happened to me while I was
working on the system.-- as I said this last time it occured just before
bedtime and I discovered it next morning. )

>

Re: computer (MGA8) randomly freezes

<slrnucbmtv.5kt.BitTwister@wb.home.arpa>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1115&group=alt.os.linux#1115

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sat, 29 Jul 2023 22:40:43 -0500
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <slrnucbmtv.5kt.BitTwister@wb.home.arpa>
References: <u9v4u6$214dh$1@dont-email.me>
<kihcg3F94uhU1@mid.individual.net> <ua1evo$2bik1$2@dont-email.me>
<kik0aoF1smU2@mid.individual.net>
<op.18uhh6wya3w0dxdave@hodgins.homeip.net>
<slrnucanv6.1d6p.BitTwister@wb.home.arpa>
<op.18u0xvj6a3w0dxdave@hodgins.homeip.net>
Injection-Info: dont-email.me; posting-host="518bb598a5fb38c617e9e3a89c5793a9";
logging-data="3031047"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ruaO9H1Z7+wjhQFsNKjJS310O4n3nqhk="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:dVTVsKV1do2AYb99HTNl2CL+zf0=
 by: Bit Twister - Sun, 30 Jul 2023 03:40 UTC

On Sat, 29 Jul 2023 16:09:21 -0400, David W. Hodgins wrote:
> On Sat, 29 Jul 2023 14:52:19 -0400, Bit Twister <BitTwister@mouse-potato.com> wrote:
>
>> On Sat, 29 Jul 2023 09:09:32 -0400, David W. Hodgins wrote:
>>> On Sat, 29 Jul 2023 04:18:32 -0400, J.O. Aho <user@example.net> wrote:
>>>> */5 * * * * root (date && ps -Ao user,uid,comm,pid,pcpu,pmem
>>>> --sort=-pmem | awk -v min="10.0" '$6 >= min || $6=="%MEM"' && echo
>>>> "----" >> /var/log/mem.log)
>>>
>>> That is not reliable. /proc/$PID/comm may contain spaces so by time awk gets it
>>> the column number is wrong.
>>>
>>> [dave@x3 ~]$ ps -Ao user,uid,comm,pid,pcpu,pmem --sort=-pmem | awk -v min="3.0" '$6 >= min || $6=="%MEM"'
>>> USER UID COMMAND PID %CPU %MEM
>>> dave 500 opera 6969 2.8 4.7
>>> ddclient 468 ddclient - slee 5691 0.0 0.0
>>> [dave@x3 ~]$ cat /proc/5691/comm
>>> ddclient - slee
>>> [dave@x3 ~]$ cat /proc/5691/cmdline
>>> ddclient - sleeping for 90 seconds[dave@x3 ~]$
>>>
>>> I don't see a reliable field separator.
>>
>> My bash solution
>> while read -r line ; do
>> set -- $line
>> _bin=$3
>> shift $(( $# - 2 ))
>> _cpu=$1
>> _mem=$2
>
> The solution of putting the comm field last works fine.
>
> $ ps -Ao user,uid,pid,pcpu,pmem,comm --sort=-pmem | awk -v min="2.0" '$5 >= min || $5=="%MEM"'
> USER UID PID %CPU %MEM COMMAND
> dave 500 6969 3.7 4.9 opera
> dave 500 33667 7.5 4.0 firefox
> dave 500 6186 0.7 2.9 plasmashell
> dave 500 34910 1.3 2.3 Isolated Web Co
> dave 500 34975 0.8 2.3 Isolated Web Co
> dave 500 53719 2.1 2.0 Isolated Web Co

Well, damn, got to go get crowbar to get head out of derriere.
Nice solution.

Re: computer (MGA8) randomly freezes

<op.18vm5ctka3w0dxdave@hodgins.homeip.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1116&group=alt.os.linux#1116

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dwhodgins@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sun, 30 Jul 2023 00:09:02 -0400
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <op.18vm5ctka3w0dxdave@hodgins.homeip.net>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me> <kik0aoF1smU2@mid.individual.net>
<op.18uhh6wya3w0dxdave@hodgins.homeip.net>
<slrnucanv6.1d6p.BitTwister@wb.home.arpa>
<op.18u0xvj6a3w0dxdave@hodgins.homeip.net>
<slrnucbmtv.5kt.BitTwister@wb.home.arpa>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="0f1437b19ee208557a3fb008e47282b4";
logging-data="3033944"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ZTvCmwgewEJtKDtyaQGwEYIMjqXGItoA="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:NHpxYkqqqpPMCEC+TMT82oytAZI=
 by: David W. Hodgins - Sun, 30 Jul 2023 04:09 UTC

On Sat, 29 Jul 2023 23:40:43 -0400, Bit Twister <BitTwister@mouse-potato.com> wrote:
> Nice solution.

It was J.O. Aho that posted that solution.

Regards, Dave Hodgins

Re: computer (MGA8) randomly freezes

<wwvedkpk7ov.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1117&group=alt.os.linux#1117

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!news.niel.me!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sun, 30 Jul 2023 11:36:00 +0100
Organization: terraraq NNTP server
Message-ID: <wwvedkpk7ov.fsf@LkoBDZeT.terraraq.uk>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me> <wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk>
<ua3hgn$2ls02$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="109903"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:dLejDsMwNxSE/ZjVv+EarWDUAmU=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Sun, 30 Jul 2023 10:36 UTC

William Unruh <unruh@invalid.ca> writes:
> On 2023-07-29, Richard Kettlewell <invalid@invalid.invalid> wrote:
>> Does it respond to ping?
>
> No.
[...]
>> If it does not ping then the kernel has crashed, either due to a kernel
>> bug or a hardware fault.
>
> That is sure what it looks like. Weird thing is that the video card is
> still sending out the last image, so it is running.

The video card keeps transmits to the display under its own steam, it
doesn’t need the kernel to tell it to do so.

--
https://www.greenend.org.uk/rjk/

Re: computer (MGA8) randomly freezes

<kimtr9F1smU3@mid.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1118&group=alt.os.linux#1118

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: user@example.net (J.O. Aho)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sun, 30 Jul 2023 12:54:33 +0200
Lines: 87
Message-ID: <kimtr9F1smU3@mid.individual.net>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me> <wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk>
<kil8itFbl5mU1@mid.individual.net> <ua44e3$2nl85$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net ejQQiZWjkdYmGEcwu8I2awjdoTQ20MOZ8cgEYZV63GfY4i2bIo
Cancel-Lock: sha1:ghIviDIfOLkSbS8xV7o/GtJMOgE= sha256:urz6sMnW2aoXwqUTEFt/nVIQbu6wNd+tk5oYfKyc53A=
User-Agent: Mozilla Thunderbird
Content-Language: en-US-large
In-Reply-To: <ua44e3$2nl85$1@dont-email.me>
 by: J.O. Aho - Sun, 30 Jul 2023 10:54 UTC

On 7/30/23 00:39, William Unruh wrote:
> On 2023-07-29, J.O. Aho <user@example.net> wrote:
>> On 29/07/2023 11:44, Richard Kettlewell wrote:
>>> William Unruh <unruh@invalid.ca> writes:
>>>> Except in my case, nothing I type does anything, the mouse cursor does
>>>> not move, Teh Alt-ctrl-F keys do nothing, alt-ctrl-det or alt-ctrl-bksp
>>>> do nothing, gkrellm stops updating. Usually when I have run out of
>>>> memory, somethings still work, and the machine slows down drastically as
>>>> it starts to swap. This is just a complete sudden freeze. (Unlike this
>>>> past time, sometimes this has happened while I am working on the
>>>> machine. This time it happened while I was asleep)
>>>
>>> Yes. Normal behavior for running out of RAM is swapping, and for running
>>> out of RAM+swap is to start killing user processes.
>>
>> The problem is that the swapping in and out Xorg and the desktop
>> environment makes things extremely slow and the tradition in Linux is to
>> kill a random process (not sure if it's changed nowadays), the
>> likelihood that the right process is killed is slim and if not the right
>> one is killed, the swapping will not end and the swap will keep the
>> system slow and even if it kills the right process it will in reality
>> take hours before anything happens due of the swap in and out.
>>
>> My experience is that things do not get better even if you disable swap
>> (seldom you really need swap when having 64GB RAM), for some reason it
>> seems to be the disk is as active as during the swap in / out. Could it
>> have to do with zram?
>>
>> Something that makes a difference is setting a hard memory limit on the
>> process, then it will be killed when it tries to use more RAM than the
>> limit.
>>
>> Of course at this point we don't know what the issues is for OP and he
>> don't use plasma5, so I doubt it's plasmashell that is his issue.
>
> Actually I do use Plasma and sddm.
> But as I said there is little indication beforehand that is is swapping
> that is the problem (in the times that it happened to me while I was
> working on the system.-- as I said this last time it occured just before
> bedtime and I discovered it next morning. )

Not sure about your setup, I have nVidia RTX 2060 with the closed source
driver (generally the latest) with a kernel that tend to be the latest
from the distribution together with the latest version of kde/plasma.

Running two Xorg with their own plasma5, one with weather applet and
directory display and the other one with just the directory display.
Fixed image background on both.

The memory leak is quite random when it starts, but latest 2 days after
start of plasmashell it will have begun to eat up a lot of memory, first
slowly and then faster and faster. When using strace it seems
plasmashell is trying to connect somewhere and it gets a timeout, during
the timeout period it manage to queue 3-4 more requests (haven't figured
out where it tries to connect). Usually it's just one of the
plasmashells that hogs a lot of memory, like 30-40GB while the other may
just be around 10GB (which one uses the most is random). When the RAM
run out, then the disk activity starts (remind you that I do not have a
swap) and when the disk activity has begun, the Xorg will be so slow and
if you move the mouse pointer you will see it move a small distance and
then freeze. It will be now impossible to ssh to the machine, if you
have a running ssh connection to the machine you can still write
something, but it will be slow like a 120baud modem. If you already are
root ('su -' before it happen), then you can run 'killall -9
plasmashell' and after a short while the machine will be somewhat usable
again, now you just need to start the plasmashell for each user, this
tend to be a two step process, first "su - username" and run
"DISPLAY=:X.0 plasmashell --replace", then go and switch to that users
VT and then run from konsole "plasmashell --replace", and then repeat
the process with the next user.

There is a bug report on this, I did keep on updating it for each
version of kde/plasma I had installed and from time to time send in more
logs, but the process has been 0%.

There is a known bug in the wallpaper slideshow, but never used that
one, so it's not the one affecting me.

Nowadays I don't use plasma5 at all, I will make a try with plasma6 when
it's in the distros repository, but until then I will keep on using lxqt
and I suggest you do also check for another desktop environment to use
until plasma6 is out for your distro.

--
//Aho

Re: computer (MGA8) randomly freezes

<ua5fto$2u8ir$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1119&group=alt.os.linux#1119

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sun, 30 Jul 2023 07:01:12 -0400
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <ua5fto$2u8ir$1@dont-email.me>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me> <wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk>
<ua3hgn$2ls02$2@dont-email.me> <wwvedkpk7ov.fsf@LkoBDZeT.terraraq.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 30 Jul 2023 11:01:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="25ee5b8937768107b72f456d00339769";
logging-data="3088987"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UksWDy+MNGL1NNXGAI9/8TrGn2fuPknY="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:h/jY4doS1mXw7HWuwiefbRqHY4Q=
Content-Language: en-US
In-Reply-To: <wwvedkpk7ov.fsf@LkoBDZeT.terraraq.uk>
 by: Paul - Sun, 30 Jul 2023 11:01 UTC

On 7/30/2023 6:36 AM, Richard Kettlewell wrote:
> William Unruh <unruh@invalid.ca> writes:
>> On 2023-07-29, Richard Kettlewell <invalid@invalid.invalid> wrote:
>>> Does it respond to ping?
>>
>> No.
> [...]
>>> If it does not ping then the kernel has crashed, either due to a kernel
>>> bug or a hardware fault.
>>
>> That is sure what it looks like. Weird thing is that the video card is
>> still sending out the last image, so it is running.
>
> The video card keeps transmits to the display under its own steam, it
> doesn’t need the kernel to tell it to do so.
>

For a non-tearing display, I would expect double buffering, and some
sort of command issued to aid compositing (Z-axis sorting). That may
require a minimum of some sort of command list to implement compositing.
A command list issued at least, 60 times a second.

And there's more than one level of compositing going on, as a web browser
also composites, even when its "window" is "stable". It is still composing
the same stable image, 60 times a second.

Even when a computer is idle, modern developers have made it busy.
In ways that were never present in the past. There was a time, when
a computer was actually idle -- if you moved a window, it required a
redraw, but at least there was proportionate behavior to user input.
Whereas the modern way of doing things, is just abusive.

Making conclusions about how stuff works on computers now, by
observing failures, is pretty difficult. But there are some
examples available. For example, when the memory consumption
of a browser used to shoot up, I managed to trace that one
day (by noticing a graphical failure-to=update), to a
breakage in the browser "output" being "consumed" by the
window manager. It seemed to indicate, that the browser
process did not recognize an overflow condition and it
did not "throw away" unconsumed content it was sending
to the window manager.

It's not like the old days, where some game would crash,
and various parts of the mechanical aspects of how graphics
and sound worked, presented themselves. The failures now,
are much harder to observe. For example, on an old game
crash, the sound buffer pointer was reused again and again,
so a repetitive sound would come out of the speaker until
the PC was reset.

Paul

Re: computer (MGA8) randomly freezes

<ua68dq$3073k$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1120&group=alt.os.linux#1120

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sun, 30 Jul 2023 17:59:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <ua68dq$3073k$1@dont-email.me>
References: <u9v4u6$214dh$1@dont-email.me>
<kihcg3F94uhU1@mid.individual.net> <ua1evo$2bik1$2@dont-email.me>
<wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk> <kil8itFbl5mU1@mid.individual.net>
<ua44e3$2nl85$1@dont-email.me> <kimtr9F1smU3@mid.individual.net>
Injection-Date: Sun, 30 Jul 2023 17:59:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c54b06ad9dbb18855b2703cd79883afd";
logging-data="3153012"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18sl/+yScO/DqyeIVDiduFg"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:lIiPKREJ3sqCkpvwwVVPe5wLym8=
 by: William Unruh - Sun, 30 Jul 2023 17:59 UTC

On 2023-07-30, J.O. Aho <user@example.net> wrote:
> On 7/30/23 00:39, William Unruh wrote:
>> On 2023-07-29, J.O. Aho <user@example.net> wrote:
>>> On 29/07/2023 11:44, Richard Kettlewell wrote:
>>>> William Unruh <unruh@invalid.ca> writes:
....
>
> Running two Xorg with their own plasma5, one with weather applet and
> directory display and the other one with just the directory display.
> Fixed image background on both.
>
> The memory leak is quite random when it starts, but latest 2 days after
> start of plasmashell it will have begun to eat up a lot of memory, first
> slowly and then faster and faster. When using strace it seems
> plasmashell is trying to connect somewhere and it gets a timeout, during
> the timeout period it manage to queue 3-4 more requests (haven't figured
> out where it tries to connect). Usually it's just one of the
> plasmashells that hogs a lot of memory, like 30-40GB while the other may
> just be around 10GB (which one uses the most is random). When the RAM

How much ram do you have?
Mu plasmashell right now is 2GB VSZ

I run Intel onboard graphics. There is no slowdown beforehand. It just
as if someone threw a switch to shut everything down, except that the
image keeps showing (ie the grephics card is still sending out a
signal).
No disk activity, no slowdown. just stop.

> run out, then the disk activity starts (remind you that I do not have a
> swap) and when the disk activity has begun, the Xorg will be so slow and
> if you move the mouse pointer you will see it move a small distance and
> then freeze. It will be now impossible to ssh to the machine, if you
> have a running ssh connection to the machine you can still write
> something, but it will be slow like a 120baud modem. If you already are
> root ('su -' before it happen), then you can run 'killall -9
> plasmashell' and after a short while the machine will be somewhat usable
> again, now you just need to start the plasmashell for each user, this
> tend to be a two step process, first "su - username" and run
> "DISPLAY=:X.0 plasmashell --replace", then go and switch to that users
> VT and then run from konsole "plasmashell --replace", and then repeat
> the process with the next user.
>

Re: computer (MGA8) randomly freezes

<kinquqFoba8U1@mid.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1121&group=alt.os.linux#1121

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: MikeE@ster.invalid (Mike Easter)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sun, 30 Jul 2023 12:11:21 -0700
Lines: 16
Message-ID: <kinquqFoba8U1@mid.individual.net>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me> <wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk>
<kil8itFbl5mU1@mid.individual.net> <ua44e3$2nl85$1@dont-email.me>
<kimtr9F1smU3@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net y2f2eSlohsX35nJK7wLofwsLUqBmVnGtkmC7qi5BGl8kjENILR
Cancel-Lock: sha1:kKdCpmbJGwFf5nmVPXW2nRLMHZM= sha256:qxs28BEuIMathOpWtVdHQlEN8lyEW2VjQapz7TSx/ko=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
In-Reply-To: <kimtr9F1smU3@mid.individual.net>
Content-Language: en-US
 by: Mike Easter - Sun, 30 Jul 2023 19:11 UTC

J.O. Aho wrote:
> Nowadays I don't use plasma5 at all, I will make a try with plasma6 when
> it's in the distros repository, but until then I will keep on using lxqt
> and I suggest you do also check for another desktop environment to use
> until plasma6 is out for your distro.

I realize that we are talking about an 'unknown' diagnosis, but it
sounds like it is closely associated w/ the KDE desktop, that
theoretically anyone using plasma5 could spring a memory leak, or, is
there potentially some much more limited concept going on here?

Like some 'specific' KDE 'gear' that if someone didn't have that KDE
app, they wouldn't have a leak?

--
Mike Easter

Re: computer (MGA8) randomly freezes

<kinu0gF1snU2@mid.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1122&group=alt.os.linux#1122

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: user@example.net (J.O. Aho)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sun, 30 Jul 2023 22:03:28 +0200
Lines: 54
Message-ID: <kinu0gF1snU2@mid.individual.net>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me> <wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk>
<kil8itFbl5mU1@mid.individual.net> <ua44e3$2nl85$1@dont-email.me>
<kimtr9F1smU3@mid.individual.net> <ua68dq$3073k$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net vH0lXXtVjeh3UJyTyanG7g5V8gWCcsaqOmNo3g90VZPcM0RsZA
Cancel-Lock: sha1:z4wMzJLW1uU8G3auDYvUqDylfc4= sha256:ZcPyX6HvGd+YW73lJGv4n4zecpLqqMHsM0xMdz/R2DI=
User-Agent: Mozilla Thunderbird
Content-Language: en-US-large
In-Reply-To: <ua68dq$3073k$1@dont-email.me>
 by: J.O. Aho - Sun, 30 Jul 2023 20:03 UTC

On 7/30/23 19:59, William Unruh wrote:
> On 2023-07-30, J.O. Aho <user@example.net> wrote:
>> On 7/30/23 00:39, William Unruh wrote:
>>> On 2023-07-29, J.O. Aho <user@example.net> wrote:
>>>> On 29/07/2023 11:44, Richard Kettlewell wrote:
>>>>> William Unruh <unruh@invalid.ca> writes:
> ...
>>
>> Running two Xorg with their own plasma5, one with weather applet and
>> directory display and the other one with just the directory display.
>> Fixed image background on both.
>>
>> The memory leak is quite random when it starts, but latest 2 days after
>> start of plasmashell it will have begun to eat up a lot of memory, first
>> slowly and then faster and faster. When using strace it seems
>> plasmashell is trying to connect somewhere and it gets a timeout, during
>> the timeout period it manage to queue 3-4 more requests (haven't figured
>> out where it tries to connect). Usually it's just one of the
>> plasmashells that hogs a lot of memory, like 30-40GB while the other may
>> just be around 10GB (which one uses the most is random). When the RAM
>
> How much ram do you have?

64GB, I used to have 32, but I ran into the issue and I was hoping that
doubling the amount of RAM should make it less affecting, gosh I was wrong.

> Mu plasmashell right now is 2GB VSZ

I think I usually had it to take ~700MB when it started, if it was up on
2GB I knew it would start to eat more memory, so a "plasmashell
--replace" was the only thing that prevented it from going bad, for a
while, in best case you buy yourself another day.

> I run Intel onboard graphics. There is no slowdown beforehand. It just
> as if someone threw a switch to shut everything down, except that the
> image keeps showing (ie the grephics card is still sending out a
> signal).

You will have a desktop on you screen all the way till you reboot, this
far I never seen the plasmashell process to be auto killed, if it would
then your screen would turn black, but a mouse pointer that you can move
around.

> No disk activity, no slowdown. just stop.

If you had been a hour earlier, I think you would maybe caught the
slowdown, as it's related to the amount of free RAM you have left, when
you don't it's the freeze time.

--
//Aho

Re: computer (MGA8) randomly freezes

<kinuegF1smU4@mid.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1123&group=alt.os.linux#1123

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: user@example.net (J.O. Aho)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sun, 30 Jul 2023 22:10:56 +0200
Lines: 34
Message-ID: <kinuegF1smU4@mid.individual.net>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me> <wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk>
<kil8itFbl5mU1@mid.individual.net> <ua44e3$2nl85$1@dont-email.me>
<kimtr9F1smU3@mid.individual.net> <kinquqFoba8U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net tpXH7H0qWWILZcBYXGzJbgGnTJBoB/OnrNiemfvIZ/PccA6gMa
Cancel-Lock: sha1:6HqoeTQEo5hY6pVHGrrnf3qV/7Q= sha256:0EA85Lpd3F+/zEGMKP4LX76dVmzIh1ivhXH60d2cigc=
User-Agent: Mozilla Thunderbird
Content-Language: en-US-large
In-Reply-To: <kinquqFoba8U1@mid.individual.net>
 by: J.O. Aho - Sun, 30 Jul 2023 20:10 UTC

On 7/30/23 21:11, Mike Easter wrote:
> J.O. Aho wrote:
>> Nowadays I don't use plasma5 at all, I will make a try with plasma6
>> when it's in the distros repository, but until then I will keep on
>> using lxqt and I suggest you do also check for another desktop
>> environment to use until plasma6 is out for your distro.
>
> I realize that we are talking about an 'unknown' diagnosis, but it
> sounds like it is closely associated w/ the KDE desktop, that
> theoretically anyone using plasma5 could spring a memory leak, or, is
> there potentially some much more limited concept going on here?
>
> Like some 'specific' KDE 'gear' that if someone didn't have that KDE
> app, they wouldn't have a leak?
>

I have had this issue for some years, it's only affected my primary
desktop where I have two X sessions running.

I do not have this issue on our laptops which just runs one X session,
all run the same distro, all of them are up to date, desktop nVidia
graphics, laptop 1 intel, and laptop intel/nVidia. Appletwise they are
configured the same.

If I understood right from William, he has intel on his desktop and runs
one X session.

So we do not know what causes the issue, so KDE/plasma5 has some odd
memory leak that seems to be random, of course it could be a setting
that causes it, but from the xsession-errors log there ain't anything
that would hint on what it could be.

--
//Aho

Re: computer (MGA8) randomly freezes

<slrnuce04m.aca.JimDiamond@x360.localdomain>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1124&group=alt.os.linux#1124

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: JimDiamond@jdvb.ca (Jim Diamond)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Sun, 30 Jul 2023 21:30:05 -0300
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <slrnuce04m.aca.JimDiamond@x360.localdomain>
References: <u9v4u6$214dh$1@dont-email.me>
<kihcg3F94uhU1@mid.individual.net> <ua1evo$2bik1$2@dont-email.me>
<wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk> <kil8itFbl5mU1@mid.individual.net>
<ua44e3$2nl85$1@dont-email.me> <kimtr9F1smU3@mid.individual.net>
<ua68dq$3073k$1@dont-email.me>
Injection-Info: dont-email.me; posting-host="63b3f01aef4ade2810e6dfa017fe47e6";
logging-data="3209410"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/KO/CPyX1bUZADlzuJ1Rv"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:QpK3K4Va7VgXiawfB29xOvG6ynU=
 by: Jim Diamond - Mon, 31 Jul 2023 00:30 UTC

On 2023-07-30 at 14:59 ADT, William Unruh <unruh@invalid.ca> wrote:
> On 2023-07-30, J.O. Aho <user@example.net> wrote:
>> On 7/30/23 00:39, William Unruh wrote:
>>> On 2023-07-29, J.O. Aho <user@example.net> wrote:
>>>> On 29/07/2023 11:44, Richard Kettlewell wrote:
>>>>> William Unruh <unruh@invalid.ca> writes:
> ...
>>
>> Running two Xorg with their own plasma5, one with weather applet and
>> directory display and the other one with just the directory display.
>> Fixed image background on both.
>>
>> The memory leak is quite random when it starts, but latest 2 days after
>> start of plasmashell it will have begun to eat up a lot of memory, first
>> slowly and then faster and faster. When using strace it seems
>> plasmashell is trying to connect somewhere and it gets a timeout, during
>> the timeout period it manage to queue 3-4 more requests (haven't figured
>> out where it tries to connect). Usually it's just one of the
>> plasmashells that hogs a lot of memory, like 30-40GB while the other may
>> just be around 10GB (which one uses the most is random). When the RAM
>
> How much ram do you have?
> Mu plasmashell right now is 2GB VSZ

I don't think the VSZ is all that significant.

What is the RSS?

(Right now I have a chromium process whose VSZ and RSS are reported by ps
to be, respectively, 1185776448 and 63232.)

Jim

Re: computer (MGA8) randomly freezes

<wwvjzugr1vw.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1125&group=alt.os.linux#1125

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Mon, 31 Jul 2023 08:11:47 +0100
Organization: terraraq NNTP server
Message-ID: <wwvjzugr1vw.fsf@LkoBDZeT.terraraq.uk>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me> <wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk>
<kil8itFbl5mU1@mid.individual.net> <ua44e3$2nl85$1@dont-email.me>
<kimtr9F1smU3@mid.individual.net> <ua68dq$3073k$1@dont-email.me>
<slrnuce04m.aca.JimDiamond@x360.localdomain>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="7876"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:iSb07Y+k7sT5Lx/HambH3DjugEQ=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Mon, 31 Jul 2023 07:11 UTC

Jim Diamond <JimDiamond@jdvb.ca> writes:
> On 2023-07-30 at 14:59 ADT, William Unruh <unruh@invalid.ca> wrote:
>> How much ram do you have?
>> Mu plasmashell right now is 2GB VSZ
>
> I don't think the VSZ is all that significant.

Indeed VSZ tells you very little - for instance it includes a 2MB dead
page in the middle of every shared library, which (in a complex process)
scales up VSZ to something huge, but consumes almost no real resources.

> What is the RSS?

I think the theories about user space memory leaks are a red herring.
The reported behavior is just not consistent with them.

--
https://www.greenend.org.uk/rjk/

Re: computer (MGA8) randomly freezes

<kip74nF1snU3@mid.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1126&group=alt.os.linux#1126

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: user@example.net (J.O. Aho)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Mon, 31 Jul 2023 09:45:27 +0200
Lines: 15
Message-ID: <kip74nF1snU3@mid.individual.net>
References: <u9v4u6$214dh$1@dont-email.me> <kihcg3F94uhU1@mid.individual.net>
<ua1evo$2bik1$2@dont-email.me> <wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk>
<kil8itFbl5mU1@mid.individual.net> <ua44e3$2nl85$1@dont-email.me>
<kimtr9F1smU3@mid.individual.net> <ua68dq$3073k$1@dont-email.me>
<kinu0gF1snU2@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net GczrLFuMEDoTtE6VNeTA5AD9EHEygqUS5cp7x3Prvp//Dc/5Wn
Cancel-Lock: sha1:A4rmuThhZpamQeoK7twgT77ulR8= sha256:QhHEr5VAN8u4Sz/ZKNkA2MnBzzA34LnBZUhgDgAjR+g=
User-Agent: Mozilla Thunderbird
Content-Language: en-US-large
In-Reply-To: <kinu0gF1snU2@mid.individual.net>
 by: J.O. Aho - Mon, 31 Jul 2023 07:45 UTC

On 7/30/23 22:03, J.O. Aho wrote:
> On 7/30/23 19:59, William Unruh wrote:

>> Mu plasmashell right now is 2GB VSZ
>
> I think I usually had it to take ~700MB when it started, if it was up on
> 2GB I knew it would start to eat more memory, so a "plasmashell
> --replace" was the only thing that prevented it from going bad, for a
> while, in best case you buy yourself another day.

Sorry, I missed you looked at VSZ, that one is irrelevant, look at RSS
or calculate from %MEM.

--
//Aho

Re: computer (MGA8) randomly freezes

<ua7p2v$37j44$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1127&group=alt.os.linux#1127

  copy link   Newsgroups: alt.os.linux.mageia alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia,alt.os.linux
Subject: Re: computer (MGA8) randomly freezes
Date: Mon, 31 Jul 2023 07:49:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <ua7p2v$37j44$1@dont-email.me>
References: <u9v4u6$214dh$1@dont-email.me>
<kihcg3F94uhU1@mid.individual.net> <ua1evo$2bik1$2@dont-email.me>
<wwvo7jvoxw8.fsf@LkoBDZeT.terraraq.uk> <kil8itFbl5mU1@mid.individual.net>
<ua44e3$2nl85$1@dont-email.me> <kimtr9F1smU3@mid.individual.net>
<ua68dq$3073k$1@dont-email.me> <kinu0gF1snU2@mid.individual.net>
Injection-Date: Mon, 31 Jul 2023 07:49:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6050b86f64eef8c3182c3dfcaaa137cb";
logging-data="3394692"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18vJOyluYE7yRLGA4iCp6Rf"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:DW+KtqvBb3ag705a2C6ih1R2Daw=
 by: William Unruh - Mon, 31 Jul 2023 07:49 UTC

On 2023-07-30, J.O. Aho <user@example.net> wrote:
> On 7/30/23 19:59, William Unruh wrote:
>> On 2023-07-30, J.O. Aho <user@example.net> wrote:
>>> On 7/30/23 00:39, William Unruh wrote:
>>>> On 2023-07-29, J.O. Aho <user@example.net> wrote:
>>>>> On 29/07/2023 11:44, Richard Kettlewell wrote:
>>>>>> William Unruh <unruh@invalid.ca> writes:
....

>>
>> How much ram do you have?
>
> 64GB, I used to have 32, but I ran into the issue and I was hoping that
> doubling the amount of RAM should make it less affecting, gosh I was wrong.

I have 8 GB. ps says plasmashell right now has VSZ of 1.9GB and %MEM of
3.1% ( which sould be 250MB I guess.

>
>> Mu plasmashell right now is 2GB VSZ
>
> I think I usually had it to take ~700MB when it started, if it was up on
> 2GB I knew it would start to eat more memory, so a "plasmashell
> --replace" was the only thing that prevented it from going bad, for a
> while, in best case you buy yourself another day.
>
>
>> I run Intel onboard graphics. There is no slowdown beforehand. It just
>> as if someone threw a switch to shut everything down, except that the
>> image keeps showing (ie the grephics card is still sending out a
>> signal).
>
> You will have a desktop on you screen all the way till you reboot, this
> far I never seen the plasmashell process to be auto killed, if it would
> then your screen would turn black, but a mouse pointer that you can move
> around.
>
>
>> No disk activity, no slowdown. just stop.
>
> If you had been a hour earlier, I think you would maybe caught the
> slowdown, as it's related to the amount of free RAM you have left, when
> you don't it's the freeze time.

I have about 8GB of swap, so it should slow down when it starts to use
swap.


computers / alt.os.linux / Re: computer (MGA8) randomly freezes

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor