From: Eric Wong Date: Mon, 1 Feb 2021 08:28:32 +0000 (-1000) Subject: lei: avoid ETOOMANYREFS, cleanup imports X-Git-Tag: v1.7.0~1249 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=6d50cd33d0186edfb395a9015a7246ef94537909;hp=6d50cd33d0186edfb395a9015a7246ef94537909;p=public-inbox.git 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. ---