Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The journal ran out of space (ENQueue CAPacity THRESHold). The journal has is a circular file buffer of fixed capacity set by the journal file size and number of files. When an attempt to write a record causes the journal to exceed the an approx. 80% threshold, then the enqueue is rejected with this error code. Dequeues (a written record of a consumed message) may continue, however, as these free up space in the journal. Once space has been freed up, enqueues may continue as normal.

...

  1. The journal is too small for the message depthsize and number of messages being stored. The journal must be made large enough to hold all of the messages you expect to be on the queue at any one moment (a worst-case scenario). Make the journal capacity larger through the use of the --num-jfiles and --jfile-size-pgs parameters.
    Info
    titleRule of thumb for sizing the journal

    Make the journal twice the size of all the messages you need to store at any one moment in time.

  2. Messages are not being dequeued (consumed) as expected. Since the store is a circular file buffer, if one un-dequeued (not consumed) message remains, it can eventually "block" the storage of new messages as the buffer gets overwritten.

...