> 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. Linux example: [r...@slayer src]# ulimit -n 1024 [r...@slayer src]# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 40958 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) unlimited virtual memory (kbytes, -v) unlimited file locks (-x) unlimited [r...@slayer src]# ulimit -n 2048 [r...@slayer src]# ulimit -n 2048 Add this line to /etc/security/limits.conf (if you use the 'mrtg' user to run the mrtg processes): mrtg - nproc 1024 Steve
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
