diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2010-08-02 17:23:57 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-08-02 17:23:57 +0100 |
commit | 044dc5748dc047e2a1686c709472547f6cf03da8 (patch) | |
tree | cd5bd659da62806ee8cd212845b1bd051bdcdd64 | |
parent | 25040ea8fb2b3a2348e29bf0a522540b9a2d6b05 (diff) | |
download | rabbitmq-server-044dc5748dc047e2a1686c709472547f6cf03da8.tar.gz |
add Makefile targets to simulate memory pressure
to be used in tests
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -179,6 +179,14 @@ stop-rabbit-on-node: all force-snapshot: all echo "rabbit_persister:force_snapshot()." | $(ERL_CALL) +set-memory-alarm: all + echo "alarm_handler:set_alarm({vm_memory_high_watermark, []})." | \ + $(ERL_CALL) + +clear-memory-alarm: all + echo "alarm_handler:clear_alarm(vm_memory_high_watermark)." | \ + $(ERL_CALL) + stop-node: -$(ERL_CALL) -q |