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

fluentd total_limit_size sets value beyond available space

XMLWordPrintable

    • False
    • False
    • NEW
    • NEW
    • Hide
      Before this update, the `ClusterLogging` custom resource (CR) applied the value of the `totalLimitSize` field to the Fluentd `total_limit_size` field, even if the required buffer space was not available. With this update, the CR applies the lesser of the two `totalLimitSize` or 'default' values to the Fluentd `total_limit_size` field, resolving the issue.
      Show
      Before this update, the `ClusterLogging` custom resource (CR) applied the value of the `totalLimitSize` field to the Fluentd `total_limit_size` field, even if the required buffer space was not available. With this update, the CR applies the lesser of the two `totalLimitSize` or 'default' values to the Fluentd `total_limit_size` field, resolving the issue.
    • Logging (Core) - Sprint 208

      When the `total_limit_size` for fluentd is configured according to the documentation, it allows to set any value larger than available disk space.  

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

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

      3. View logs
      ~~~~

      Actual results:

      • # oc logs fluentd-2zwx9 -c fluentd

      Setting each total_size_limit for 3 buffers to 107374182400 bytes

      Setting queued_chunks_limit_size for each buffer to 12800

      Setting chunk_limit_size for each buffer to 8388608

       

      Expected Results:

      Setting each total_size_limit for 3 buffers to 6415029657 bytes

      Setting queued_chunks_limit_size for each buffer to 764

      Setting chunk_limit_size for each buffer to 8388608

      Additional info:

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

                Created:
                Updated:
                Resolved: