-
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
HTTP output to Betterstack crashes with a BusError on FreeBSD 14.2 amd64 #9722
Comments
Some wrangling with the core dump says that the problem is in the |
We managed to get it working if there's only one active source and only one active output, ranom values in this case. Once I write something to the syslog, the next random entry brings down the process again. |
Mitigated the problem by making the coro stack 80k |
Was going to say, we don't technically support it directly as a platform: https://docs.fluentbit.io/manual/installation/supported-platforms I was assuming you were compiling it directly so we would need a lot more information about how/what you configured to do that but sounds like you sorted. |
Initially I got it from the package system, i.e. as a prebuilt binary. See https://www.freshports.org/sysutils/fluent-bit/ for example. I did my own build for debugging purposes to get debugging symbols and address sanitizer. That build also used the setup from the ports system, so both cases built it the same way. |
That build is unrelated to this project so we cannot support it. Did you get it going then with the coro stack size change? |
It's been running 15 hours now without crashing, keeping my fingers crossed :D |
It might be worth adding to the general Raspbian builds then here: fluent-bit/packaging/distros/raspbian/Dockerfile Lines 63 to 74 in 4d715c0
|
Hi! I'm the "porter" for fluent-bit to FreeBSD. I guess, since you don't support the platform, I'm trying to do that for you. FreeBSD users are kind of used to this scenario. No problem. I tried switching clang for gcc just to rule out problems related to clang, and the error persists with gcc as well.
How do you do that. Thorugh configuration or in the build? |
Configuration |
Bug Report
Describe the bug
My goal is to send logs from my FreeBSD host and any jails running on it to Betterstack. When I enable the HTTP output plugin,
fluent-bit
crashes with a Bus Error when it tries to send the message forward.To Reproduce
The configuration file looks like this:
I execute Fluent Bit with
doas -u nobody /usr/local/bin/fluent-bit -c /usr/local/etc/fluent-bit/fluent-bit.conf
.The execution crashes with a Bus Error after the first random entry is generated:
Expected behavior
Your Environment
Additional context
Since the shipper doesn't work for me, I've been forced to install Fluentd and it makes me unhappy.
The text was updated successfully, but these errors were encountered: