My event log has filled up, what should I do?

This is a common issue encountered by UndoDB users.  Fortunately, it's easy to solve.

By default, UndoDB simply records the program until the event log maximum has been reached (default is 256 MB). You can configure memory usage (e.g. for larger programs) by choosing the maximum event log size, deferring recording or by setting a circular event log.

 

undodb-set-max-event-log-size <size> [K|M|G]

UndoDB's snapshot-and-replay technique means relatively little event log is required, but non-deterministic events must still be stored in the log. All of the program's input (e.g. from disk or network) must be stored in the log, as must all other non-deterministic events such as thread switches, asynchronous signals or shared memory accesses. Memory is allocated dynamically for the event log as required, but this option can be used to limit how big the event log will grow to. Note that depending on system resources, less than <size> may be available (it is not advised to allow UndoDB to consume all the system's memory, lest the Linux "Out Of Memory Killer" kick in). See also the --undodb-event-log-max command-line option.

 

undodb-show-max-event-log-size

Display the currently-configured maximum event log size.

 

undodb-set-event-log-mode circular | straight

If `circular' then a circular buffer is used to store events. This means that if the debuggee runs for a long time, it may not be possible to go back to the beginning of the program. The default is `straight'. See also the --undodb-set-event-log-mode command-line option.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk