-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fluent-bit Crash at startup #584
Comments
which specific Fluent Bit Docker image are you running ? |
@edsiper fluent/fluent-bit:0.13 or 0.13.0 |
@yonchin Can you provide your configuration? Are you installing this from the fluent/fluent-bit-kubernetes-logging repository? |
@StevenACoffman Yes, I am based on the fluent/fluent-bit-kubernetes-logging repository. Here is my configuration: `
input-kubernetes.conf: | filter-kubernetes.conf: | output-elasticsearch.conf: | parsers.conf: | |
Same situation, fluent-bit restarts randomly.
|
Im seeing the same problem with a very similar setup. On 0.13.1. |
setting Merge_JSON_Log Off seemed to fix this issue |
I enabled debug to see which log file caused the error and viewed the logs manual. they all contained lines that started with valid json joined with another message, like |
@fruuf would you please attach a full log file that can help to replicate the problem ? |
Fixed |
I think I stumbled upon a similar issue. FB kept restarting and I could not track down the reason. But after I removed all the logs which it was tailing, it seems to be ok. |
@rolandjitsu would you please open a new issue on github and attach your config and info about versions: OS & Fluent Bit ? |
Signed-off-by: Phillip Whelan <[email protected]>
Error is as follows:
`
[2018/05/09 02:06:41] [ info] [engine] started (pid=1)
[2018/05/09 02:06:41] [ warn] [filter_kube] merge_json_log is deprecated, enabling 'merge_log' option instead
[2018/05/09 02:06:41] [ info] [filter_kube] https=1 host=kubernetes.default.svc.cluster.local port=443
[2018/05/09 02:06:41] [ info] [filter_kube] local POD info OK
[2018/05/09 02:06:41] [ info] [filter_kube] testing connectivity with API server...
[2018/05/09 02:06:41] [ info] [filter_kube] API server connectivity OK
[engine] caught signal (SIGSEGV)
Fluent-Bit v0.13.0
Copyright (C) Treasure Data
#0 0x5584b6257911 in msgpack_pack_object() at lib/msgpack-2.1.3/src/objectc.c:85
#1 0x5584b6046dae in pack_map_content() at plugins/filter_kubernetes/kubernetes.c:321
#2 0x5584b60475fc in cb_kube_filter() at plugins/filter_kubernetes/kubernetes.c:491
#3 0x5584b5fe79aa in flb_filter_do() at src/flb_filter.c:86
#4 0x5584b5fe53fc in flb_input_dbuf_write_end() at include/fluent-bit/flb_input.h:642
#5 0x5584b5fe6f5c in flb_input_dyntag_append_raw() at src/flb_input.c:894
#6 0x5584b600b27d in process_content() at plugins/in_tail/tail_file.c:290
#7 0x5584b600c0c8 in flb_tail_file_chunk() at plugins/in_tail/tail_file.c:651
#8 0x5584b6009ab7 in in_tail_collect_static() at plugins/in_tail/tail.c:129
#9 0x5584b5fe749b in flb_input_collector_fd() at src/flb_input.c:995
#10 0x5584b5fee1de in flb_engine_handle_event() at src/flb_engine.c:296
#11 0x5584b5fee1de in flb_engine_start() at src/flb_engine.c:515
#12 0x5584b5f8e4c6 in main() at src/fluent-bit.c:824
#13 0x7f420d38f2e0 in ???() at ???:0
#14 0x5584b5f8c949 in ???() at ???:0
#15 0xffffffffffffffff in ???() at ???:0
`
The text was updated successfully, but these errors were encountered: