-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SFTP Performance slow and Connection buggy #5668
Comments
Performance issue seems to be a generic php problem: apps/files_external/3rdparty/icewind/streams and icewind1991/Streams
|
is there any update available? |
Able to reproduce this exact behavior, including speeds and the download that doesn't stop when cancelled in browser. Server configurationOperating system: Debian Stretch (9.8) Signing status`No errors have been found.`List of activated apps: App list``` Enabled: - accessibility: 1.1.0 - activity: 2.8.2 - admin_audit: 1.5.0 - apporder: 0.6.0 - audioplayer: 2.6.1 - auto_mail_accounts: 0.1.3 - calendar: 1.6.4 - camerarawpreviews: 0.6.5 - checksum: 0.4.2 - cloud_federation_api: 0.1.0 - comments: 1.5.0 - contacts: 3.0.5 - dav: 1.8.1 - federatedfilesharing: 1.5.0 - federation: 1.5.0 - files: 1.10.0 - files_downloadactivity: 1.4.0 - files_external: 1.6.0 - files_markdown: 2.0.5 - files_mindmap: 0.0.11 - files_pdfviewer: 1.4.0 - files_rightclick: 0.11.1 - files_sharing: 1.7.0 - files_texteditor: 2.7.0 - files_trackdownloads: 1.4.0 - files_trashbin: 1.5.0 - files_versions: 1.8.0 - files_videoplayer: 1.4.0 - firstrunwizard: 2.4.0 - flowupload: 0.0.9 - gallery: 18.2.0 - group_everyone: 0.1.1 - logreader: 2.0.0 - lookup_server_connector: 1.3.0 - mail: 0.11.0 - metadata: 0.9.0 - nextcloud_announcements: 1.4.0 - notes: 2.5.1 - notifications: 2.3.0 - oauth2: 1.3.0 - password_policy: 1.5.0 - previewgenerator: 2.1.0 - provisioning_api: 1.5.0 - quota_warning: 1.4.0 - radio: 0.6.4 - serverinfo: 1.5.0 - sharebymail: 1.5.0 - sharerenamer: 2.5.0 - spreed: 5.0.2 - support: 1.0.0 - survey_client: 1.3.0 - systemtags: 1.5.0 - theming: 1.6.0 - twofactor_backupcodes: 1.4.1 - twofactor_totp: 2.1.2 - updatenotification: 1.5.0 - user_backend_sql_raw: 1.0.6 - w2g2: 2.2.4 - workflowengine: 1.5.0 Disabled: - encryption - user_ldap ```Nextcloud configuration: Config report
Are you using external storage, if yes which one: sftp Are you using encryption: no Are you using an external user-backend, if yes which one: Raw SQL User Backend. Shouldn't matter for this issue. It's merely used for having a Nextcloud account for each user of my mail server, which does not interfere with SFTP speeds at all. |
Experiencing this as well when mouting a remote SFTP... I'm connecting from my dedicated web server to my home NAS (and I've got gigabit fiber at home). Server configuration Server configuration detailOperating system: Linux 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 Webserver: Apache (fpm-fcgi) Database: mysql 10.1.40 PHP version: 7.3.5 Modules loaded: Core, date, libxml, openssl, pcre, zlib, bz2, calendar, ctype, hash, filter, ftp, gettext, gmp, SPL, iconv, Reflection, session, standard, SimpleXML, sockets, mbstring, tokenizer, xml, cgi-fcgi, mysqlnd, bcmath, curl, dba, dom, enchant, fileinfo, gd, imagick, imap, intl, json, ldap, exif, mysqli, odbc, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, redis, soap, sodium, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, xmlreader, xmlrpc, xmlwriter, xsl, zip, ionCube Loader, Zend OPcache Nextcloud version: 16.0.1 - 16.0.1.1 Updated from an older Nextcloud/ownCloud or fresh install: Where did you install Nextcloud from: unknown Signing statusArray
) List of activated apps
Configuration (config/config.php)
External storages: yes External storage configuration
Encryption: no User-backends:
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0 |
This comment has been minimized.
This comment has been minimized.
This issue is definitely still happening, and I am still resorting to mounting filesystems via sshfs and then mounting them as local filesystem (as admin) in order to have file listings not be slowed down to a crawl. |
This comment has been minimized.
This comment has been minimized.
definitely can confirm this is still a problem |
Issue still occurs in 20.0.2. SFTP is not usable for me because of it. |
@SimplyCorbett I've given up hope on this issue ever being resolved, and instead created on-demand sshfs mounts for "local" external storage for each user. |
sshfs is also my current solution. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I'm unable to reproduce the performance issue with NC26 today. A fair number of things have changed, including in two third-party modules that would relate to this. If you're no longer experiencing this issue, please comment so we know. And if you're still experiencing the performance issue can you provide:
|
Closing due to no further updates/reports received >1 year. |
Steps to reproduce
Expected behaviour
fast download speed (about 40mb/s with commandline tool sftp), server stops downloading file from external sftp share, when user cancels file download
Actual behaviour
slow download speed (about 3.5mb/s), server does not stop downloading file from external sftp share, when user canceled file download
Server configuration
Operating system: Debian Stretch
Web server: Apache 2.4.25
Database: Mariadb 10.1.23
PHP version: Php 7.0.19
Nextcloud version: 12.0.0
Updated from an older Nextcloud/ownCloud or fresh install: Updated from Owncloud 9 to Nextcloud
Where did you install Nextcloud from: directly from website
Signing status:
Signing status
No errors have been found.List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: sftp
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
This issue was already discussed in the forum, but no issue was raised.
https://help.nextcloud.com/t/incredibly-slow-performance-with-sftp/4218/6
The text was updated successfully, but these errors were encountered: