HomePhabricator

labs: restart slapd if it uses > 50% of memory
f3c48b7d9f68Unpublished

Authored by Dzahn on Jul 25 2016, 4:35 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

labs: restart slapd if it uses > 50% of memory

Add a cron that restarts slapd <s>once a week</s> to mitigate the slapd memory
leak issue, as suggested by Moritz.

Amended to restart it if it really uses more than 50% of the memory, check in an
hourly cron. As suggested by _joe_ in comments.

Copied from mediawiki::jobrunner where we do the same for hhvm.

Bug: T130593
Change-Id: Idf33099b07d3d231a0c229628db5c9d6c67dd8b0

Details