mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kapil Arya <>
Subject Re: Review Request 42518: Disabled "drop_log_memory" flag for glog.
Date Sat, 23 Jan 2016 03:59:55 GMT

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

(Updated Jan. 22, 2016, 10:59 p.m.)

Review request for mesos, Ben Mahler, Cody Maloney, and Joris Van Remoortere.


Update the flag only if env var is not set.

Bugs: MESOS-920

Repository: mesos


When this flag is set, glog makes several hundred `posix_fadvise(...,
POSIX_FADV_DONTNEED)` calls per second to advise the kernel to drop
in-memory buffers related to log contents.

Diffs (updated)

  src/logging/logging.cpp f7619b18fa4a78b20951edad892ca5c616bbed55 



Verified with the patch by running under gdb and placing a breakpoint on posix_fadvise. The
breakpoint doesn't hit anymore.


Kapil Arya

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message