Hi,

i am running pmacct 0.11.4 on FreeBSD 7.1 for traffic accounting in a
network with about 10.000 client ip addresses and a bandwidth of about
750 mbit/s.

I got a lot of these messages:

Mar  2 15:00:00 host1 pmacctd[37092]: - increase shared memory size,
'plugin_pipe_size'; now: '161920000'.
Mar  2 15:00:00 host1 pmacctd[37092]: - increase buffer size,
'plugin_buffer_size'; now: '161920'.
Mar  2 15:00:00 host1 pmacctd[37092]: - increase system maximum socket size.
Mar  2 15:00:00 host1 pmacctd[37091]: ERROR ( in/memory ): We are missing data.


My pmacct configuration:

debug: false
daemonize: true
syslog: kern
interface: em4
aggregate[in]: dst_host
aggregate[out]: src_host
networks_file: /usr/local/etc/networks.def
plugins: memory[in], memory[out]
imt_path[in]: /tmp/in.pipe
imt_path[out]: /tmp/out.pipe
imt_mem_pools_number: 0
imt_mem_pools_size: 16384
plugin_pipe_size: 161920000
plugin_buffer_size: 161920

A cronjob runs "pmacct -s -p /tmp/out.pipe -e" and "pmacct -s -p
/tmp/in.pipe -e" every 5 minutes to fetch the collected data.

When i increase the values for plugin_pipe_size and plugin_buffer_size
pmacct becomes instable and dies from time to time.

Do you have any suggestions what to optimize?

Best Regards
Sven Schmitt

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to