SUMMARY 32K file limit

From: Jon Levin (jonl@ihs.com)
Date: Tue Oct 07 1997 - 16:47:50 CDT


THANKS TO:
Stephen Johnston <sjohnsto@eso.org>
Nate Itkin <Nate-Itkin@ptdcs2.intel.com>
Casper Dik <casper@holland.Sun.COM>

Thanks also to Dan Brainard a colleague of mine who supplied me with the
bug report from sunsolve.

The short summary is that the 32,767 limit refers to the MAXLINK
parameter in /usr/include/sys/param.h, and corresponds to limiting the
number of directories allowed in a single directory. The confusion came
when our customer was told by Sun support that it is a file limit.
Adding to the confusion is the sunsolve bug report #1224920 which also
refers to a file limit in testing Sun OS 4.1.3_U1 and Solaris 2.4. I
ended up writing a simple script to test Solaris 2.5.1, and the
directory test failed to create the 32675th directory while the file
test worked just fine.

ORIGINAL QUESTION:
Managers,

Our company has a customer that is using Auto-trol's Centra product.
They want to move their data base from an HP to a Sun box running
Solaris 2.5 or 2.5.1. They currently have more than 32K files in a
single directory. Is there a kernel parameter that can be tuned to
increase the number of files limit or is the 32K limit a hardware
limitation?

Any help would be appreciated. I will summarize.
Thanks

--
Jon Levin                            Information Handling Services
Unix Systems Administrator           Inverness Business Park
Phone: (303) 858-6058                15 Inverness Way East
email:jon.levin@ihs.com              Englewood, CO 80112



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:05 CDT