• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    threadpools are full

    Scheduled Pinned Locked Moved Mango Automation general Discussion
    19 Posts 3 Posters 5.1k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JoelHaggarJ Offline
      JoelHaggar
      last edited by

      That totally depends on the type of computer it is running on and what the CPU can handle. Under normal operation you really shouldn't run out of threads. What type of data sources do you have and how many? What type of computer is it on?

      1 Reply Last reply Reply Quote 0
      • A Offline
        atkins.chrisw
        last edited by

        Its running on a Windows 2012 Server.
        4GB RAM

        80GB hard drive

        We have 25 Modbus IP connections reading roughly 30 points each
        And 25 Metadata sources with around 10 points each

        1 Reply Last reply Reply Quote 0
        • JoelHaggarJ Offline
          JoelHaggar
          last edited by

          That doesn't make sense to me that it's running out of threads. You might want to get a thread dump and send it to us to look at.

          One thing to check with your Meta Data Points is that you only have 1 data point updating its context from the same Data Source. You don't want two points that both poll at the same time updating the same meta data point.

          If you run out of threads again to get a list of all the threads running use this URL after you are logged in /rest/v1/threads?stackDepth=30

          Copy all the JSON into a text file and email to support@infiniteautomation.com and we'll look it over. Thanks. Joel.

          1 Reply Last reply Reply Quote 0
          • A Offline
            atkins.chrisw
            last edited by

            Thanks. Should I reboot Mango then

            1 Reply Last reply Reply Quote 0
            • JoelHaggarJ Offline
              JoelHaggar
              last edited by

              Probably, just to be sure you got things back to normal.

              1 Reply Last reply Reply Quote 0
              • A Offline
                atkins.chrisw
                last edited by

                Could I make a no_update error to send ot my cloud version so I can make sure I don't lose data?

                Do we have a no update error for the database?

                1 Reply Last reply Reply Quote 0
                • JoelHaggarJ Offline
                  JoelHaggar
                  last edited by

                  You could use the Lo4J Data Source to capture errors and then send those to your cloud Mango. This is not a normal situation so once you figure out the cause I wouldn't worry about it too much.

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    atkins.chrisw
                    last edited by

                    ok. Ill do that. Thanks

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      atkins.chrisw
                      last edited by

                      Ok. So as I am watching the Internal Diagnostics. I see two java.exe running. One PID 1704 and one PID 1220.

                      Are both of these for Mango?

                      1 Reply Last reply Reply Quote 0
                      • phildunlapP Offline
                        phildunlap
                        last edited by phildunlap

                        Hi Chris,

                        Probably the right tool to resolve what is going on there is jstack, a thread dumping utility in Java. To use (if jstack is on your path. otherwise would be in jdk/bin/ ), you can type:

                        jstack -l 1704 > C:\Users\You\MangoStuff\stack-1704
                        jstack -l 1220 > C:\Users\You\MangoStuff\stack-1220
                        

                        It could also be useful to know which is the parent PID, if one is the parent pid of the other (maybe you have two Java processes, maybe you have started two instances of Mango on different ports). It looks like you can get PPID numbers via this command at the command prompt:

                        wmic process where (processid=1704) get parentprocessid
                        

                        My only familiarity with causing these forks to happen and hang uses Process Event Handlers, so if you have some I will invariably ask something about if that script runs and works.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post