Slow Access on DFS Shares

Hi,
I’ve got an official VM from TechandMe.se with nextcloud 10.
I’ve configured the LDAP Plugin to get the users from Active Directory and external storage with a dfs share on Windows Server.
Everything is working fine, but if I connect to the external storage fetching of the smb directorys and files is really slow. If is there a large number of subdirs its about 20-30 seconds. Hardware Specs for Nextcloud is 8 CPUs and 8 GB RAM connected over Gbit. The Fileserver has 4 CPUs and 4 GB RAM.

If its not accurate enough explained please tell me, I will do my best to make it more accurate.

Thanks in advance!

Did you have a look into your logfiles (/path/to/nextcloud/data/nextcloud.log)? Also try to install the latest update to 10.0.1 which contains a number of bugfixes.

I did the update to 10.0.1. Unfortunately there is no improvement.
Attached is the last extract from the nextcloud.log after the upgrade
{“reqId”:“us4FKgNWzfUglXlDVGZw”,“remoteAddr”:"",“app”:“user_ldap”,“message”:“Ready for a paged search”,“level”:0,“time”:“2016-10-10T07:29:56+00:00”,“method”:"–",“url”:"–",“user”:"–"}
{“reqId”:“us4FKgNWzfUglXlDVGZw”,“remoteAddr”:"",“app”:“user_ldap”,“message”:“readAttribute: cn=,ou=,ou=,ou=,dc=,dc=**** found",“level”:0,“time”:“2016-10-10T07:29:56+00:00”,“method”:"–",“url”:"–",“user”:"–"}
{“reqId”:“us4FKgNWzfUglXlDVGZw”,“remoteAddr”:"",“app”:“user_ldap”,“message”:"initializing paged search for Filter objectClass=* base Array\n(\n [0] => cn=
,ou=,ou=
,ou=,dc=,dc=\n)\n attr Array\n(\n [0] => displayname\n)\n limit 500 offset 0",“level”:0,“time”:“2016-10-10T07:29:56+00:00”,“method”:"–",“url”:"–",“user”:"–"}
{“reqId”:“us4FKgNWzfUglXlDVGZw”,“remoteAddr”:"",“app”:“user_ldap”,“message”:“Ready for a paged search”,“level”:0,“time”:“2016-10-10T07:29:56+00:00”,“method”:"–",“url”:"–",“user”:"–"}
{“reqId”:“us4FKgNWzfUglXlDVGZw”,“remoteAddr”:"",“app”:“user_ldap”,“message”:"initializing paged search for Filter (&(|(objectclass=person))(|(|(memberof=CN=
,CN=Users,DC=,DC=)(primaryGroupID=512))(|(memberof=CN=s,CN=Users,DC=,DC=)(primaryGroupID=513)))) base Array\n(\n [0] => cn=,ou=,ou=,ou=,dc=,dc=\n)\n attr Array\n(\n [0] => \n)\n limit 500 offset 0",“level”:0,“time”:“2016-10-10T07:29:56+00:00”,“method”:"–",“url”:"–",“user”:"–"}
{“reqId”:“us4FKgNWzfUglXlDVGZw”,“remoteAddr”:"",“app”:“user_ldap”,“message”:“Ready for a paged search”,“level”:0,“time”:“2016-10-10T07:29:56+00:00”,“method”:"–",“url”:"–",“user”:"–"}
{“reqId”:“us4FKgNWzfUglXlDVGZw”,“remoteAddr”:"",“app”:“user_ldap”,“message”:"readAttribute: cn=,ou=
,ou=
,ou=,dc=,dc= found",“level”:0,“time”:“2016-10-10T07:29:56+00:00”,“method”:"–",“url”:"–",“user”:"–"}
{“reqId”:“e2Kkq36UvdjZh7r2UjNu”,“remoteAddr”:"",“app”:“cli”,“message”:“Memcache \OC\Memcache\Redis not available for local cache”,“level”:1,“time”:“2016-10-10T07:30:01+00:00”,“method”:"–",“url”:"–",“user”:"–"}
{“reqId”:“e2Kkq36UvdjZh7r2UjNu”,“remoteAddr”:"",“app”:“cli”,“message”:“Memcache \OC\Memcache\Redis not available for distributed cache”,“level”:1,“time”:“2016-10-10T07:30:01+00:00”,“method”:"–",“url”:"–",“user”:"–"}
{“reqId”:“e2Kkq36UvdjZh7r2UjNu”,“remoteAddr”:"",“app”:“cron”,“message”:“Update required, skipping cron”,“level”:0,“time”:“2016-10-10T07:30:01+00:00”,“method”:"–",“url”:"–",“user”:"–"}
{“reqId”:“gGXhC50ZSTp1XrJyR6xQ”,“remoteAddr”:“172.18.1.199”,“app”:“remote”,“message”:“Downgrading is not supported and is likely to cause unpredictable issues (from 9.1.1.5 to 9.1.0.16)”,“level”:4,“time”:“2016-10-10T07:30:10+00:00”,“method”:“GET”,“url”:"/status.php",“user”:"
----*”}

@icewind can you help out with external storage?

Hi, i also have the issue here at our company.

No real messages in the logs, but extreme slow listing of SMB folders in the online environment.

Hi @TeJay cann show me how you configure external storage with a dfs share on Windows Server