logo       

Re: inn installation: msg#00147

network.inn

Subject: Re: inn installation

On Tue, 27 May 2003, Hubert MERCIER - Facult=E9 des Sciences wrote:

> And my BSD box does not have a lot of inodes, so if i make count :
>=20
> 1500 students * 20 msgs * 31 days per month * 6 month =3D 5 580 000 inode=
s !!!
>=20
> I don't have such a high number of entries in my filesystem. I currently
> have 8G for groups, and 1 000 000 inodes for this use.

I'm not even sure you have enough disk space, for that matter; once you=20
count headers, an average brief post is 1 or 2 KB.

But yes, news does use more inodes than most other applications. There=20
are a few solutions:

- build a partition with more inodes (using mkfs/newfs); your system's
default seems to be 8K/inode, which as you note is inadequate (in fact,
some systems have a filesystem type "news" which attempts to do this=20
for you)

- use a filesystem that doesn't have an inode limitation (we use ReiserFS
here, and it works quite well -- this is on linux, though)

- configure INN to use a different storage method


The first is probably the quickest fix for you. The second may not be=20
feasible, but is certainly pleasant as you never have to worry about it=20
again. The third you are trying, see below.


> I tried the storage method 'timecaf', which i thought was to store every
> messages of a group in a single file, but it seems to create as much file=
s
> as tradspool, and much bigger (6M per message for 2 lines of text seems a
> lot !!).

timecaf should work for you; I'm not sure why you're seeing such big=20
files. (Are you using `du` or `ls` to check the file size? I wonder if=20
they could be sparse files?)


--=20
Jeffrey M. Vinocur
jeff@xxxxxxxxxx





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise