On Sat, 19 Jun 2021, nia wrote:
No, the error is ENOMEM ("Cannot allocate memory"), not EMFILE ("Too many open files"). That would be too easy. You're running the program as root, where the limit on locks doesn't apply.
Oops, so it is--my mistake. -RVP