Thanks Tobi!<br><br>Can you explain this bit of text that&#39;s in the debug log?<br><br>2008-04-18 13:12:25 -- --fork: start undef for community@target<br>2008-04-18 13:12:25 -- --fork: end undef for community@target<br><br>
Obviously, I replaced the actual community string and target.<br><br>Thanks for your help!<br><br>Brad<br><br><div class="gmail_quote">On Thu, Apr 17, 2008 at 11:33 AM, Tobias Oetiker &lt;tobi@oetiker.ch&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Brad,<br>
<div class="Ih2E3d"><br>
Today Brad Lodgen wrote:<br>
<br>
&gt; Hi everyone,<br>
&gt;<br>
&gt; I&#39;m looking to find some information on the forking option and exactly how<br>
&gt; it works. What I&#39;ve been able to find is Tobi&#39;s information in changelogs<br>
&gt; suggesting a fork for every router if you have a large config.<br>
&gt;<br>
&gt; -Can anyone explain exactly how the forking option effects MRTG from start<br>
&gt; to finish, especially when running MRTG in daemon mode with hundreds of<br>
&gt; included configs?<br>
<br>
</div>the forks option causes mrtg to fork itself into multiple instances<br>
while gathering information from its targets (via snmp mostly).<br>
<br>
Once the data is in, it gets fed back to the master process which<br>
does all the post processing<br>
<div class="Ih2E3d"><br>
&gt; -If you specify the forking option with 40, is 40 the minimum or maximum<br>
&gt; forks...or does it always start 40 no matter what?<br>
<br>
</div>mrtg will divide the snmp query tasks into 40 parts and go for it<br>
... best is to run a few trial runs to find the optimal number for<br>
your setup ... it is not necessarily the more the merrier.<br>
<div class="Ih2E3d"><br>
&gt; -How many targets go into each fork?<br>
<br>
</div>see above<br>
<div class="Ih2E3d"><br>
&gt; -Any additional information about forking would be much appreciated. I want<br>
&gt; to fully understand forking so I can confidently leverage that power for<br>
&gt; very large configs.<br>
<br>
</div>well you have to ask ... :-)<br>
<br>
tobi<br>
<div><div></div><div class="Wj3C7c"><br>
&gt;<br>
&gt;<br>
&gt; Thanks for any help,<br>
&gt; Brad<br>
&gt;<br>
<br>
</div></div><font color="#888888">--<br>
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten<br>
<a href="http://it.oetiker.ch" target="_blank">http://it.oetiker.ch</a> tobi@oetiker.ch ++41 62 213 9902<br>
</font></blockquote></div><br>