[stable9] Use a capped memory cache for the user/group cache #24958

Merged
merged 1 commit into from Jun 2, 2016

Projects

None yet

5 participants

@rullzer
Contributor
rullzer commented Jun 1, 2016

Backport of #24869

For #24403
When upgrading huge installations this can lead to memory problems as
the cache will only grow and grow.

Capping this memory will make sure we don't run out while during normal
operation still basically cache everything.

CC: @PVince81 @nickvergessen
@karlitschek for approval

@rullzer rullzer Use a capped memory cache for the user/group cache
For #24403
When upgrading huge installations this can lead to memory problems as
the cache will only grow and grow.

Capping this memory will make sure we don't run out while during normal
operation still basically cache everything.
0efe3ba
@rullzer rullzer added this to the 9.0.3-current-maintenance milestone Jun 1, 2016
@mention-bot

By analyzing the blame information on this pull request, we identified @blizzz, @leo-b and @alexweirig to be potential reviewers

@rullzer rullzer changed the title from Use a capped memory cache for the user/group cache to [stable9] Use a capped memory cache for the user/group cache Jun 1, 2016
@karlitschek
Member

backport makes sense 👍

@nickvergessen
Contributor

👍

@PVince81 PVince81 merged commit afe8ee0 into stable9 Jun 2, 2016

19 checks passed

cla-bot-core Build #4591 succeeded in 10 sec
Details
continuous-integration/php-5.4 Build #4510 succeeded in 3 min 12 sec
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
core-ci-linux-swift-primary-storage/database=mysql,label=SLAVE Build #56959 succeeded in 9 min 3 sec
Details
core-ci-linux/database=mysql,label=SLAVE Build #31383 succeeded in 9 min 14 sec
Details
core-ci-linux/database=oci,label=SLAVE Build #31383 succeeded in 22 min
Details
core-ci-linux/database=pgsql,label=SLAVE Build #31383 succeeded in 18 min
Details
core-ci-linux/database=sqlite,label=SLAVE Build #31383 succeeded in 5 min 2 sec
Details
ocs-api-integration-tests-ci Build #11290 succeeded in 7 min 22 sec
Details
server-master-linux-externals-ci/database=sqlite,external=smb-silvershell,label=SLAVE Build #10832 succeeded in 1 min 31 sec
Details
server-master-linux-externals-ci/database=sqlite,external=webdav-ownCloud,label=SLAVE Build #10832 succeeded in 3 min 19 sec
Details
server-master-linux-externals-smb-windows-ext-ci/database=sqlite,external=smb-windows,label=master Build #21138 succeeded in 3 min 12 sec
Details
smashbox-on-docker-ci/DOCKER_IMAGE=ubuntu_oc_lamp-git,TEST_NAME=litmus,mirallBranch=v2.0.2,slave=SMASH Build #15192 succeeded in 4 min 29 sec
Details
smashbox-on-docker-ci/DOCKER_IMAGE=ubuntu_oc_lamp-git,TEST_NAME=test_basicSync@0,mirallBranch=v2.0.2,slave=SMASH Build #15192 succeeded in 6 min 19 sec
Details
smashbox-on-docker-ci/DOCKER_IMAGE=ubuntu_oc_lamp-git,TEST_NAME=test_basicSync@1,mirallBranch=v2.0.2,slave=SMASH Build #15192 succeeded in 8 min 8 sec
Details
smashbox-on-docker-ci/DOCKER_IMAGE=ubuntu_oc_lamp-git,TEST_NAME=test_shareLink,mirallBranch=v2.0.2,slave=SMASH Build #15192 succeeded in 24 min
Details
smashbox-on-docker-ci/DOCKER_IMAGE=ubuntu_oc_lamp-git,TEST_NAME=test_sharePermissions,mirallBranch=v2.0.2,slave=SMASH Build #15192 succeeded in 19 min
Details
smashbox-on-docker-ci/DOCKER_IMAGE=ubuntu_oc_lamp-git,TEST_NAME=test_sharePropagationGroups,mirallBranch=v2.0.2,slave=SMASH Build #15192 succeeded in 10 min
Details
smashbox-on-docker-ci/DOCKER_IMAGE=ubuntu_oc_lamp-git,TEST_NAME=test_sharePropagationInsideGroups,mirallBranch=v2.0.2,slave=SMASH Build #15192 succeeded in 26 min
Details
@PVince81 PVince81 deleted the stable9_24869 branch Jun 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment