Hello All, News from my squid box.
I have changed fs from reiserfs to ext2 if you remember (due to the suspect that it eats RAM). And after cache dir is filled up ~95% I still get 300 MB of RAM gone again.... It is a real mystery for me where the hell all RAM has gone, but I suspect squid. Because when squid was turned off I had ~ 350 RAM in the buffers and cache ... and now I have only: total used free shared buffers cached Mem: 516312 510936 5376 0 17984 95408 -/+ buffers/cache: 397544 118768 Swap: 248968 0 248968 Any ideas ? Regards, Edvard Chitro >> > 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, [EMAIL PROTECTED] ; 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 >