[dolphin] [Bug 460141] New: Dolphin using fish/sftp opens too many connections (I think)

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sun Oct 9 04:22:37 BST 2022


https://bugs.kde.org/show_bug.cgi?id=460141

            Bug ID: 460141
           Summary: Dolphin using fish/sftp opens too many connections (I
                    think)
    Classification: Applications
           Product: dolphin
           Version: unspecified
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: brenbarn at brenbarn.net
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
I'm trying to use Dolphin to browse a remote system via the fish protocol (or
sftp).  I can usually browse for a short time, then it will get stuck
"loading".  Dolphin itself remains responsive but it seems to lose the
connection and doesn't show the directory listing.  In addition, this seems to
have a wider impact on the server itself, so that for instance I can no longer
ssh in to that server as the same user I was using to browse with Dolphin.

I don't have root access on that server, but by looking at connection info and
following up on suggestions from others, I have noticed that Dolphin seems to
open many simultaneous ssh connections to the remote system, even just for a
single directory listing.  The server apparently has some kind of limit on
simultaneous logins or number of logins within a specified time, and when the
limit is reached, it locks that account out for some time (maybe until the
existing connections timeout and are dropped).

STEPS TO REPRODUCE
1. Find some server that doesn't like having the same user log in multiple
times in quick succession.
2. Visit fish://that.server.com in Dolphin to log in to that server and browse
around.  (Or try sftp://)
3. Watch as your Dolphin session becomes stuck, unable to load directory
listings.

OBSERVED RESULT
Dolphin gets stuck "loading" and eventually times out and locks your user out.

EXPECTED RESULT
Dolphin should be able to browse remote servers without problems.  It shouldn't
need to open multiple connections.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
I'm not sure whether this bug is really with the fish/sftp kioslaves, or with
the way Dolphin is using them.  I'm reporting it here because I notice the
behavior in Dolphin.

I don't really get why Dolphin feels the need to open multiple connections by
the same user to the same host.  It should do like "regular" FTP programs like
FileZilla do, and just open one connection and keep that connection alive as
long as that remote server is open in Dolphin.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list