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

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 207, Logging (Core) - Sprint 208

      Description of problem:
      When the `total_limit_size` for fluentd is configured according to the documentation.  Currently there is no restriction on this value. It can be set any large value even if space is not available on the disk. 

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

      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: 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:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: