Oh ok, thanks a lot! Ludovic
-----Message d'origine----- De : rsyslog-boun...@lists.adiscon.com [mailto:rsyslog-boun...@lists.adiscon.com] De la part de David Lang Envoyé : jeudi 27 octobre 2016 21:26 À : rsyslog-users <rsyslog@lists.adiscon.com> Objet : Re: [rsyslog] Action Queue misunderstanding Yes, the file does not get re-written as logs are delivered, it's just pointers into the file that change (the overhead and race conditions related to re-writing a potentially large file when one message is delivered and additional messages are arriving are ugly) David Lang On Thu, 27 Oct 2016, phrogz wrote: > Thanks for the feedback, you right pstats show 0 for the DA queue, but is it > normal that the file (inside) is not empty? Because there are still some > messages in the queue, and If I take one random msg in this file I can see > that the msg has been transmitted to the backend database. > > Thanks, > > Ludovic > -----Message d'origine----- > De : rsyslog-boun...@lists.adiscon.com > [mailto:rsyslog-boun...@lists.adiscon.com] De la part de David Lang > Envoyé : jeudi 27 octobre 2016 20:42 À : rsyslog-users > <rsyslog@lists.adiscon.com> Objet : Re: [rsyslog] Action Queue > misunderstanding > > disk assisted queues will leave one file in place when they are fully caught > up (in case there are more files that need to be queued), when you shutdown > rsyslog (not a HUP, but a full shutdown), this 'last' queue file will go away. > > but the pstats data should show the enqueued size as 0 for the DA version of > the queue. > > when you have a DA queue, it's actually two queues, a memory queue and a disk > assist queue, they show up separately in the pstats data, and the memory > queue will fill up before the disk queue starts being used. > > David Lang > > > On Thu, 20 Oct 2016, phrogz wrote: > >> Date: 20 Oct 2016 17:42:22 +0200 >> From: phrogz <phr...@phrogz.me> >> Reply-To: rsyslog-users <rsyslog@lists.adiscon.com> >> To: rsyslog@lists.adiscon.com >> Subject: Re: [rsyslog] Action Queue misunderstanding >> >> yes, but normally the queues are cleaned? isn't it? >> >> 2016-10-20 17:34 GMT+02:00 phrogz <phr...@phrogz.me>: >>> Anyway, the logs in the queue files are delivered. >> >> So you are happy? >>> >>> Thanks, >>> >>> Ludovic >>> >>> _______________________________________________ >>> 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. >> _______________________________________________ >> 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. >> >> >> _______________________________________________ >> 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. >> > _______________________________________________ > 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. > _______________________________________________ > 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. > _______________________________________________ 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.