Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcosdiez/7f37b3e53a5252c2c33569e01e5b79d2 to your computer and use it in GitHub Desktop.
Save marcosdiez/7f37b3e53a5252c2c33569e01e5b79d2 to your computer and use it in GitHub Desktop.
valgrind ./build/bin/fluent-bit -c build/bin/test.conf
mdiez@batman:/mnt/extra/u/rootfs/home/ubuntu/code/fluent-bit$ valgrind ./build/bin/fluent-bit -c build/bin/test.conf
==250022== Memcheck, a memory error detector
==250022== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==250022== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==250022== Command: ./build/bin/fluent-bit -c build/bin/test.conf
==250022==
Fluent Bit v1.9.4
* Copyright (C) 2015-2022 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io
[2022/05/12 19:11:16] [ info] [fluent bit] version=1.9.4, commit=487a054764, pid=250022
[2022/05/12 19:11:16] [ info] [storage] version=1.2.0, type=memory-only, sync=normal, checksum=disabled, max_chunks_up=128
[2022/05/12 19:11:16] [ info] [output:stdout:stdout.0] worker #0 started
[2022/05/12 19:11:16] [ info] [cmetrics] version=0.3.1
[2022/05/12 19:11:16] [ info] [sp] stream processor started
[0] dummy.0: [1652393477.498426459, {"message"=>"dummy", "aaaa"=>"bbb", "cccc"=>128, "ddd"=>20}]
[0] dummy.0: [1652393478.487945425, {"message"=>"dummy", "aaaa"=>"bbb", "cccc"=>128, "ddd"=>20}]
[0] dummy.0: [1652393479.476960649, {"message"=>"dummy", "aaaa"=>"bbb", "cccc"=>128, "ddd"=>20}]
[0] dummy.0: [1652393480.476526744, {"message"=>"dummy", "aaaa"=>"bbb", "cccc"=>128, "ddd"=>20}]
[0] dummy.0: [1652393481.476749523, {"message"=>"dummy", "aaaa"=>"bbb", "cccc"=>128, "ddd"=>20}]
^C[2022/05/12 19:11:24] [engine] caught signal (SIGINT)
[2022/05/12 19:11:24] [ warn] [engine] service will shutdown in max 5 seconds
[2022/05/12 19:11:24] [ info] [engine] service has stopped (0 pending tasks)
[2022/05/12 19:11:24] [ info] [output:stdout:stdout.0] thread worker #0 stopping...
[2022/05/12 19:11:24] [ info] [output:stdout:stdout.0] thread worker #0 stopped
==250022==
==250022== HEAP SUMMARY:
==250022== in use at exit: 106,442 bytes in 3,650 blocks
==250022== total heap usage: 5,856 allocs, 2,206 frees, 2,241,388 bytes allocated
==250022==
==250022== LEAK SUMMARY:
==250022== definitely lost: 0 bytes in 0 blocks
==250022== indirectly lost: 0 bytes in 0 blocks
==250022== possibly lost: 0 bytes in 0 blocks
==250022== still reachable: 106,442 bytes in 3,650 blocks
==250022== suppressed: 0 bytes in 0 blocks
==250022== Rerun with --leak-check=full to see details of leaked memory
==250022==
==250022== For lists of detected and suppressed errors, rerun with: -s
==250022== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment