Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-2453

DefaultAccessLogReceiver#pendingMessages is not limited and can lead to OOME

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Core

      Analyze DefaultAccessLogReceiver and come up with strategy of dealing with possible OOME on overflowing pendingMessages field. Verify its to blow up.

      NOTE:

      • possibly work in group of 2
      • write happen in IO thread supplied, this can be crucial in testing/verifying
        TODO:
      • overflow warning on certain threshold being breached. Note that pendingMessages.size is a costly operation and thus cant be used here
      • come up with strategy to deal with second threshold, add POC implementation

              flaviarnn Flavia Rainone
              rhn-cservice-bbaranow Bartosz Baranowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: