Skip to content
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

MountManager::find called too often for the same entries #26702

Closed
PVince81 opened this issue Nov 23, 2016 · 41 comments
Closed

MountManager::find called too often for the same entries #26702

PVince81 opened this issue Nov 23, 2016 · 41 comments

Comments

@PVince81
Copy link
Contributor

Steps

  1. Login as admin "admin"
  2. Create two users "user1" and "user2"
  3. Create 50 folders: for I in $(seq 1 50); do curl -u admin:admin -X MKCOL "http://localhost/owncloud/remote.php/webdav/test$I"; done
  4. Share the 50 folders with "user1": for I in $(seq 1 50); do curl -u admin:admin -X POST "http://localhost/owncloud/ocs/v1.php/apps/files_sharing/api/v1/shares?format=json" --data "shareType=user&shareWith=user1&path=test$I"; done
  5. Add a debug log statement in Mount\Manager::find() to log the path
  6. Upload a file as user1: curl -D - -u user1:test -X PUT http://localhost/owncloud/remote.php/webdav/bacon.txt

Expected result

Call to MountManager::find only once per file/folder

Actual result

Repeated calls.

Versions

Observed on 9.0.6

This means we might need to optimize and/or cache some of the results.
Or find out why it's called that often...

My results:

{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"user1\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/testx\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test1\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test2\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test3\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test4\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test5\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test6\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test7\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test8\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test9\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test10\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test11\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test12\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test13\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test14\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test15\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test16\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test17\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test18\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test19\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test20\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test21\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test22\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test23\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test24\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test25\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test26\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test27\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test28\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test29\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test30\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test31\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test32\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test33\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test34\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test35\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test36\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test37\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test38\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test39\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test40\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test41\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test42\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test43\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test44\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test45\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test46\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test47\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test48\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test49\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/test50\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/cache\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/cache\/\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"admin\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/testx\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test1\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test2\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test3\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test4\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test5\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test6\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test7\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test8\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test9\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test10\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test11\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test12\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test13\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test14\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test15\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test16\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test17\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test18\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test19\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test20\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test21\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test22\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test23\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test24\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test25\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test26\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test27\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test28\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test29\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test30\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test31\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test32\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test33\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test34\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test35\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test36\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test37\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test38\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test39\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test40\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test41\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test42\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test43\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test44\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test45\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test46\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test47\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test48\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test49\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/admin\/files\/test50\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt.ocTransferId1544930612.part\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:07+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:08+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:08+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/thumbnails\/67\/\"","level":0,"time":"2016-11-23T14:17:08+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/thumbnails\/67\/\"","level":0,"time":"2016-11-23T14:17:08+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/thumbnails\/67\/\"","level":0,"time":"2016-11-23T14:17:08+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/thumbnails\/67\/\"","level":0,"time":"2016-11-23T14:17:08+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files_trashbin\"","level":0,"time":"2016-11-23T14:17:08+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/\"","level":0,"time":"2016-11-23T14:17:08+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:08+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:08+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:08+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}
{"reqId":"Q\/TviNjao2C4qbEGgruk","remoteAddr":"127.0.0.1","app":"DEBUG","message":"Mount\\Manager::find \"\/user1\/files\/bacon.txt\"","level":0,"time":"2016-11-23T14:17:08+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/bacon.txt","user":"user1"}

@butonic

@butonic
Copy link
Member

butonic commented Nov 23, 2016

@PVince81
Copy link
Contributor Author

I've extracted the paths from the entries, so it looks like this:

"user1"
"/user1/files/testx"
"/user1/files/test1"
"/user1/files/test2"
"/user1/files/test3"
"/user1/files/test4"
"/user1/files/test5"
"/user1/files/test6"
"/user1/files/test7"
"/user1/files/test8"
"/user1/files/test9"
"/user1/files/test10"
"/user1/files/test11"
"/user1/files/test12"
"/user1/files/test13"
"/user1/files/test14"
"/user1/files/test15"
"/user1/files/test16"
"/user1/files/test17"
"/user1/files/test18"
"/user1/files/test19"
"/user1/files/test20"
"/user1/files/test21"
"/user1/files/test22"
"/user1/files/test23"
"/user1/files/test24"
"/user1/files/test25"
"/user1/files/test26"
"/user1/files/test27"
"/user1/files/test28"
"/user1/files/test29"
"/user1/files/test30"
"/user1/files/test31"
"/user1/files/test32"
"/user1/files/test33"
"/user1/files/test34"
"/user1/files/test35"
"/user1/files/test36"
"/user1/files/test37"
"/user1/files/test38"
"/user1/files/test39"
"/user1/files/test40"
"/user1/files/test41"
"/user1/files/test42"
"/user1/files/test43"
"/user1/files/test44"
"/user1/files/test45"
"/user1/files/test46"
"/user1/files/test47"
"/user1/files/test48"
"/user1/files/test49"
"/user1/files/test50"
"/user1/cache"
"/user1/cache/"
"/user1"
"admin"
"/admin/files"
"/admin/files/testx"
"/admin/files"
"/admin/files/test1"
"/admin/files"
"/admin/files/test2"
"/admin/files"
"/admin/files/test3"
"/admin/files"
"/admin/files/test4"
"/admin/files"
"/admin/files/test5"
"/admin/files"
"/admin/files/test6"
"/admin/files"
"/admin/files/test7"
"/admin/files"
"/admin/files/test8"
"/admin/files"
"/admin/files/test9"
"/admin/files"
"/admin/files/test10"
"/admin/files"
"/admin/files/test11"
"/admin/files"
"/admin/files/test12"
"/admin/files"
"/admin/files/test13"
"/admin/files"
"/admin/files/test14"
"/admin/files"
"/admin/files/test15"
"/admin/files"
"/admin/files/test16"
"/admin/files"
"/admin/files/test17"
"/admin/files"
"/admin/files/test18"
"/admin/files"
"/admin/files/test19"
"/admin/files"
"/admin/files/test20"
"/admin/files"
"/admin/files/test21"
"/admin/files"
"/admin/files/test22"
"/admin/files"
"/admin/files/test23"
"/admin/files"
"/admin/files/test24"
"/admin/files"
"/admin/files/test25"
"/admin/files"
"/admin/files/test26"
"/admin/files"
"/admin/files/test27"
"/admin/files"
"/admin/files/test28"
"/admin/files"
"/admin/files/test29"
"/admin/files"
"/admin/files/test30"
"/admin/files"
"/admin/files/test31"
"/admin/files"
"/admin/files/test32"
"/admin/files"
"/admin/files/test33"
"/admin/files"
"/admin/files/test34"
"/admin/files"
"/admin/files/test35"
"/admin/files"
"/admin/files/test36"
"/admin/files"
"/admin/files/test37"
"/admin/files"
"/admin/files/test38"
"/admin/files"
"/admin/files/test39"
"/admin/files"
"/admin/files/test40"
"/admin/files"
"/admin/files/test41"
"/admin/files"
"/admin/files/test42"
"/admin/files"
"/admin/files/test43"
"/admin/files"
"/admin/files/test44"
"/admin/files"
"/admin/files/test45"
"/admin/files"
"/admin/files/test46"
"/admin/files"
"/admin/files/test47"
"/admin/files"
"/admin/files/test48"
"/admin/files"
"/admin/files/test49"
"/admin/files"
"/admin/files/test50"
"/user1/files"
"/user1/files"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt.ocTransferId1518870249.part"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/thumbnails/67/"
"/user1/thumbnails/67/"
"/user1/thumbnails/67/"
"/user1/thumbnails/67/"
"/user1/files_trashbin"
"/user1/files/"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"
"/user1/files/bacon.txt"

@PVince81
Copy link
Contributor Author

@PVince81 add a break after https://github.com/owncloud/core/blob/master/lib/private/Files/Mount/Manager.php#L82

This will break the logic. The purpose of the loop is to find the longest match.
If you add a break it will find the wrong mount in case of paths with multiple sections.

@PVince81
Copy link
Contributor Author

Now wondering if that "longest match" logic even makes sense here...

@PVince81
Copy link
Contributor Author

It was also said in the past that strlen is slow in PHP (or at least older versions) and it could be made faster by using isset when possible...

@PVince81
Copy link
Contributor Author

A possible alternative implementation for longest match would be to have all mount points stored in an array as keys. Then iterate over the path sections of $path.

So if $path is "test/sub1/sub2" we probe the mounts list and remove the last section every time. This would probe the following:

  • /test/sub1/sub2
  • /test/sub1
  • /test
  • /

@PVince81
Copy link
Contributor Author

The number of iterations would then depend on the number of path subsections instead of the number of registered mounts.

Should we try this out ? (I hope there are unit tests to confirm that it still works...)

@mrow4a
Copy link
Contributor

mrow4a commented Dec 6, 2016

Hope this will be usefull:

Average results from 3 tests -> owncloud/smashbox#152.

This test will create, sync & share n files in the root directory. For each single file, it will execute sync(PROPFIND&PUT) and after that, share.

These are results for oc82 and oc90, I enabled the same apps there:

selection_084

@felixboehm @butonic

@mrow4a
Copy link
Contributor

mrow4a commented Dec 6, 2016

For oc90, both sync and share raises faster, look 1st and last requests values on y axis

@felixboehm
Copy link
Contributor

9.0 shows increasing share request duration with n.
Larger n to check linearity?

How are the Sync / Propfind times of the share receiver with n?

@mrow4a
Copy link
Contributor

mrow4a commented Dec 6, 2016

In this test, share receiver just checks consistensy, he just receives files at the end. I can increase N to 1000 or 10000 if you like, it is automatised test

@felixboehm
Copy link
Contributor

Receivers Propfind performance would be very interesting

@mrow4a
Copy link
Contributor

mrow4a commented Dec 6, 2016

Ok, now I get the problem. I will insert statistic both for sender and receiver of the share, for N create&sync&share. After the exam tomorrow, because will need to modify the script a little to log more things, so that I can "grep" it later.

@PVince81
Copy link
Contributor Author

Any feedback on my proposed approach #26702 (comment) ?

@mrow4a
Copy link
Contributor

mrow4a commented Dec 12, 2016

Hmm, Maybe a B-Tree of paths? It will be a little bit of code, but fast :)

@mrow4a
Copy link
Contributor

mrow4a commented Dec 12, 2016

But if this is only to be used once, I think array might work.

@PVince81
Copy link
Contributor Author

Ok, I'll have a try with the linear approach then and let you test it again.
Unless you want to give it a try yourself @mrow4a ?

@mrow4a
Copy link
Contributor

mrow4a commented Dec 12, 2016

I have other task plus univ now, go for it.

@PVince81 PVince81 self-assigned this Dec 12, 2016
@PVince81 PVince81 added this to the 9.0.8 milestone Dec 12, 2016
@PVince81
Copy link
Contributor Author

Will do, thanks

@mrow4a
Copy link
Contributor

mrow4a commented Dec 12, 2016

Can you also sort it? This might amortize the search criticaly, when you check next string to be conmpletely different, it means you have longest match. But still, not sure if you can have it sorted while creating.

@PVince81
Copy link
Contributor Author

Hmm, I thought these were already sorted alphabetically. That's why there's code to reverse the array to have a reverse sort. Will have to recheck.

@mrow4a
Copy link
Contributor

mrow4a commented Dec 12, 2016

But do you get the idea of sorting? If you sort, you at max have to to that operation n times as it is now, and at minimum 1. Because if you have a match, you save it, check next, OHH, completely different, have longest match.

@butonic
Copy link
Member

butonic commented Dec 12, 2016

regarding #26702 (comment):
This sounds like an fstab like table to me, see #26190

But maybe I am not familiar enough with the fs code ...

@PVince81
Copy link
Contributor Author

Ah, the sorting I was thinking about is elsewhere. I suppose there might also be a bottleneck there: https://github.com/owncloud/core/blob/v9.0.4/lib/private/files/view.php#L1661 (getPathById which is used more and more often nowadays)

@PVince81
Copy link
Contributor Author

@PVince81
Copy link
Contributor Author

This sounds like an fstab like table to me,

Yes, this is a local table in memory. If one day we have the in-DB FSTAB implementation then either the search will be done directly on the DB or in a local cached table like here after loading it into memory.

@PVince81
Copy link
Contributor Author

PR here: #26813

@felixboehm
Copy link
Contributor

Should we retest performance with this PR? @PVince81 @mrow4a

@PVince81
Copy link
Contributor Author

Yes, please. Already asked in the PR.

@mrow4a
Copy link
Contributor

mrow4a commented Dec 13, 2016

Unfortunetely, PR does not change anything from smashbox perspective - Patch did not change anything visible actualy, will check with blackfire.

@PVince81
Copy link
Contributor Author

@mrow4a can you double check that the patch was actually applied ?

If yes, one additional thing we could try is caching the search results after we found them.

@felixboehm
Copy link
Contributor

@PVince81 @mrow4a Ok, what next?

  • Retest?
  • Blackfire?

Please add exact docs for how you tested this, so we can reproduce measurements.

@mrow4a
Copy link
Contributor

mrow4a commented Dec 20, 2016

In the next moment I will blackfire sharing generaly. The amount of calculations in memory will not matter unless they perform a query to the database. It doesnt seem to be case here. I will research the sharing topic further, finding where the query is being issued and how many times.

@PVince81
Copy link
Contributor Author

The amount of calculations in memory will not matter unless they perform a query to the database

Is that so ? If a function is called a million times for nothing outside the DB, it is also likely that it will waste a lot of time. Let's see what your blackfire result says anyway.

@mrow4a
Copy link
Contributor

mrow4a commented Dec 21, 2016

The amount of calculations in memory will not matter unless they perform a query to the database

Is that so ? If a function is called a million times for nothing outside the DB, it is also likely that it will waste >a lot of time. Let's see what your blackfire result says anyway.

Surely it matters. I have just been talking that it will not matter in 10-100 shares scale so it will be that visible, refering to previous post with the smashbox test.

@PVince81
Copy link
Contributor Author

Summary of investigation:

  • perf degraded from 8.2.9 to 9.0.7 due to the introduction of oc_mounts table and the logic to populate it (required for resolving file ids back to user ids for features like autotagging)
  • perf improved a bit again from 9.0.7 to 9.1.3 (actually 9.1.0 to 9.1.3) by introducing even more laziness in the shared storage code (aka shared storage recursion hell): [stable9.1] Fix sharedstorage recursion hell #25789

That PR is not backportable but I'll see if some smaller pieces of it could already improve performance of 9.0 to be like 9.1.

Not sure if this is in any way related to MountManager::find though.

@PVince81
Copy link
Contributor Author

New PR here that backports some pieces of code that introduce lazy retrieval of storage id + root file id of shared storages: #26912
This does improve performance a lot but I need to make sure this doesn't introduce the recursion regression that the full PR #25789 fixes.

@PVince81
Copy link
Contributor Author

PR is ready for testing: #26912

@PVince81
Copy link
Contributor Author

PR is merged

@PVince81
Copy link
Contributor Author

PVince81 commented Feb 3, 2017

I'm closing this for now. Please reopen if it still happens with 9.0.8.

@lock
Copy link

lock bot commented Jul 31, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants