cap the number of entries we cache in smb's statcache #21648

Merged
merged 1 commit into from Jan 13, 2016

Projects

None yet

7 participants

@icewind1991
Member

Make sure we don't eat all the memory when doing a large number of fs actions (file scanner)

Currently only for the smb backend but can easily be used for the other storage backends

cc @PVince81

@icewind1991 icewind1991 cap the number of entries we cache in smb's statcache
d8d6368
@icewind1991 icewind1991 added this to the 9.0-current milestone Jan 12, 2016
@mention-bot

By analyzing the blame information on this pull request, we identified @DeepDiver1975, @PVince81, @fmms and @Xenopathic to be potential reviewers

@PVince81
Collaborator

Nice 👍

CC @jmaciasportela

@jmaciasportela
Contributor

👍

@PVince81
Collaborator

@karlitschek backport to 8.2 and 8.1 ?
Fixes out of memory errors in occ files:scan with big installs, often used as workaround for remote update detection.

@PVince81 PVince81 referenced this pull request Jan 12, 2016
Open

Improve ext storage performance with stat cache [$5] #7910

4 of 8 tasks complete
@karlitschek
Member

Please backport 👍

@icewind1991
Member
@DeepDiver1975 DeepDiver1975 merged commit 5565b19 into master Jan 13, 2016

20 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
core-ci-linux-jsunit/database=sqlite,label=SLAVE Build #56586 succeeded in 2 min 41 sec
Details
core-ci-linux-swift-primary-storage/database=mysql,label=SLAVE Build #50085 succeeded in 12 min
Details
core-ci-linux/database=mysql,label=SLAVE Build #25064 succeeded in 16 min
Details
core-ci-linux/database=oci,label=SLAVE Build #25064 succeeded in 36 min
Details
core-ci-linux/database=pgsql,label=SLAVE Build #25063 succeeded in 16 min
Details
core-ci-linux/database=sqlite,label=SLAVE Build #25064 succeeded in 8 min 37 sec
Details
ocs-api-integration-tests-ci Build #5973 succeeded in 3 min 56 sec
Details
server-master-linux-externals-ci/database=sqlite,external=smb-silvershell,label=SLAVE Build #5761 succeeded in 2 min 10 sec
Details
server-master-linux-externals-ci/database=sqlite,external=swift-ceph,label=SLAVE Build #5761 succeeded in 9 min 13 sec
Details
server-master-linux-externals-ci/database=sqlite,external=webdav-ownCloud,label=SLAVE Build #5761 succeeded in 5 min 24 sec
Details
server-master-linux-externals-smb-windows-ext-ci/database=sqlite,external=smb-windows,label=master Build #5944 succeeded in 2 min 17 sec
Details
server-master-linux-php7-ci/database=sqlite,label=SLAVE Build #32991 succeeded in 2 min 6 sec
Details
smashbox-on-docker-ci/DOCKER_IMAGE=ubuntu_oc_lamp-git,TEST_NAME=litmus,mirallBranch=v2.0.2,slave=SMASH Build #10250 succeeded in 4 min 37 sec
Details
smashbox-on-docker-ci/DOCKER_IMAGE=ubuntu_oc_lamp-git,TEST_NAME=test_basicSync@0,mirallBranch=v2.0.2,slave=SMASH Build #10250 succeeded in 14 min
Details
smashbox-on-docker-ci/DOCKER_IMAGE=ubuntu_oc_lamp-git,TEST_NAME=test_basicSync@1,mirallBranch=v2.0.2,slave=SMASH Build #10250 succeeded in 12 min
Details
smashbox-on-docker-ci/DOCKER_IMAGE=ubuntu_oc_lamp-git,TEST_NAME=test_shareLink,mirallBranch=v2.0.2,slave=SMASH Build #10250 succeeded in 10 min
Details
smashbox-on-docker-ci/DOCKER_IMAGE=ubuntu_oc_lamp-git,TEST_NAME=test_sharePermissions,mirallBranch=v2.0.2,slave=SMASH Build #10250 succeeded in 28 min
Details
smashbox-on-docker-ci/DOCKER_IMAGE=ubuntu_oc_lamp-git,TEST_NAME=test_sharePropagationGroups,mirallBranch=v2.0.2,slave=SMASH Build #10250 succeeded in 16 min
Details
smashbox-on-docker-ci/DOCKER_IMAGE=ubuntu_oc_lamp-git,TEST_NAME=test_sharePropagationInsideGroups,mirallBranch=v2.0.2,slave=SMASH Build #10250 succeeded in 18 min
Details
@DeepDiver1975 DeepDiver1975 deleted the smb-statcache-cap branch Jan 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment