Open nyarly opened 2 years ago
Part of the fix here would be to have stream-events
time out after ~100ms (or wrap my call to it in a timeout...),
but I worry that the error may suggest that Lorri isn't building either.
glad I'm not the only one running into this! I thought this was caused by me running lorri internal stream-events --kind snapshot
on every prompt, rather than strictly a time-based thing, but I don't actually know if that's the case.
Describe the bug
Periodically, Lorri will hang, without returning anything to requests (which e.g. blocks my shell prompt :/).
Logs report
INFO Failed accepting a client connection, accept_error: Accept(Os { code: 24, kind: Uncategorized, message: "Too many open files" })
To Reproduce
Run Lorri long enough (? 48 hours)
lorri internal stream-events --kind snapshot
never returns.Expected behavior
Lorri should have accept_errors