Welcome to Pandora FMS Community › Forums › Community support › Advanced troubleshooting › Too many threads queued
-
Too many threads queued
Posted by andvarifatimaj on July 27, 2020 at 17:13Hello,
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, 5 months ago 2 Members · 5 Replies -
5 Replies
-
::
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 -
::
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
DiegoThere 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?
-
-
::
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
Diegosnmpconsole_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 4Hope i didnt miss any
The pandorafms documentation recommended not going above 5. Let me know if you need anything else -
::
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