Skip to content

bug: too many open files with recursive search #1387

Open
@ykonstant1

Description

@ykonstant1

Version:

eza - A modern, maintained replacement for ls
v0.20.22 [+git]
https://github.com/eza-community/eza

Command like arguments:

eza --almost-all --recurse >/dev/null

Shell & Terminal : bash and a host of terminals: xterm, terminator, kitty, ghostty, wezterm (all reproduce)

OS : Linux 6.13.3-arch1-1
WM : Cinnamon 6.4.7 (Xorg)
Hardware : Lenovo Thinkpad P53

Issue:

When recursing over a large directory hierarchy, the entirety of /home, I get a large number of "too many open files (os error 24)" errors:

...
./data/_back-data/mozilla_profile_admin/xxxxxxxx.default/storage/default/https+++ask.libreoffice.org/cache/morgue/241: Too many open files (os error 24)
./data/_back-data/mozilla_profile_admin/xxxxxxxx.default/storage/default/https+++ask.libreoffice.org/cache/morgue/242: Too many open files (os error 24)
...

etc.
``
Other utilities like ls and `lsd` do not display this behavior. I am not sure as to the cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    errorsSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions