Qpid
  1. Qpid
  2. QPID-3419

qpid-config --file-size parameter's help text uses incorrect units

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.10
    • Fix Version/s: 0.13
    • Component/s: Python Tools
    • Labels:
      None

      Description

      It seems to me, that the qpid-config --file-size parameter's help text uses incorrect units. It shows:

      --file-size=<n> File size in pages (64Kib/page)

      which would indicate that 24-pages (the default) would yield 192KiB journal files (24 * 64 / 8). But instead, the journal files I get are ~1.6MiB, which would suggest that the 64Kib is meant to be 64KiB (ie Kibibytes instead of Kibibits).

        Activity

        Hide
        Paul Colby added a comment -

        I just noticed that C++ broker uses KiB for the equivalent setting (--jfile-size-pgs), so I guess that implies that qpid-config should be using KiB too.

        Show
        Paul Colby added a comment - I just noticed that C++ broker uses KiB for the equivalent setting ( --jfile-size-pgs ), so I guess that implies that qpid-config should be using KiB too.
        Hide
        Paul Colby added a comment -

        Added a very small diff file to make the one (very minor) change.

        Show
        Paul Colby added a comment - Added a very small diff file to make the one (very minor) change.
        Hide
        Kim van der Riet added a comment -

        Correct, the async store write page size is 64 kBytes (KiB).

        Show
        Kim van der Riet added a comment - Correct, the async store write page size is 64 kBytes (KiB).
        Hide
        Paul Colby added a comment -

        Confirmed fixed. Thanks

        Show
        Paul Colby added a comment - Confirmed fixed. Thanks

          People

          • Assignee:
            Ted Ross
            Reporter:
            Paul Colby
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development