webcachesim icon indicating copy to clipboard operation
webcachesim copied to clipboard

Terminates early with "unable to append int64"

Open theanoli opened this issue 3 years ago • 1 comments

When running the following command: docker run -it -v ~/traces:/trace sunnyszy/webcachesim:v0.2 memc_200m.tr LRU 1099511627776

...I got the following error:

terminate called after throwing an instance of 'bsoncxx::v_noabi::exception' what(): unable to append int64

The program's last output before the error was: seq: 200000000 cache size: 42863945528/1093075226624 (0.0392141) delta t: 10.03 segment bmr: 0.0250343 rss: 6475599872

theanoli avatar Jul 27 '20 16:07 theanoli

The simulator assumes trace timestamp unit is second. Otherwise, the default logging can exceed the max size.

To reduce logging frequency, increase the logging interval by add --real_time_segment_window=${INCREASED_INTERVAL} in the command line arguments. The default is 600 (second) in trace timestamp.

sunnyszy avatar Aug 02 '20 13:08 sunnyszy