diff --git a/src/afs/afs_daemons.c b/src/afs/afs_daemons.c index 1cdae34fcd..1935aea1d2 100644 --- a/src/afs/afs_daemons.c +++ b/src/afs/afs_daemons.c @@ -184,7 +184,8 @@ afs_Daemon(void) last3MinCheck = now; } - if (afsd_dynamic_vcaches && (last5MinCheck + 300 < now)) { + if (afsd_dynamic_vcaches && ((last5MinCheck + 300 < now) || + afs_VCacheStressed())) { /* start with trying to drop us back to our base usage */ int anumber = VCACHE_FREE + (afs_vcount - afs_cacheStats);