Announcement

Collapse
No announcement yet.

Max processing threads

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Max processing threads

    I have a channel that has channel reader.
    Max processing threads set to a high number, but the channel still seems
    to be processing one at a time instead of creating threads and doing them all
    at the same time. What should I look for to resolve this? I didn't find the bottleneck yet.


    Mirth Connect Server 3.8.0
    Built on May 22, 2019
    Java version: 1.8.0_181
    Last edited by StickyBandit; 10-15-2019, 02:09 PM.

  • #2
    Channel type? File Reader?
    Mirth 3.8.0 / PostgreSQL 11 / Ubuntu 18.04
    Diridium Technologies, Inc.
    https://diridium.com

    Comment


    • #3
      channel reader.

      Comment


      • #4
        Can you attach your channel?

        Comment


        • #5
          I can't really do that because of work policy. But is there a way in mirth
          to see what is going on with the threads. A monitor tool or something?

          Comment


          • #6
            We made some tweaks in hopes to fix this.
            a) Did a PGtune on the postgres db (changed settings, increased connections)
            b) Found an increment leak in the global pre-processor and fixed that.
            c) Fixed some channels that did not clear global channel map on deploy.
            d) Increased the connection pool size in mirth for it's posgres db.

            I will wait to see if the problem comes back.
            Last edited by StickyBandit; 10-12-2019, 09:48 PM.

            Comment


            • #7
              Apparently mirth connect actually instantiates the entire thread max count into memory.
              Since I set this to a high number like 400 or 800. The CPU was so busy with managing all these resting threads that it became a bottleneck and our system kept failing.

              Mirth need to rename that field to Instantiated threads instead of Max thread count.

              We have been fighting with this issue for days because we also have a lot of channels and added multi-threading.

              Comment

              Working...
              X