Hi all,
Trying to get a better understanding of fragmentation and potential culprits of high amounts of fragmentation occurring in a particular event broker. Defragmentation is running daily on a schedule, not threshold. But we are seeing within an hour after defrag runs successfully the estimated fragmentation reaches 99% within an hour.
**Estimated Fragmentation: 97%**
Estimated Recoverable Space: 10 MB
Last Result:
Completed On: May 9 2024 00:02:41 UTC **## About 1.5hrs ago**
**Completion %: 100%
Exit Condition: Success**
We are seeing this frequently, although it’s worth noting only 10MB of recoverable space does not seem like this would be an enormous number of messages.
Could this be because the total number of messages spooled is rather low, therefore it won’t take a large amount of fragmented message to cause a high estimated fragmentation value?
ADB Disk Total
Current Persistent Store Usage (MB) 0.0240 0.3082 0.3322
Number of Messages Currently Spooled 9 194 **203**
Either way we would like the find the culprit of the fragmentation, whether this is one particular client or a particular process causing this so frequently.
The spool files that a Solace PubSub+ event broker uses to store Guaranteed messages may become “fragmented” over time when consumers frequently go offline and do not reconnect . Fragmentation can occur because the small number of messages awaiting delivery to those offline consumers are maintained, which prevents the larger number of messages that have been consumed that are also on the spool file from being removed.
Is there anything in particular to look for in logs that would lead to fragmentation?
Looking at the
event boiler I’m unable to find any specific log events related to fragmentation besides when defragmentation starts or stops.