Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8885

Disable libevent debug mode.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.4.2, 1.5.1, 1.6.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              bmahler Benjamin Mahler
              Reporter:
              bmahler Benjamin Mahler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: