[Suggestion] Fix potential dump of huge queue process state to log #14349
-
RabbitMQ series4.1.x Operating system (distribution) usedUbuntu 24 How is RabbitMQ deployed?Community Docker image What would you like to suggest for a future version of RabbitMQ?Currently, if a crash happens in the See the following diff for an idea how to address this issue: main...lukebakken:rmq-rabbitmq-server:lukebakken/fix-format-status Note that Arguably, the correct fix is to update In addition to these changes, setting the following kernel parameter in [
{kernel, [
{error_logger_format_depth, 10}
]}
]. That configuration setting is deprecated, and I'm looking into how To see the amount of data logged without
After the 1000th message, the
Everything after With my proposed code, the message data is modified by Thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
The format depth part would also be good to investigate for use in other (non-gen_server2) parts of the broker. I have seen a very large error log from Crash details...I saw this running a horrible perf-test workload against
This was from publishing with perf-test with a workload that sends a crazy ~3.7 GB/sec of message bodies (my beefy computer was unsurprisingly unhappy!).
|
Beta Was this translation helpful? Give feedback.
-
This change can make investigating certain issues harder but I see the benefits, of course. @lukebakken instead of using just atoms, e.g. |
Beta Was this translation helpful? Give feedback.
-
@dumbbell @michaelklishin PR for when you have time, thanks! #14523 |
Beta Was this translation helpful? Give feedback.
-
This is addressed (note: you have to opt-in with one or two lines in Thanks, @lukebakken and everyone else involved. |
Beta Was this translation helpful? Give feedback.
@dumbbell @michaelklishin PR for when you have time, thanks! #14523