Date: Fri, 30 Sep 2022 12:29:16 -0700 From: jin guojun <jguojun@gmail.com> To: "Steve O'Hara-Smith" <steve@sohara.org> Cc: questions@freebsd.org Subject: Re: mkdir error message -- what does this mean? Message-ID: <CAE6yT5toCeSA4jWk8rp-XM2uPe4=270ZErqczOHy6HPKTTtLBw@mail.gmail.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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] If that could be the case, running following commands from the leaf to the top may give some clue. (since there are only 5 levels on the path) ls -lR | wc -l On Fri, Sep 30, 2022 at 12:03 PM Steve O'Hara-Smith <steve@sohara.org> 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. > > -- > Steve O'Hara-Smith <steve@sohara.org> > > [-- Attachment #2 --] <div dir="ltr"><div>If that could be the case, running following commands from the leaf to the top may give some clue.</div><div>(since there are only 5 levels on the path)</div><div><br></div><div>ls -lR | wc -l</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 30, 2022 at 12:03 PM Steve O'Hara-Smith <<a href="mailto:steve@sohara.org">steve@sohara.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, 30 Sep 2022 14:48:09 -0400<br> Paul Procacci <<a href="mailto:pprocacci@gmail.com" target="_blank">pprocacci@gmail.com</a>> wrote:<br> <br> > 31 EMLINK Too many links. Maximum allowable hard links to a single<br> > file has been exceeded (limit of 32767 hard links per file).<br> > <br> > I betcha the parent directory has at least this many number of objects in<br> > it.<br> <br> DIRHASH has a lot to answer for, time was we'd jump through hoops<br> when writing applications to avoid having huge numbers of files in a<br> directory, now nobody notices any problems until they hit the limit.<br> <br> -- <br> Steve O'Hara-Smith <<a href="mailto:steve@sohara.org" target="_blank">steve@sohara.org</a>><br> <br> </blockquote></div>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE6yT5toCeSA4jWk8rp-XM2uPe4=270ZErqczOHy6HPKTTtLBw>
