Bug 398200 - sftp.so is constantly consuming CPU in background
Summary: sftp.so is constantly consuming CPU in background
Status: RESOLVED WORKSFORME
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: SFTP (show other bugs)
Version: 18.08.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-03 13:04 UTC by Nikita Skovoroda
Modified: 2020-04-03 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Skovoroda 2018-09-03 13:04:03 UTC
When an sftp:// dir is open via Dolphin, sftp.so seems to be constantly hogging cpu, about 2-5% CPU for each sftp.so process.

```
  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                    
12082 chalker   20   0  243104  23388  18160 S   5,0   0,1  38:13.70 sftp.so                                                                                                    
28951 chalker   20   0  242568  21740  17796 S   3,3   0,1   8:23.03 sftp.so                                                                                                    
30851 chalker   20   0  242600  21824  17600 S   3,7   0,1   5:43.67 sftp.so  
```

Note the total TIME+ and %CPU columns.

This happens even when no visible activity is going on, just having those dirs open in dolphin results in CPU being constantly consumed.
Comment 1 Harald Sitter 2020-03-04 14:03:15 UTC
Is this still a problem? With what version of libssh?

If it is still reproducible please try to gdb attach to one of the processes and catch it while it is doing something, although I expect that will be difficult to do on arch without debug symbols.

Unfortunately I cannot reproduce on my system.
Comment 2 Bug Janitor Service 2020-03-19 04:33:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2020-04-03 04:33:15 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!