Closed ManOki closed 2 months ago
Performance issue seems to be a generic php problem: apps/files_external/3rdparty/icewind/streams and icewind1991/Streams
php's internal buffer size (8192 on default)
is there any update available?
Able to reproduce this exact behavior, including speeds and the download that doesn't stop when cancelled in browser.
Operating system: Debian Stretch (9.8) Web server: nginx 1.10.3 Database: PostgreSQL 9.6.11 PHP version: 7.3.3 Nextcloud version: 15.0.5 Updated from an older Nextcloud/ownCloud or fresh install: Updated from NC 14 Where did you install Nextcloud from: Nextcloud's website Signing status:
List of activated apps:
Nextcloud configuration:
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... There seem to be no usable secure remote conneciton at the moment, this issue's priority should be increased. FTP won't show any files, and FTPS isn't able to ignore TLS certificates. Last resort for me as a workaround will be VPN + SMB, or VPN + NFS, or maybe SSHFS but then it'll be a pain for permissions...
I'm connecting from my dedicated web server to my home NAS (and I've got gigabit fiber at home). I am observing around 3mbit/s download from Nextcloud on mounted SFTP files. If running multiple downloads at the same time, then I'm getting multiple times 3mbit/s, so it's a "per instance" limit.
Server configuration Operating system: CentOS 7.6.1810 (running Plesk 17.8) Web server: nginx Apache/2.4.6 Database: Distrib 10.1.40-MariaDB PHP version: 7.3.5 Nextcloud version: 16.0.1 Where did you install Nextcloud from: Installed via Plesk Extension
Operating 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
External storages: yes
Encryption: no
User-backends:
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
As the version of the software you've reported this for has reached end of life, I will close this ticket. If this is still happening after an upgrade to the latest version, feel free to reopen
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.
Thank you @kescherCode :)
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.
@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.
Lets track this in https://github.com/nextcloud/viewer/issues/894 (is probably the same underlaying issue)
No. Entirely separate issue. Not the same at all.
Yes, it is the same since the filesystem doesn't stop the loading from the storage when the connection is closed.
@szaimen Still not even close to being the same issue. The performance of downloading a single file via an SFTP external share is capped at 128 kbps for me. Without any previews being generated or other nonsense. If I do the same using sshfs and add it as a local external share, the performance is in the Gbps range as it should.
That is something that is tracked in this issue.
Ah okay, Sry must have misread the issue.
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:
nextcloud.log
entries from the period where you do the test download Closing due to no further updates/reports received >1 year.
Signing status
No errors have been found.App list
``` Enabled: - activity: 2.5.2 - admin_audit: 1.2.0 - audioplayer: 2.0.2 - calendar: 1.5.3 - checksum: 0.3.4 - circles: 0.11.0 - comments: 1.2.0 - contacts: 1.5.3 - dav: 1.3.0 - external: 2.0.3 - federatedfilesharing: 1.2.0 - federation: 1.2.0 - files: 1.7.2 - files_external: 1.3.0 - files_pdfviewer: 1.1.1 - files_retention: 1.1.2 - files_sharing: 1.4.0 - files_texteditor: 2.4.1 - files_versions: 1.5.0 - files_videoplayer: 1.1.0 - gallery: 17.0.0 - groupfolders: 1.1.0 - impersonate: 1.0.1 - keeweb: 0.4.0 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - notifications: 2.0.0 - oauth2: 1.0.5 - password_policy: 1.2.2 - previewgenerator: 1.0.6 - provisioning_api: 1.2.0 - serverinfo: 1.2.0 - sharebymail: 1.2.0 - spreed: 2.0.1 - survey_client: 1.0.0 - systemtags: 1.2.0 - tasks: 0.9.5 - theming: 1.3.0 - twofactor_backupcodes: 1.1.1 - updatenotification: 1.2.0 - user_external: 0.4 - workflowengine: 1.2.0 Disabled: - bruteforcesettings - encryption - files_trashbin - firstrunwizard - nextcloud_announcements - user_ldap ```Config report
``` { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "12.0.0.29", "updatechecker": false, "dbname": "owncloud", "dbhost": "localhost", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "forcessl": true, "trusted_domains": [ "***REMOVED SENSITIVE VALUE***", "***REMOVED SENSITIVE VALUE***", "***REMOVED SENSITIVE VALUE***" ], "loglevel": 3, "logtimezone": "UTC", "secret": "***REMOVED SENSITIVE VALUE***", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "trashbin_retention_obligation": "auto", "memcache.local": "\\OC\\Memcache\\Redis", "redis": { "host": "localhost", "port": 6379 }, "memcache.locking": "\\OC\\Memcache\\Redis", "enable_previews": true, "preview_max_filesize_image": -1, "preview_libreoffice_path": "\/usr\/bin\/libreoffice", "preview_office_cl_parameters": " --headless --nologo --nofirststartwizard --invisible --norestore -convert-to pdf -outdir ", "enabledPreviewProviders": [ "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\MP3", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown", "OC\\Preview\\Illustrator", "OC\\Preview\\Movie", "OC\\Preview\\MSOffice2003", "OC\\Preview\\MSOffice2007", "OC\\Preview\\MSOfficeDoc", "OC\\Preview\\OpenDocument", "OC\\Preview\\PDF", "OC\\Preview\\Photoshop", "OC\\Preview\\Postscript", "OC\\Preview\\StarOffice", "OC\\Preview\\SVG", "OC\\Preview\\TIFF", "OC\\Preview\\Font" ], "mail_smtpmode": "smtp", "mail_smtpsecure": "tls", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "openmailbox.org", "mail_smtpauth": 1, "mail_smtphost": "smtp.openmailbox.org", "mail_smtpport": "587", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpauthtype": "LOGIN", "maintenance": false, "theme": "", "htaccess.RewriteBase": "\/nextcloud", "overwritewebroot": "\/nextcloud", "updater.release.channel": "stable", "auth.bruteforce.protection.enabled": false } } ```