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

DeliveryRunnable blocks email in BoundedElasticScheduler-queue if running out of threads

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.7.0
    • 3.8.0
    • Remote Delivery
    • None

    Description

      The DeliveryRunnable does use the same BoundedElasticScheduler (ThreadPool) for dequeuing the messages (long running thread), and processing (delivering) them, if lots of messages are dequeued and the BoundedElasticScheduler starts to queue them, the one queueing behind the dequeuing - long running thread are never processed nor delivered.

       

      Messages are still visible in the embedded activemq delivery queues, a restart of the james will process them, as they will be reacknoledged by the dequeuer.

       

       

      Attachments

        1. jstack-of-the-bug.txt
          235 kB
          Benoit Tellier

        Issue Links

          Activity

            People

              Unassigned Unassigned
              adbuch Adrian Bucher
              Votes:
              1 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