diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2014-05-01 13:37:33 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2014-05-01 13:37:33 +0000 |
commit | 3a23bc3bf1ad922b3687f8aac18b0be92c9902b8 (patch) | |
tree | 489c699ef637f61d69b5ca64850452c2c484d4e0 | |
parent | d9fb38093656ba9768c832cd3f6953aaa087b26f (diff) | |
download | illumos-joyent-3a23bc3bf1ad922b3687f8aac18b0be92c9902b8.tar.gz |
OS-2972 memory capper should sleep longer when skipping pageout
-rw-r--r-- | usr/src/cmd/zoneadmd/mcap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/cmd/zoneadmd/mcap.c b/usr/src/cmd/zoneadmd/mcap.c index e866cc021b..cff1f7d67a 100644 --- a/usr/src/cmd/zoneadmd/mcap.c +++ b/usr/src/cmd/zoneadmd/mcap.c @@ -1257,6 +1257,9 @@ mcap_zone() debug("process pass done; excess %lld\n", (long long)excess); rewinddir(pdir); + + if (skip_pageout) + (void) sleep_shutdown(120); } if (pdir != NULL) |