Hi Terry,
I have tried to reproduce the issue firing up a VM with Debian (can't do Ubuntu) but unfortunately i could not manage to reproduce the issue. If, as you say, nfacctd crashes it should then be easy for you guys to collect useful info for troubleshooting at the next crash. The impact would be to restart nfacctd after having done a 'ulimit -c unlimited' so that the coredump file is saved on disk (then inspecting the file with gdb will say where the program is crashing). You may want to review this section of the docs for more info: https://github.com/pmacct/pmacct/blob/master/QUICKSTART#L2644-#L2659 This all said, i am trading off impact with urgency. Shall the issue be more urgent than catch it on Oct 1st, we can indeed take a different route (especially if you can spin a VM equal to the one where nfacctd is crashing). Let me know and, being this about troubleshooting, we may freely continue by 1:1 emails if you wish and summarize here findings at a later point. Paolo On Mon, Sep 09, 2019 at 01:51:41AM +0000, Terry Duchcherer wrote: > My techs have just been restarting the server at the beginnibg of each month. > If memory serves me correctly, the nfacctd service dies. > > Terry > > > -----Original Message----- > From: pmacct-discussion <pmacct-discussion-boun...@pmacct.net> On Behalf Of > Paolo Lucente > Sent: Thursday, September 5, 2019 7:16 AM > To: pmacct-discussion@pmacct.net > Subject: Re: [pmacct-discussion] nfacctd monthly accounting problem > > > Hi Terry, > > Thanks for reporting this issue. > > Can you elaborate a bit more on the 'nfacctd does not start accounting for > the new month'? It just stops accounting or it keeps accounting on the old > month (ie. it seems like it does not flip the month)? Or some different > behaviour? The more details you can share, the better. > > Thanks, > Paolo > > On Wed, Sep 04, 2019 at 04:25:38PM +0000, Terry Duchcherer wrote: > > We are using nfacct to do monthly data accounting for our customers, all > > works fine except at the beginning of a new month nfacctd does not start > > accounting for the new month. Restarting the service corrects the problem. > > > > nfacctd version 1.7.1-git > > Ubuntu version 16.04 > > > > Here is our config: > > > > nfacctd_port: 2055 > > plugins: mysql[inbound], mysql[outbound] > > sql_db: dbname > > sql_host: localhost > > sql_user: dbuser > > sql_passwd: dbpass > > sql_table[inbound]: acct_in > > sql_table[outbound]: acct_out > > aggregate[inbound]: dst_host > > aggregate[outbound]: src_host > > aggregate_filter[inbound]: dst net (nnn.nnn.nnn.nnn/22 or > > nnn.nnn.nnn.nnn /22 or nnn.nnn.nnn.nnn /21) > > aggregate_filter[outbound]: src net (nnn.nnn.nnn.nnn /22 or > > nnn.nnn.nnn.nnn /22 or nnn.nnn.nnn.nnn /21) > > sql_refresh_time: 300 > > sql_history: 1M > > sql_history_roundoff: h > > > > What am I missing? > > > > Thanks in Advance; > > Terry > > NETAGO > > > > > > > > > > > > > > > > > > > > > > > > [ Read 16 lines ] > > ^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify > > ^C Cur Pos ^Y Prev Page > > ^X Exit ^R Read File ^\ Replace ^U Uncut Text ^T To Spell > > ^_ Go To Line ^V Next Page > > > _______________________________________________ > > pmacct-discussion mailing list > > http://www.pmacct.net/#mailinglists > > > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists