Re: [squid-users] memory leaks

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Sun, 21 May 2006 10:30:12 +0200

> > do NOT use ext2, unless you are prepared to wait for fsck or rebuild
> > filesystem (and loosing the cache) each time machine/power crashes.

On 19.05.06 12:13, Edvard Chitro wrote:
> Power is really stable I have UPS ...

system can crash too, etc etc. do not use ext2, unless you are prepare to
wait for FSCK if that happens, or re-create the cache.

> From my practice Ext3 is really slow ... its just slow when there are a
> lot of small files in a directory .... even directory listing is slow ...

squid directory structure is made so problems from lots of files in
directory should not happen. squid tries to put only a few files into each
directory, that's why it has two-level subdirectory structure.

Also, ext2/ext3 has (now) option dir_index (see man tune2fs) which is used
to speed up file lookups in large directories. However I think that should
noe be needed because of squid directory structure, but you still may try.

> OK I will first try ext2 ... if it crashes then switch to ext3 ...

I asked you if you already do have performance problems.
If you dislike ext*, try xfs. I'd say it's more safe than reisersfs.

(actually, you can use reisersfs with "nolog" option to get some speed
more)

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"One World. One Web. One Program." - Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler
Received on Sun May 21 2006 - 02:30:18 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:02 MDT