[kio-extras] [Bug 376301] New: sftp.so not closing connections when ProxyCommand is configured

Andreas bugzilla_noreply at kde.org
Fri Feb 10 17:12:05 UTC 2017


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

            Bug ID: 376301
           Summary: sftp.so not closing connections when ProxyCommand is
                    configured
           Product: kio-extras
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: NOR
         Component: default
          Assignee: plasma-devel at kde.org
          Reporter: bodozoglou at gmail.com
  Target Milestone: ---

It seems that sftp.so + dolphin is not closing _any_ connections when
ProxyCommand is configured in ~/.ssh/config. This made many people angry when
they realized I have 800+ sessions on a jumphost making it not responsive (a
lot)

My config:


Host *
    ServerAliveInterval 60

Host *__
    ProxyCommand ssh %r at jump.host.com -q -W $(echo %h | sed 's/__//g'):%p


Steps to reproduce:

1. Use the above config (any host ending with "__" goes through jumphost)
2. sftp://user@host__ to use the jumphost
3. Close and reopen dolphin and reconnect to the host
4. Do a `ps aux | grep ssh` to see connection

I have also used netstat to track connections and every time we reconnect more
connections are added to the list... (ESTABLISHED state, no connections in
TIME_WAIT)

System info:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:        16.04
Codename:       xenial

$ uname -a
Linux urban-kde 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux

$ dpkg -l | grep kio
ii  kde-cli-tools-data                              4:5.5.5-0ubuntu1.1         
               all          tools to use kioslaves from the command line
ii  kde-zeroconf                                    4:15.12.3-0ubuntu1         
               amd64        zeroconf plugins and kio slaves for KDE
ii  kdemultimedia-kio-plugins                       4:15.12.3-0ubuntu1         
               all          transitional package for kio-audiocd
ii  kdepimlibs-kio-plugins                          4:15.12.3-0ubuntu1         
               amd64        kio slaves used by KDE PIM applications
ii  kio                                             5.18.0-0ubuntu1            
               amd64        Resource and network access abstraction.
ii  kio-audiocd                                     4:15.12.3-0ubuntu1         
               amd64        transparent audio CD access for applications using
the KDE Platform
ii  kio-extras                                      4:15.12.3-0ubuntu1         
               amd64        Extra functionality for kioslaves.
ii  kio-extras-data                                 4:15.12.3-0ubuntu1         
               all          Extra functionality for kioslaves data files.
ii  kio-mtp                                         0.75+git20140304-2         
               amd64        access to MTP devices for applications using the
KDE Platform
ii  libkf5kiocore5:amd64                            5.18.0-0ubuntu1            
               amd64        Resource and network access abstraction.
ii  libkf5kiofilewidgets5:amd64                     5.18.0-0ubuntu1            
               amd64        Resource and network access abstraction.
ii  libkf5kiontlm5:amd64                            5.18.0-0ubuntu1            
               amd64        Resource and network access abstraction.
ii  libkf5kiowidgets5:amd64                         5.18.0-0ubuntu1            
               amd64        Resource and network access abstraction.
ii  libkio5                                         4:4.14.16-0ubuntu3         
               amd64        Network-enabled File Management Library for the KDE
Platform
ii  qml-module-org-kde-kio:amd64                    5.18.0-0ubuntu1            
               amd64        provides integration of QML and KDE Frameworks -
kio

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Plasma-devel mailing list