]> Sergey Matveev's repositories - public-inbox.git/commit
lei: avoid ETOOMANYREFS, cleanup imports
authorEric Wong <e@80x24.org>
Mon, 1 Feb 2021 08:28:32 +0000 (22:28 -1000)
committerEric Wong <e@80x24.org>
Mon, 1 Feb 2021 11:38:29 +0000 (11:38 +0000)
commit6d50cd33d0186edfb395a9015a7246ef94537909
treefd93f3f8babc3ba271dca3b20a37de8b469636eb
parent1d34aa20424c96fa99de27bc02c160e1de56c0a6
lei: avoid ETOOMANYREFS, cleanup imports

As with PublicInbox::IPC, we'll attempt to bump RLIMIT_NOFILE
and transparently workaround ETOOMANYREFS.  If that fails,
we'll give the user a hint to bump RLIMIT_NOFILE since
ETOOMANYREFS is an uncommon error which users may be unfamiliar
with.

Found while stress testing for segfaults.
script/lei