Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-1736

[1976692]fluentd total_limit_size wrong values echoed

XMLWordPrintable

    • False
    • False
    • ASSIGNED
    • NEW
    • Hide
      * Before this update, editing the `ClusterLogging` custom resource (CR) did not apply the value of `totalLimitSize` to the Fluentd `total_limit_size` field, which limits the size of the buffer plugin instance. As a result, Fluentd applied the default values. With this update, the CR applies the value of `totalLimitSize` to the Fluentd `total_limit_size` field. Fluentd uses the value of the `total_limit_size` field or the default value, whichever is less. (link:https://issues.redhat.com/browse/LOG-1736[LOG-1736])
      Show
      * Before this update, editing the `ClusterLogging` custom resource (CR) did not apply the value of `totalLimitSize` to the Fluentd `total_limit_size` field, which limits the size of the buffer plugin instance. As a result, Fluentd applied the default values. With this update, the CR applies the value of `totalLimitSize` to the Fluentd `total_limit_size` field. Fluentd uses the value of the `total_limit_size` field or the default value, whichever is less. (link: https://issues.redhat.com/browse/LOG-1736 [ LOG-1736 ])
    • Logging (Core) - Sprint 207

      Description of problem:
      When the `total_limit_size` for fluentd is configured according to the documentation. The wrong total_limit_size is shown in the logs

      Version-Release number of selected component (if applicable):
      5.0

      How reproducible:
      Steps to Reproduce:
      1. Deploy cluster-logging
      2. Set total_limit_size for fluentd
      ~~~~

      1. oc edit ClusterLogging instance
        spec:
        forwarder:
        fluentd:
        buffer:
        totalLimitSize: 8G
        ~~~~

      3. Verify that it is applied
      ~~~~

      1. oc extract configmap/fluentd --confirm
      2. grep total_limit_size fluent.conf
        ~~~~

      4. View logs
      ~~~~

      Actual results:
      $ oc logs fluentd-6d5bz

      Setting each total_size_limit for 2 buffers to 9622544486 bytes

      Setting queued_chunks_limit_size for each buffer to 1147

      Setting chunk_limit_size for each buffer to 8388608

      Expected Results:

      $oc logs fluentd-b49m6

      Setting each total_size_limit for 2 buffers to 8589934592 bytes

      Setting queued_chunks_limit_size for each buffer to 1024

      Setting chunk_limit_size for each buffer to 8388608

      Additional info:

            aguptaredhat Ajay Gupta (Inactive)
            aguptaredhat Ajay Gupta (Inactive)
            Kabir Bharti Kabir Bharti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: