On Mon, 2 Mar 2015, Otis Gospodnetic wrote:
Hi David,
On Fri, Feb 27, 2015 at 5:53 PM, David Lang <[email protected]> wrote:
On Fri, 27 Feb 2015, Otis Gospodnetic wrote:
Hi,
Somebody recently told me there may be some issues with rsyslog and DA
queues (disk assisted queues).... or maybe there were in the past, circa
rsyslog 8.2...
Does anyone know if disk-based queues should be considered mature and
reliable or still a little flakey?
They are reliable, in that they work as designed. Depending on what you
are trying to do with them and what assumptions you are making about how
they work, you may be surprised.
It sounds like you are almost thinking about some common misunderstanding
people have about DA queues. :) If so, can you please give me a hint?
that's what I go into next.
By default, logs written to disk queues are allowed to be buffered by the
OS, so in a crash you can still end up loosing logs and/or corrupting the
last log.
Right. That's understandable.
What is it that you are concerned about?
I haven't actually seen them mentioned much on the ML, so I wonder if
people are using them?
Yes, people are using them all the time. If you look through the lists for
people posting impstats files, you will see that many of them use DA queues.
I came across this 1 year old bug:
http://bugzilla.adiscon.com/show_bug.cgi?id=506 that I'd hate to hit....
but I can't tell if this was fixed in 8.x or not.
the bug was filed against rsyslog v5, when v8.2 was the current version. There
has been a huge amount of work and cleanup in between these. There was a request
in June of last year to see if the problem could be reproduced on a current
version, nobody has said that they have duplicated.
I will say that if rsyslog runs out of disk space that's been allocated to it,
why should it think that it can use even more space to write the .qi status
files? There are ways to recover logs from queue files that don't have status
files, it just means that all logs in the file are considered 'not delivered
yet'
David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.