diff options
-rw-r--r-- | flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java index b50e71154eb..53d799abd8d 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java @@ -386,7 +386,17 @@ public class PermanentFlags { public static final UnboundBooleanFlag DROP_CACHES = defineFeatureFlag( "drop-caches", true, - "Drop caches on tenant hosts", + "Drop pagecache. " + + "This is combined with the drop-dentries-and-inodes flag for a single write to /proc/sys/vm/drop_caches.", + "Takes effect on next tick", + // The application ID is the exclusive application ID associated with the host, + // if any, or otherwise hosted-vespa:tenant-host:default. + APPLICATION_ID, TENANT_ID, CLUSTER_ID, CLUSTER_TYPE); + + public static final UnboundIntFlag DROP_DENTRIES_AND_INODES = defineIntFlag( + "drop-dentries-and-inodes", -1, + "Drop dentries and inodes every N minutes. 0 means every tick. -1 means disabled. " + + "This is combined with the drop-caches flag for a single write to /proc/sys/vm/drop_caches.", "Takes effect on next tick", // The application ID is the exclusive application ID associated with the host, // if any, or otherwise hosted-vespa:tenant-host:default. |