[mrtg] Strange error when using UCD-DISKIO-MIB

Freddie Cash fjwcash at gmail.com
Thu Feb 19 22:37:31 CET 2009


On February 19, 2009 1:12 pm Steve Shipway wrote:
> > Further testing shows that if I set "Forks: 1" then I can run mrtg in
>
> ...
>
> > Also, if I try to check all 48 drives in both servers via a single
> > config file/mrtg run, then it fails.  If I split the config file to
> > check the two servers one after the other in separate mrtg runs (24
> > drives each), then it succeeds.
>
> I think you're running out of file descriptors.   See what 'ulimit -n'
> returns (you might need a different set of options depending on your OS).
> Do the appropriate things to set the FD limit to 1024 or even higher.

That looks like it may be the issue.  Setting "ulimit -n 2048" at the shell, 
and running mrtg with 1 big config file (48 disk checks) works, both in 
debug and in regular modes.

Thanks for the pointer.

I'm going to do some more testing with this, and then set it permanently.

-- 
Freddie
fjwcash at gmail.com



More information about the mrtg mailing list