This is an automatically generated e-mail. To reply, visit:

(Updated March 6, 2018, 3:07 p.m.)

Review request for mesos, Chun-Hung Hsiao and Till Toenshoff.


Clarify comments and output for platforms without proc filesystem; via offline 
discussion with Till.

Bugs: MESOS-8642

Repository: mesos


The ballon executor demonstrates that if memory is isolated, executors
can get terminated should they exceed limits. For that the executor
allocates increasing amounts of memory. To make sure that the isolator
measurement is not skewed in the presence of swap, the executor
additionally locks the memory to make sure all allocated memory is
accounted for by the isolator.

Since the amount of memory a process can restricted on the system
level with `RLIMIT_MEMLOCK`, running this example can be impossible on
some setups.

This patch removes unneeded locking of memory on systems not using
swap. With that this example can be run on more setups, e.g., under
restricted accounts if no swap is used.

Diffs (updated)

  src/examples/balloon_executor.cpp 941cbe72f76cbd7dbf9101a409173ebe0c4108b7 

Diff: https://reviews.apache.org/r/65921/diff/2/

Changes: https://reviews.apache.org/r/65921/diff/1-2/


`make check`


Benjamin Bannier

Reply via email to