Benjamin Mahler created MESOS-8885:
--------------------------------------
Summary: Disable libevent debug mode.
Key: MESOS-8885
URL: https://issues.apache.org/jira/browse/MESOS-8885
Project: Mesos
Issue Type: Improvement
Affects Versions: 1.5.0
Reporter: Benjamin Mahler
Assignee: Benjamin Mahler
Our current libevent integration calls {{event_enable_debug_mode()}} which
enables additional tracking in libevent to check for common errors. It is
recommended to _"only enable debug mode when actually debugging your program"_
because _"tracking which events are initialized requires that Libevent use
extra memory and CPU"_.
http://www.wangafu.net/~nickm/libevent-book/Ref1_libsetup.html
We could consider introducing libevent flags in order to be able to toggle this
behavior with an environment variable since it appears that libevent does not
provide one. However, since I don't believe these assertions have been of
value, we can just remove the debug mode for now.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)