Re: kioworker and CPU

MERLIN Philippe <[email protected]> Mon, 28 Apr 2025 21:27:33 +0200
Newsgroups gmane.linux.debian.user.kde
Message-ID <3347434.aeNJFYEL58@portable>
Le samedi 26 avril 2025, 19:57:12 heure d’été d’Europe centrale Rongrong a écrit :
> Hi Philippe,
> 
> I somehow met the same issue before and confirmed that kioworker was
> unfortunately stuck while generating the thumbnail of a file.
> 
> `sudo strace -p <PID>` and `lsof -p <PID>` may help you find the file
> that causes the issue. You can then work around the bug by disabling
> thumbnail generation for the affected MIME type.
> 
> In my case, it was a DOCX file.
> 
> $ sudo strace -p <PID>
> lseek(11, 5557, SEEK_SET)               = 5557
> lseek(11, 5557, SEEK_SET)               = 5557
> lseek(11, 5557, SEEK_SET)               = 5557
> [...]
> $ lsof -p <PID>
> kioworker <PID> rongrong  11r      REG               <DEVICE>
> <SIZE/OFF>     <NODE> /path/to/a.docx
> 
> It is impossible for me to provide a reproducer to the devs, as the
> file itself is confidential. Thus, I've never reported the issue. If
> you find you are facing the same issue and if the file is not
> confidential, please report it to the KDE devs.
> 
> Rong
Thank you for the method you provide to detect the cause of Kioworker's out-of-control 
behavior, which causes processor overheating. In my case, it worked very well; the culprit 
was a corrupted .pps file. Deleting this file in the same session didn't make the problem go 
away, but upon rebooting, everything returned to normal.
I don't understand why the KDE system is interested in this file if it existed in my home 
directory and I hadn't accessed it for a long time.
Should I file a bug report? If so, I don't know how to write one? Is it a Debian or KDE bug?
The offending .pps file is deleted; to find it, I'd have to look for it in my backups.
I also recently had a problem with clamav (clamd), which also used a processor at 100%, 
thus increasing the processor temperature. A reboot calmed everything down.
> 
> On Sat, 2025-04-26 at 12:58 +0200, MERLIN Philippe wrote:
> > Hello,
> > For some time now, I've been having problems with my Debian SID AMD64.
> > I've
> > already reported it to the list about the screen blocking and the mouse
> > becoming inoperative. The users recommended certain tests to diagnose the
> > cause of the problem. I ran memtest86 overnight without any problems.
> > However, upon further investigation, I noticed that the processor
> > temperatures were very high, approaching 100°C (96.97°C). The fans were
> > operating normally. I thought it was a thermal paste problem. A
> > technician ran some tests without Linux, and the processor temperatures
> > were normal, even under load, at a maximum of 76°C. He suggested the
> > problem might be with an application. I launched: *top* and* *I noticed
> > that a kioworker process was constantly using 100% CPU. Why? Is this the
> > culprit? Where should I look? Kioworker seems to be a KDE process, so
> > I'll send an email to the KDE list asking for help.
> > Thanks in advance for your contributions.
> > Philippe Merlin
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEmq87yX/v2s7XpMbA3VsQlcAxthwFAmgP1qUACgkQ3VsQlcAx
thxv3gf8CGpsrwFdboFdyoDRmLvSx0KsPEW9Iz1RqufCgHzst90et+Ixn+79D0iA
BfwmASeq/zLXTlaGrJEzH9W1N/JlQ828PGmB9W19MQYKkBUMdOBTnEQVrL5vunPw
lK/CuliPSwVT0TqTjE0F8vgWUsmEOk6qCcNn7uvn0Tr2R5t/+yqlyKE4UUIZjbYg
zvaqvgjmauB9Z4iuE1H7Ky14ouMpARm+DvzCxvYZQuKugIE3zXaVq24YJ/q+OaWT
9y6WTbNYyB5zCAbXE65sFQSjNKmPxvMATfEspwBzCzE4WPNtNRJChXGKlppSmz4V
D5StVkvxwGjpy7ctOODeHytGTQMbug==
=uMzF
-----END PGP SIGNATURE-----