Hi Robert/Nigel Many thanks for the patches. I now see the correct percentage in the log files: quota=1.00/15 (6.7%)
Thanks again. Ian -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Robert Anderson Sent: 10 March 2011 06:55 To: [email protected] Subject: Re: [policyd-users] Quota logs showing strange results Hi Ian, >> Policyd v2 / Cluebringer - v2.0.11RC1 >> >> Does this percentage get cached anywhere in the db? I've cleared out >> my session_tracking table and quotas_tracking table and the >> percentages are still wildly out: >> >> [2011/03/09-16:18:46 - 9046] [CORE] INFO: module=Quotas, mode=update, >> host=83.148.189.2, helo=, [email protected], >> [email protected], reason=quota_update, policy=2, quota=258, >> limit=258, track=SenderIP:83.148.189.2/32, counter=MessageCount, >> quota=259/15 (1726.7%) >> > > I'll get Robert to spin you a patch up to HEAD tomorrow for that > branch, as far as I know he tracked down the issue you having and fixed it. Please try the attached patches, 0002-Fixed-issues-in-logs-regarding-to-the-quota-usage.patch contains the fix for the issue you're experiencing. - Robert Anderson _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
