https://bugs.kde.org/show_bug.cgi?id=478457
Bug ID: 478457 Summary: kioslave5 process causes high IOwait and hangs dolphin when browsing SMB share with hundreds of media files Classification: Frameworks and Libraries Product: frameworks-kio Version: 5.111.0 Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kio-bugs-n...@kde.org Reporter: eddiecarswel...@yahoo.com CC: kdelibs-b...@kde.org Target Milestone: --- SUMMARY Whenever I browse to my media share, the kioslave5 process cause dolphin to be nearly unresponsive (or in some cases, completely unresponsive) due to high CPU and IOwait, presumably due to the attempt to generate thumbnail previews of the media files contained on the share. For reference, this share has hundreds of video files. One may also notice significant network bandwidth usage as the kioslave5 process is reading through all these files. This makes attempting to browse this share and do anything useful a rather difficult task until that process is finally done with whatever its doing and stops chewing up resources (and it sometimes never stops until I kill dolphin). Similar behavior can be observed with a local media file when said file is still being written to while dolphin/kioslave5 is presumably trying to read it. Every update to the file seems to trigger an endless loop of re-reading the file. These are both (to me, at least) pointing to issues with how kioslave5 is handling media files. It should never be able to cause high IOwait and grind the system to a halt, nor cause unnecessary network IO to do its tasks. A naive analysis would seem to suggest there are less invasive and resource intensive ways to generate media previews, maybe with better caching of the results, a longer refresh time before trying again, etc. STEPS TO REPRODUCE 1. Mount a SMB share with a large number of media files (videos, etc.) 2. Ensure the preview pane is enabled (seems to be a contributor) 3. Browse the share with dolphin and attempt operations like rename, etc. OBSERVED RESULT Observe high IOwait and/or CPU from kioslave5 process and potential lag from dolphin. EXPECTED RESULT Dolphin remains responsive, no high CPU/IOwait/Network from kioslave5 (media previews still working). SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 38 KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.111.0 Qt Version: 5.15.11 Dolphin: 23.08.3 ADDITIONAL INFORMATION Log snippet when the issue occurs: ``` Dec 12 17:30:54 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:30:55 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:30:55 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:30:55 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:30:55 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:30:55 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:30:56 AfroThundr-XPS kioslave5[203579]: Not a JPEG file: starts with 0x89 0x50 Dec 12 17:30:56 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:31:10 AfroThundr-XPS chatterino[3453]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:31:21 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:31:21 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:31:21 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:31:22 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:31:22 AfroThundr-XPS kioslave5[203579]: libpng warning: known incorrect sRGB profile Dec 12 17:31:22 AfroThundr-XPS kioslave5[203579]: libpng warning: profile matches sRGB but writing iCCP instead Dec 12 17:31:30 AfroThundr-XPS kioslave5[203579]: Not a JPEG file: starts with 0x89 0x50 Dec 12 17:31:30 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:31:31 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:31:31 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:31:31 AfroThundr-XPS kioslave5[203579]: libpng warning: iCCP: known incorrect sRGB profile Dec 12 17:31:31 AfroThundr-XPS kioslave5[203579]: Not a JPEG file: starts with 0x89 0x50 Dec 12 17:31:31 AfroThundr-XPS kioslave5[203579]: Not a JPEG file: starts with 0x89 0x50 Dec 12 17:31:31 AfroThundr-XPS kioslave5[203579]: Not a JPEG file: starts with 0x89 0x50 Dec 12 17:31:31 AfroThundr-XPS kioslave5[203579]: Not a JPEG file: starts with 0x89 0x50 Dec 12 17:31:40 AfroThundr-XPS kioslave5[203579]: Not a JPEG file: starts with 0x89 0x50 Dec 12 17:31:40 AfroThundr-XPS kwin_wayland[3442]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Dec 12 17:31:40 AfroThundr-XPS kioslave5[203820]: Not a JPEG file: starts with 0x89 0x50 Dec 12 17:31:40 AfroThundr-XPS kioslave5[203820]: Not a JPEG file: starts with 0x89 0x50 ``` -- You are receiving this mail because: You are watching all bug changes.