Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • Too many threads queued

    Posted by andvarifatimaj on July 27, 2020 at 17:13

    Hello,
    I am having a strange problem
    Recently came across this problem after changing community strings on all sites for snmp.  As a result, i deleted all agents from pandorafms and readded them all manually.  I did not add modules manually.  They were auto scanned with a recon task.  When i go to servers, i see below:

    T/Q
    5:1500
    Too many modules queued
    You have too many items in the processing queue. This can happen if your server is overloaded and/or improperly configured. This could be something temporary, or a bottleneck. A possible solution is to increase the number of server threads, but you should consider getting support (or contact our support for Enterprise Edition users).

    This number seems to fluctuate from 1400 to 1500 up and down.  I configured the .conf file and increased server,snmp,and various other threads.  I also increased my memory but this did not fix the problem.  Can anyone provide some insight on this?

    diego-m replied 4 years ago 2 Members · 5 Replies
  • 5 Replies
  • diego-m

    Moderator
    July 28, 2020 at 13:09
    500 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello,

    Could you tell us how many modules you have? Could you also tell us how you have configured the threads for each server? This problem can be caused by two reasons, that you haven’t configured enough threads for all the modules you have or that the checks take too long and are getting stuck.

    Greetings
    Diego

  • andvarifatimaj

    Member
    July 28, 2020 at 16:32
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello,

    Could you tell us how many modules you have? Could you also tell us how you have configured the threads for each server? This problem can be caused by two reasons, that you haven’t configured enough threads for all the modules you have or that the checks take too long and are getting stuck.

    Greetings
    Diego

    There are 5512 and i still have some more to create. What do you mean how they are configured? Where can I check to give this information to you?

  • diego-m

    Moderator
    July 29, 2020 at 15:27
    500 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Morning,

    To know how many threads you have for each server, just check it in the “pandora_server.conf” file, look for the lines that contain “thread” and send them to me.

    Greetings
    Diego

  • andvarifatimaj

    Member
    July 29, 2020 at 19:09
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Morning,

    To know how many threads you have for each server, just check it in the “pandora_server.conf” file, look for the lines that contain “thread” and send them to me.

    Greetings
    Diego

    snmpconsole_threads 3
    network_threads 5
    plugin_threads 5
    wmi_threads 5
    recon_threads 5
    dataserver_threads 5
    web_threads 5
    inventory_threads 1
    export_threads 1
    snmp_threads 5
    icmp_threads 4

    Hope i didnt miss any
    The pandorafms documentation recommended not going above 5.  Let me know if you need anything else

  • diego-m

    Moderator
    August 3, 2020 at 14:08
    500 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Morning,

    I recommend 2 things, the first is to look at the comments that come with each server, and those that you see that without being exclusive to the enterprise version you leave the threads to 1. The second is that you go uploading the threads of each remaining server until you see that the operation is optimal. I understand that the servers that will have more load will be the network and the data server.

    Greeting
    Diego