Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: Time::HiRes strange behavior

by golden.radish (Initiate)
on Feb 06, 2010 at 14:55 UTC ( #821745=note: print w/replies, xml ) Need Help??


in reply to Re^3: Time::HiRes strange behavior
in thread Time::HiRes strange behavior

Yep, it doesn't work at all without 'directio' as an option at mount time, even just trying to tail from the shell.
However, I was able to get it to work 99.993% of the time (tested with 20,000+ lines) by altering the File::Tail option 'reset_tail' to 1.
That provides the expected behavior, for the moment. There are rare occasions when log lines are duplicated, such as when there are more than 9-10 events per second. However that is rare with my data stream, so this will be good enough for now.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://821745]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2020-01-24 03:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?