Re: [squid-users] Testing Squid-2.6S3 with COSS

From: Odhiambo WASHINGTON <[email protected]>
Date: Sat, 21 Oct 2006 17:19:00 +0300

* On 21/10/06 13:12 +0200, Mark Elsen wrote:
| >Hi,
| >
| >Perhaps I am rushing all this and ending up missing something crucial
| >that I should understand. Allow me to ask anyway.
| >This is what I am doing (and missing the point in the process!):
| >
| >
| >dd if=/dev/zero bs=1048576 count=5120 of=/shared/squid-coss/coss1
| >dd if=/dev/zero bs=1048576 count=5120 of=/shared/squid-coss/coss2
| >
| >cache_dir coss /shared/squid-coss/coss1 5 max-size=131072
| >cache_dir coss /shared/squid-coss/coss2 5 max-size=1048575
| >cache_swap_log /usr/local/squid/logs/%s
| >
| >
| >Squid will not start, spewing the following:
| >
| >
| >2006/10/21 11:38:10| COSS: max disk fileno is 10240
| >2006/10/21 11:38:10| COSS: number of stripes: 5 of 1048576 bytes each
| >2006/10/21 11:38:10| COSS: number of memory-only stripes 10 of 1048576
| >bytes each
| >2006/10/21 11:38:10| COSS: max disk fileno is 10240
| >2006/10/21 11:38:10| COSS: number of stripes: 5 of 1048576 bytes each
| >2006/10/21 11:38:10| COSS: number of memory-only stripes 10 of 1048576
| >bytes each
| >
| >
| >Please explain to me what I have missed.
| >
| >
| >
|
| Please post more complete cache.log fragment, including 'FATAL' entries.

There is NO fatal entries! Squid dies peacefully ;)

PS: This is FreeBSD 6.2-PRERELEASE. I run fine with aufs though.

beastie# cp /dev/null /usr/local/squid/logs/cache.log
beastie# sh /usr/local/etc/rc.d/squid start
Starting squid.
2006/10/21 17:15:26| COSS: max disk fileno is 10240
2006/10/21 17:15:26| COSS: number of stripes: 5 of 1048576 bytes each
2006/10/21 17:15:26| COSS: number of memory-only stripes 10 of 1048576 bytes each
2006/10/21 17:15:26| COSS: max disk fileno is 10240
2006/10/21 17:15:26| COSS: number of stripes: 5 of 1048576 bytes each
2006/10/21 17:15:26| COSS: number of memory-only stripes 10 of 1048576 bytes each
2006/10/21 17:15:26| WARNING cache_mem is larger than total disk cache space!

beastie# less /usr/local/squid/logs/cache.log
2006/10/21 17:15:26| Starting Squid Cache version 2.6.STABLE3 for i386-portbld-freebsd6.1...
2006/10/21 17:15:26| Process ID 68853
2006/10/21 17:15:26| With 8960 file descriptors available
2006/10/21 17:15:26| Using kqueue for the IO loop
2006/10/21 17:15:26| DNS Socket created at 0.0.0.0, port 51345, FD 5
2006/10/21 17:15:26| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2006/10/21 17:15:26| Adding nameserver 62.8.64.2 from /etc/resolv.conf
2006/10/21 17:15:26| Adding nameserver 62.8.64.4 from /etc/resolv.conf
2006/10/21 17:15:26| User-Agent logging is disabled.
2006/10/21 17:15:26| Referer logging is disabled.
2006/10/21 17:15:29| Starting Squid Cache version 2.6.STABLE3 for i386-portbld-freebsd6.1...
2006/10/21 17:15:29| Process ID 68856
2006/10/21 17:15:29| With 8960 file descriptors available
2006/10/21 17:15:29| Using kqueue for the IO loop
2006/10/21 17:15:29| DNS Socket created at 0.0.0.0, port 55213, FD 5
2006/10/21 17:15:29| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2006/10/21 17:15:29| Adding nameserver 62.8.64.2 from /etc/resolv.conf
2006/10/21 17:15:29| Adding nameserver 62.8.64.4 from /etc/resolv.conf
2006/10/21 17:15:29| User-Agent logging is disabled.
2006/10/21 17:15:29| Referer logging is disabled.
2006/10/21 17:15:33| Starting Squid Cache version 2.6.STABLE3 for i386-portbld-freebsd6.1...
2006/10/21 17:15:33| Process ID 68859
2006/10/21 17:15:33| With 8960 file descriptors available
2006/10/21 17:15:33| Using kqueue for the IO loop
2006/10/21 17:15:33| DNS Socket created at 0.0.0.0, port 59576, FD 5
2006/10/21 17:15:33| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2006/10/21 17:15:33| Adding nameserver 62.8.64.2 from /etc/resolv.conf
2006/10/21 17:15:33| Adding nameserver 62.8.64.4 from /etc/resolv.conf
2006/10/21 17:15:33| User-Agent logging is disabled.
2006/10/21 17:15:33| Referer logging is disabled.
2006/10/21 17:15:36| Starting Squid Cache version 2.6.STABLE3 for i386-portbld-freebsd6.1...
2006/10/21 17:15:36| Process ID 68862
2006/10/21 17:15:36| With 8960 file descriptors available
2006/10/21 17:15:36| Using kqueue for the IO loop
2006/10/21 17:15:36| DNS Socket created at 0.0.0.0, port 65494, FD 5
2006/10/21 17:15:36| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2006/10/21 17:15:36| Adding nameserver 62.8.64.2 from /etc/resolv.conf
2006/10/21 17:15:36| Adding nameserver 62.8.64.4 from /etc/resolv.conf
2006/10/21 17:15:36| User-Agent logging is disabled.
2006/10/21 17:15:36| Referer logging is disabled.
2006/10/21 17:15:39| Starting Squid Cache version 2.6.STABLE3 for i386-portbld-freebsd6.1...
2006/10/21 17:15:39| Process ID 68865
2006/10/21 17:15:39| With 8960 file descriptors available
2006/10/21 17:15:39| Using kqueue for the IO loop
2006/10/21 17:15:39| DNS Socket created at 0.0.0.0, port 56634, FD 5
2006/10/21 17:15:39| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2006/10/21 17:15:39| Adding nameserver 62.8.64.2 from /etc/resolv.conf
2006/10/21 17:15:39| Adding nameserver 62.8.64.4 from /etc/resolv.conf
2006/10/21 17:15:39| User-Agent logging is disabled.
2006/10/21 17:15:39| Referer logging is disabled.

-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
Enzymes are things invented by biologists that explain things which
otherwise require harder thinking.
		-- Jerome Lettvin
Received on Sat Oct 21 2006 - 08:19:30 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:04 MST