lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

Threads per Devices

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
marcioq
Beginner


Joined: 28 Sep 2004
Posts: 8
Location: Brazil

PostPosted: Fri May 13, 2005 12:05 am    Post subject: Threads per Devices Reply with quote

Hi,

Does Netmrg has any guidlines for how many treads to configure depending on the number of hosts in the installation ?

Somethink like, for each 50 hosts increase 5 treads in the xml configuration ?

tks in advance
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Mon May 16, 2005 12:39 pm    Post subject: Reply with quote

No, there hasn't really been any easy hosts-to-threads table created. There's a couple factors you can check to see if you need to increase threads though; of course, you have to have enough resources available to do this (cpu, disk access, etc).
1) If NetMRG is stomping on itself often; check /usr/local/var/log/netmrg/runtime to see if it's taking too long; if it's approaching your limit (usually 300 seconds), you need to increase the number of threads.
2) if you just want things done quicker; if you want to run shorter polling intervals, you might want to increase your threads so things get done quicker.

Of course, this won't help you with network bottlenecks or polling slow devices. If you have this problem, you may want to look into some sort of caching method outside netmrg. We typically write other pollers that store the data in a MySQL table and pull those values from the gatherer.

-Doug
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group