Maximum number of Files for an EXT2 partition

kyle trek at becon.org
Sat May 26 23:56:53 EDT 2001


--------------=_4D4801678E1808BAFBC8
Content-Description: filename="text1.txt"
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Just guessing, but could you have used up all available inodes?
trek at becon.org

Original Message dated 5/24/01, 9:18:19 PM
Author: "Bradley J. Bartram" <bradbartram at wycol.net>
Re: Maximum number of Files for an EXT2 partition:


Hello everyone,
=20
Does anybody on the list know what the maximum number of files that can =

be on a single ext2 partition is?
=20
I have a web server that gets a strange error.  I have a smallish (8GB) =

hd divided into 3 partitions (/, /boot, /usr).  The apache root is on "/=
"=20
under "/home/httpd/html".  Under html, I have several directories and on=
e=20
directory containing about 1600 subdirectories.  Each Sub directory has =
2=20
sub directories and about 90 files per directory.  All in all there are =

about 288000 files in this directory.  About 3200 new files are created =

everyday.
=20
At some point, and I'm not quite sure when, this server reports "no room=
=20
left on disk".  Running "df" shows plenty of free space on all partition=
s=20
so I'm lead to believe that I'm pushing the limits of the filesystem. =20
What do you think?
=20
Unfortunately, this server was pressed into duty and is obviously not=20
configured for optimal efficiency.  Not to mention, the method of file=20
delivery that generates these static files could and is being improved. =
=20
I would just like to know so I can plan on filling up the filesystem or =

whatever and also so I know the next time.
=20
Thanks.
=20
Brad
--------------=_4D4801678E1808BAFBC8
Content-Description: filename="text1.html"
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV=3D"CONTENT-TYPE" CONTENT=3D"text/html; charset=3Diso-8=
859-1">
	<TITLE>Re: Maximum number of Files for an EXT2 partition</TITLE>
	<META NAME=3D"GENERATOR" CONTENT=3D"StarOffice/5.2 (Linux)">
	<META NAME=3D"CREATED" CONTENT=3D"20010526;23555400">
	<META NAME=3D"CHANGEDBY" CONTENT=3D"kyle ">
	<META NAME=3D"CHANGED" CONTENT=3D"20010526;23563800">
</HEAD>
<BODY BGCOLOR=3D"#ffffff">
<P>Just guessing, but could you have used up all available inodes?</P>
<P>trek at becon.org</P>
<HR>
<P STYLE=3D"margin-bottom: 0in">Original Message dated 5/24/01, 9:18:19
PM</P>
<P STYLE=3D"margin-bottom: 0in">Author: &quot;Bradley J. Bartram&quot;
&lt;bradbartram at wycol.net&gt;</P>
<P STYLE=3D"margin-bottom: 0in">Re: Maximum number of Files for an EXT2
partition:</P>
<HR>
<P><BR><BR>
</P>
<P STYLE=3D"margin-bottom: 0in"><FONT FACE=3D"Arial"><FONT SIZE=3D2>Hell=
o
everyone,</FONT></FONT></P>
<P STYLE=3D"margin-bottom: 0in">&nbsp;</P>
<P STYLE=3D"margin-bottom: 0in"><FONT FACE=3D"Arial"><FONT SIZE=3D2>Does=

anybody on the list know what the maximum number of files that can be
on a single ext2 partition is?</FONT></FONT></P>
<P STYLE=3D"margin-bottom: 0in">&nbsp;</P>
<P STYLE=3D"margin-bottom: 0in"><FONT FACE=3D"Arial"><FONT SIZE=3D2>I ha=
ve a
web server that gets a strange error.&nbsp; I have a smallish (8GB) hd
divided into 3 partitions (/, /boot, /usr).&nbsp; The apache root is on
&quot;/&quot; under &quot;/home/httpd/html&quot;.&nbsp; Under html, I
have several directories and one directory containing about 1600
subdirectories.&nbsp; Each Sub directory has 2 sub directories and
about 90 files per directory.&nbsp; All in all there are about 288000
files in this directory.&nbsp; About 3200 new files are created
everyday.</FONT></FONT></P>
<P STYLE=3D"margin-bottom: 0in">&nbsp;</P>
<P STYLE=3D"margin-bottom: 0in"><FONT FACE=3D"Arial"><FONT SIZE=3D2>At s=
ome
point, and I'm not quite sure when, this server reports &quot;no room
left on disk&quot;.&nbsp; Running &quot;df&quot; shows plenty of free
space on all partitions so I'm lead to believe that I'm pushing the
limits of the filesystem.&nbsp; What do you think?</FONT></FONT></P>
<P STYLE=3D"margin-bottom: 0in">&nbsp;</P>
<P STYLE=3D"margin-bottom: 0in"><FONT FACE=3D"Arial"><FONT SIZE=3D2>Unfo=
rtunately,
this server was pressed into duty and is obviously not configured for
optimal efficiency.&nbsp; Not to mention, the method of file delivery
that generates these static files could&nbsp;and is being improved.&nbsp=
;
I would just like to know so I can plan on filling up the filesystem or
whatever and also so I know the next time.</FONT></FONT></P>
<P STYLE=3D"margin-bottom: 0in">&nbsp;</P>
<P STYLE=3D"margin-bottom: 0in"><FONT FACE=3D"Arial"><FONT SIZE=3D2>Than=
ks.</FONT></FONT></P>
<P STYLE=3D"margin-bottom: 0in">&nbsp;</P>
<P STYLE=3D"margin-bottom: 0in"><FONT FACE=3D"Arial"><FONT SIZE=3D2>Brad=
</FONT></FONT></P>
</BODY>
</HTML>
--------------=_4D4801678E1808BAFBC8--



More information about the nflug mailing list