Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3997

Netty backpressure for IMAP Fetch

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.8.0, 3.8.1
    • 3.9.0
    • None
    • None

    Description

      Some OOM IMAP issues on a production environment using James have been detected, regarding the method IMAP FETCH.

      We seem to do to write out:

      channel.writeAndFlush()Unpooled.wrappedBuffer(buffer)); 
      

      without any checks. Making the method using intermediate buffers in a slow network, potentially exploding the memory.

      Need to investigate this issue and enhance this processus, maybe by using Netty backpressure instead?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rcordier René Cordier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m