Date: Sat, 1 Oct 2022 16:09:12 +0000 (UTC) From: doug <doug@safeport.com> To: questions@freebsd.org Subject: Re: mkdir error message -- what does this mean? Message-ID: <b270b218-ffce-e098-4b66-cc48a1eb4da3@safeport.com> In-Reply-To: <20220930200244.31d71c489812fd26c0d39769@sohara.org> References: <e293b9c3b1c168ad1eee3a65510b1aa9@nyclocal.net> <CAGBxaXnc_ornipZxX=NgoDagCjcU80vMXZ1EjZr8j-8RrcdJnw@mail.gmail.com> <CAFbbPuhXUqwcq%2BKsdD=q6C-w6JcypZLMKJGb9vUGp2k8r=G3=Q@mail.gmail.com> <20220930200244.31d71c489812fd26c0d39769@sohara.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Sep 2022, Steve O'Hara-Smith wrote: > On Fri, 30 Sep 2022 14:48:09 -0400 > Paul Procacci <pprocacci@gmail.com> wrote: > >> 31 EMLINK Too many links. Maximum allowable hard links to a single >> file has been exceeded (limit of 32767 hard links per file). >> >> I betcha the parent directory has at least this many number of objects in >> it. > > DIRHASH has a lot to answer for, time was we'd jump through hoops > when writing applications to avoid having huge numbers of files in a > directory, now nobody notices any problems until they hit the limit. > I hit this limit long, long ago. Maybe Version 4 or 5, made the change and forgot all about it. I guess mergermaster and freebsd-update rolled my number forward or the default was made bigger than anything I have now. The only reason for my comment is a bunch of cyrus accounts have inboxes with 200-300k emails. They happily make and delete folders that subdirectories of /var/spool/imap/user/user-name.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b270b218-ffce-e098-4b66-cc48a1eb4da3>