Re: Some questions

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 04 Dec 1998 09:32:20 -0700

You should have added the new disk *after* the old one, not
before it.

Or, you should keep the swap.state files on the cache_dir partitions
themselves. This means you should NOT use the 'cache_swap_log' option.

I guess we can't guarantee that the cache format will never change again.
We wouldn't change it until a next major version though, e.g. squid-3.x

Squid does cache FTP objects.

Duane W.

>Hi !
>
>We're very impressed by this nice proxy server, but there are some
>questions left:
>
>1) We attached a second disk to our squid cache and added it to
> squid.conf. After squid -z it had the directories and seemed
> to be used by squid. But "storedir" from the cachemgr-CGI-script
> says the following:
>
>Store Directory Statistics:
>Store Entries : 535116
>Maximum Swap Size : 32768000 KB
>Current Store Swap Size: 7449174 KB
>Current Capacity : 23% used, 77% free
>
>[This is the disk we added afterwards]
>Store Directory #0: /data0
>First level subdirectories: 256
>Second level subdirectories: 256
>Maximum Size: 16384000 KB
>Current Size: 4521875 KB
>Percent Used: 27.60%
>Filemap bits in use: 373880 of 2520615 (15%)
>[As you can see here, the size and filesystem space used are differing
> heavily]
>Filesystem Space in use: 66593/17578138 KB (0%)
>Filesystem Inodes in use: 65817/2154240 (3%)
>Flags:
>
>[This is the disk which was running first]
>Store Directory #1: /data1
>First level subdirectories: 256
>Second level subdirectories: 256
>Maximum Size: 16384000 KB
>Current Size: 2927299 KB
>Percent Used: 17.87%
>Filemap bits in use: 159896 of 2520615 (6%)
>Filesystem Space in use: 6858114/17578138 KB (39%)
>Filesystem Inodes in use: 481232/2154240 (22%)
>[What does this mean ? Is it possible to tell Directory #0 also
> to be selected ?]
>Flags: SELECTED
>
> By the way, we're using squid 2.0-Patch-2
>
>2) Will squid change again it's directory-level format in new versions ?
> We'd like to have a stable form of this format, so we don't have to
> make a new cache disk everytime we change the version...
>
>3) Are there plans for the future to also cache FTP-connections ? Sometimes
> we have more FTP-KBytes (mostly the same stuff -> good for caching)
> than HTTP-KBytes, so this would be a nice feature.
>
>4) Is there a utility to read the contents of the files cache_swap_log.00,
> cache_swap_log.01, etc. ?
>
>Thanx for your time and good luck for the future !
>
>Bye,
> Udo
>--
>Udo Wolter (i.A. Ref. V A Kommunikationsnetze)
>Email: udo.wolter@charite.de
>Tel.: (030) 450 70028 / (030) 450 70039
Received on Fri Dec 04 1998 - 09:50:41 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:33 MST