I deactivated buffered-sql and logging directly to mysql by deafult module. Just one basic question : Buffered_SQL is single threaded module? and does not make use of available mysql threads to complete the jobs in parallel? Thanks, Rams.
Message: 5 Date: Thu, 03 Sep 2009 05:32:53 +0100 From: Arran Cudbard-Bell <a.cudbard-bell@sussex.ac.uk> Subject: Re: freeradius2.1.6| buffered-sql | acctstoptime problems To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Message-ID: <4A9F46F5.7060806@sussex.ac.uk> Content-Type: text/plain; charset="utf-8"
Alan DeKok wrote:
Ivan Kalik wrote:
Counter? Write detail.work.counter onto the disk, increment it every time packet is processed and return to zero when detail.work is deleted. It will say how many packets to skip when radiusd is restarted.
Hmm... OK. Or slightly differently: the offset in the file of where it last read a packet.
Yep that's a good option.
Maybe for 2.1.8.
This is pretty much a none issue. Just have the detail file writer start a new file every minute/hour, then the number of repeated entries is very small. It's only when you have it start a new file every day, or use one monolithic detail file that you run into problems.
-Arran