Hi Pavel, Can we follow-up privately for some further investigation? I'd start with a memory profile, ie. collect every few secs/minute memory usage of every pmacct process, to determine how memory utilization changes over time - and where that leads to. In general i would say: if you keep the daemon running for, say, 24 hours and memory keeps increasing steadily then we have a good lead towards what looks like a memory leak or so.
Cheers, Paolo On Tue, Apr 21, 2015 at 05:05:56PM +0200, Pavel Dimow wrote: > Hello, > > I have configured nfacctd to capture cisco nel export from ASR 1000 and > save to file every minute via print plugin. > Everythig works fine for now but I have some doubts about memory usage. For > example when I first start the nfacctd > the amount of allocated memory is about 19.8% (print_cache_entries[nat]: > 500000) but after some time the amount of > used memory begins to decline and the usage of swap is going up. Right now > for example the amount of used memory > is 7.3% (from 19.8) while VmSwap is 1010828 kB (from 0) and it's solely > used by nfacctd Print Plugin [nat] > > Is this some kind of expected behavior or bug? The more scary thing about > this is that I am not sure if I have all entries > for NEL printed in file or there are some missed one. > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
