Was looking at the rules that webgui makes and verified an imperfection in the positioning of the rules of cache_mem, cache_dir and cache_replacement_policy heap , memory_replacement_policy .
cache_dir diskd /var/squid/cache 4000 16 256 cache_mem 8 MB maximum_object_size 50000 KB minimum_object_size 0 KB cache_replacement_policy heap LFUDA memory_replacement_policy heap GDSF in these positions squid first reads the directive of cache_dir and the cache_mem placed for use of squid. However squid reads this and assumes policing DEFAULT LRU. And ignores the variables of control cache_replacement_policy heap LFUDA memory_replacement_policy heap GDSF that the directive are defined in the configuration after cache_dir and cache_mem. I verified this with the command. # squidclient mgr:storedir HTTP/1.0 200 OK Server: squid/2.6.STABLE5 Date: Sat, 24 Feb 2007 00:50:36 GMT Content-Type: text/plain Expires: Sat, 24 Feb 2007 00:50:36 GMT Last-Modified: Sat, 24 Feb 2007 00:50:36 GMT X-Cache: MISS from cerberus.biosystems.ath.cx Via: 1.0 cerberus.biosystems.ath.cx:3128 (squid/2.6.STABLE5) Proxy-Connection: close Store Directory Statistics: Store Entries : 6745 Maximum Swap Size : 4096000 KB Current Store Swap Size: 132968 KB Current Capacity : 3% used, 97% free Store Directory #0 (diskd): /var/squid/cache FS Block Size 2048 Bytes First level subdirectories: 16 Second level subdirectories: 256 Maximum Size: 4096000 KB Current Size: 132968 KB Percent Used: 3.25% Current load metric: 100 / 1000 Filemap bits in use: 6718 of 16384 (41%) Filesystem Space in use: 142272/9430356 KB (2%) Filesystem Inodes in use: 10833/1224702 (1%) Flags: SELECTED Pending operations: 0 Removal policy: lru LRU reference age: 11.06 days Now I manually modified squid.conf and modified the position of the rules and it's work OK unless you it makes a reboot. cache_replacement_policy heap LFUDA memory_replacement_policy heap GDSF cache_dir diskd /var/squid/cache 4000 16 256 cache_mem 8 MB maximum_object_size 50000 KB minimum_object_size 0 KB # squidclient mgr:storedir HTTP/1.0 200 OK Server: squid/2.6.STABLE5 Date: Sat, 24 Feb 2007 00:53:47 GMT Content-Type: text/plain Expires: Sat, 24 Feb 2007 00:53:47 GMT Last-Modified: Sat, 24 Feb 2007 00:53:47 GMT X-Cache: MISS from cerberus.biosystems.ath.cx Via: 1.0 cerberus.biosystems.ath.cx:3128 (squid/2.6.STABLE5) Proxy-Connection: close Store Directory Statistics: Store Entries : 6745 Maximum Swap Size : 4096000 KB Current Store Swap Size: 132968 KB Current Capacity : 3% used, 97% free Store Directory #0 (diskd): /var/squid/cache FS Block Size 2048 Bytes First level subdirectories: 16 Second level subdirectories: 256 Maximum Size: 4096000 KB Current Size: 132968 KB Percent Used: 3.25% Current load metric: 100 / 1000 Filemap bits in use: 6718 of 16384 (41%) Filesystem Space in use: 142272/9430356 KB (2%) Filesystem Inodes in use: 10833/1224702 (1%) Flags: Pending operations: 0 Removal policy: heap -- - = - = - = - = - = - = - = - = - = - <----. Of course it runs William David Armstrong <----|========================== Bio Systems Security Networking <----' NetBSD, OpenBSD or FreeBSD MSN / GT biosystems gmail . com -------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]