lnav
lnav copied to clipboard
File reading enters loop when opening many files
lnav version v0.11.1
Describe the bug
The files windows shows a lot of files be read, but after a while it starts looping among a few of them, and never finishes.
To Reproduce
To get around the file descriptors issue I raised the limit to 50000 using ulimit -n 50000
.
lnav backup/*.gz (matches almost 6000 files)
It seems like you've passed the scaling limits of lnav. lnav needs to read, parse, and index all of the files it is fed. So, loading thousands of files is going to take a long time and the results of that processing are not stored on disk.