Skip Menu |

This queue is for tickets about the File-Tail CPAN distribution.

Report information
The Basics
Id: 11822
Status: open
Priority: 0/
Queue: File-Tail

People
Owner: Nobody in particular
Requestors: bill [...] tothept.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.99.1
Fixed in: (no value)



Subject: File::Tail each line in file instead of tailing, after running for 10 days
Intalled latest File::Tail 0.99.1 on Redhat 9, Perl 5.8.0. Wrote a very simple Perl script to look for a string in a log file, initialize an app and send me an e-mail. Tested and verified that it worked, then left it running, beginning Feb 26, 2005 at 18:50. This morning, March 9, 2005 at 8:15 am I started getting emails that my app was getting initialized. These e-mails originated from lines in the log file dating back to 2003 (yeah I should roll that log), but there were no contemporaneous events to have triggered the e-mails and app initialization. So it looks like File::Tail, after some event (timeout?) just opened the log and began at the top instead of the tail.
From: djarne [...] ragingwire.net
Did you get an answer for this? It seemed like you implied that the lack of truncating the file reading might have been a contributing factor. Yes/No ???? I am also going to be using this tool. As a customer will be getting a new Ticket created from events they want monitored, I can not have the tool start from the beginning of the file again, as that would create duplicate tickets... -D [guest - Wed Mar 9 12:40:00 2005]: Show quoted text
> Intalled latest File::Tail 0.99.1 on Redhat 9, Perl 5.8.0. > > Wrote a very simple Perl script to look for a string in a log file, > initialize an app and send me an e-mail. Tested and verified that > it worked, then left it running, beginning Feb 26, 2005 at 18:50. > This morning, March 9, 2005 at 8:15 am I started getting emails > that my app was getting initialized. > > These e-mails originated from lines in the log file dating back to > 2003 (yeah I should roll that log), but there were no > contemporaneous events to have triggered the e-mails and app > initialization. > > So it looks like File::Tail, after some event (timeout?) just opened > the log and began at the top instead of the tail.
From: Chriz
[guest - Wed Mar 9 12:40:00 2005]: Show quoted text
> Wrote a very simple Perl script to look for a string in a log file, > initialize an app and send me an e-mail. Tested and verified that > it worked, then left it running, beginning Feb 26, 2005 at 18:50. > This morning, March 9, 2005 at 8:15 am I started getting emails > that my app was getting initialized. >... > So it looks like File::Tail, after some event (timeout?) just opened > the log and began at the top instead of the tail.
The very same happened to me today. (It was the second time this year.) I'm running File::Tail 0.99.1 on AIX 5.3. The script this time ran since 3.5 months without problems on a slowly growing 5.5 MB log file. This is a serious problem for me and I would be glad if it could be fixed. If I can help with more infos or so, please let me know.
From: mberkeland
On Wed Nov 30 03:39:41 2005, guest wrote: Show quoted text
> [guest - Wed Mar 9 12:40:00 2005]: >
> > Wrote a very simple Perl script to look for a string in a log file, > > initialize an app and send me an e-mail. Tested and verified
that Show quoted text
> > it worked, then left it running, beginning Feb 26, 2005 at
18:50. Show quoted text
> > This morning, March 9, 2005 at 8:15 am I started getting emails > > that my app was getting initialized. > >... > > So it looks like File::Tail, after some event (timeout?) just
opened Show quoted text
> > the log and began at the top instead of the tail.
> > The very same happened to me today. (It was the second time this
year.) Show quoted text
> I'm running File::Tail 0.99.1 on AIX 5.3. > > The script this time ran since 3.5 months without problems on a
slowly Show quoted text
> growing 5.5 MB log file. > > This is a serious problem for me and I would be glad if it could be > fixed. If I can help with more infos or so, please let me know.
I have experienced this problem, also, on 0.99.1, twice in the last 4 months. It seems to happen when the system is seriously loaded and going to swapfile a lot. Does anyone know if this was fixed in 0.99.2 or 0.99.3? There is a description of a bug fixed in 0.99.2 which states that certain busy filesystems can return 0 on a read, and the fix handles this case. Has anyone experienced this problem in .2 or .3? If not, anyone have any clever workarounds, as this is seriously impacting a customer.
Subject: Re: [rt.cpan.org #11822] File::Tail each line in file instead of tailing, after running for 10 days
Date: Mon, 22 May 2006 22:51:19 -0700
To: bug-File-Tail [...] rt.cpan.org
From: "William M. Conlon" <bill [...] tothept.com>
After an upgrade to Fedora Core 4, and update of all CPAN modules, the problem went away. So I don't think it's File::Tail. Show quoted text
---------- Original Message ----------- From: "Guest via RT" <bug-File-Tail@rt.cpan.org> To: bill@tothept.com Sent: Mon, 22 May 2006 23:08:15 -0400 (EDT) Subject: [rt.cpan.org #11822] File::Tail each line in file instead of tailing, after running for 10 days
> <URL: http://rt.cpan.org/Ticket/Display.html?id=11822 > > > On Wed Nov 30 03:39:41 2005, guest wrote:
> > [guest - Wed Mar 9 12:40:00 2005]: > >
> > > Wrote a very simple Perl script to look for a string in a log file, > > > initialize an app and send me an e-mail. Tested and verified
> that
> > > it worked, then left it running, beginning Feb 26, 2005 at
> 18:50.
> > > This morning, March 9, 2005 at 8:15 am I started getting emails > > > that my app was getting initialized. > > >... > > > So it looks like File::Tail, after some event (timeout?) just
> opened
> > > the log and began at the top instead of the tail.
> > > > The very same happened to me today. (It was the second time this
> year.)
> > I'm running File::Tail 0.99.1 on AIX 5.3. > > > > The script this time ran since 3.5 months without problems on a
> slowly
> > growing 5.5 MB log file. > > > > This is a serious problem for me and I would be glad if it could be > > fixed. If I can help with more infos or so, please let me know.
> > I have experienced this problem, also, on 0.99.1, twice in the last > 4 months. It seems to happen when the system is seriously loaded > and going to swapfile a lot. Does anyone know if this was fixed in > 0.99.2 or 0.99.3? There is a description of a bug fixed in 0.99.2 > which states that certain busy filesystems can return 0 on a read, > and the fix handles this case. Has anyone experienced this problem > in .2 or .3? If not, anyone have any clever workarounds, as this is > seriously impacting a customer.
------- End of Original Message -------
From: Christian.Ziemski(...)thyssenkrupp(...)
Hello! that problem is still there in File::Tail 0.99.3 used within Fedora Core 4 and Fedora Core 5. It's a pity. Regards Christian On Di. 23. Mai 2006, 01:52:08, bill@tothept.com wrote: Show quoted text
> After an upgrade to Fedora Core 4, and update of all CPAN modules, the > problem > went away. So I don't think it's File::Tail.
From: Christian.Ziemski
Hello! that problem is still there in File::Tail 0.99.3 used within Fedora Core 4 and Fedora Core 5. It's a pity. Regards Christian On Di. 23. Mai 2006, 01:52:08, bill@tothept.com wrote: Show quoted text
> After an upgrade to Fedora Core 4, and update of all CPAN modules, the > problem > went away. So I don't think it's File::Tail.
From: Christian.Ziemski
Grrr, it seems to be impossible to edit or delete my own messages here. So please ignore my last two ones below and this one. Or better, Matija, can you delete them please? I think I'll have to test my usage of File::Tail a bit more before complaining here again ;-) Christian