Comments (2)
I'm experiencing a similar issue.
In my case I'm tailing a fast-changing file with up to 4 milions of entries.
However it seems to me that this is more related to the speed at which the file is appended to, rather than the volume of the file itself.
- Tail version: v1.4.8 and v1.4.11
- OS: Ubuntu 20
- Arch: x86_64
Edit:
Upon inspection, it seems that setting this might work: Tail.Config.CompleteLines = true
from tail.
After running with CompleteLines=true
for >24h, I see no issues with incomplete lines.
from tail.
Related Issues (20)
- noTomb: useless fmt.Errorf calls HOT 3
- Don't tail for repeatedly opened file. HOT 5
- Dealing with utf16 string HOT 2
- [Question] The line will be truncated during kube-apiserver (another app) is writing in. HOT 2
- Cannot determine if a given line is complete or not HOT 17
- End log lost due to log rotation HOT 1
- Inotify backend does not correctly handle one file being watched twice HOT 2
- StopAtEOF does not function as expected. HOT 1
- Concurrent usage of tail results in unexpected behavior HOT 1
- Tail non-existent file: Lines channel closes when MustExist=false. HOT 3
- StartTail followed by append to file is race-prone
- package not in GOROOT HOT 1
- inotify_tracker logs fatal message without including error
- File unexpectedly closes during tailing process
- Continious truncate is not handled correctly
- read part message HOT 1
- Support `tail -n`
- StopAtEOF is racy
- Add error message to logs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tail.