]> Sergey Matveev's repositories - public-inbox.git/commit
ipc: more helpful ETOOMANYREFS error messages
authorEric Wong <e@80x24.org>
Mon, 1 Feb 2021 08:28:17 +0000 (22:28 -1000)
committerEric Wong <e@80x24.org>
Mon, 1 Feb 2021 11:38:11 +0000 (11:38 +0000)
commit620215dbaa63ecb04923bb29a1ed78606286c192
tree13be0f26cbf8d393dc8d8c50309da11feed57443
parent21ce1a28915374297829bd05feda0cea52adb324
ipc: more helpful ETOOMANYREFS error messages

ETOOMANYREFS is probably a unfamiliar error to most users, so
give a hint about RLIMIT_NOFILE.  This can be hit on my system
running 3 simultaneous queries with my system default limit of
1024.

There's also no need to import Errno constants for uncommon
errors, so we'll stop using Errno, here.

We'll also try to bump RLIMIT_NOFILE as much as possible
to avoid this error.
lib/PublicInbox/IPC.pm
lib/PublicInbox/LEI.pm