Peter Nixon wrote: > As you can see the machine is not waiting on disk, but rather on the locks. > Before I go about trying to optimise this any further, is there something > basic I have wrong that can speed this up? > The configuration looks fine. It seems like there's no indexes or something, causing the UPDATEs to take forever.
It could also be that there are a lot of counters. Calculate 500 hosts, 2 directions, 3 protocols (ICMP/TCP/UDP), server ports (10 ish), client ports (hundreds), and you could easily be trying to update hundreds of thousands of records every 10 minutes. Turn on debug, redirect the output of nfacctd to a file, and watch to see how many updates are actually being done. Wim _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
