Hi, At 17.25 05/11/2006, Odhiambo WASHINGTON wrote:
* On 05/11/06 14:53 +0100, Guido Serassio wrote: Hi Guido, 5GB is what I expect, and perhaps this is where I may be missing the point, if that specification says it is 5MB! Does my specification mean the size is 5MB, not 5GB?
5MB. Must be: cache_dir coss /usr/local/squid/squid-coss/c0d2p1 5120 max-size=131072 cache_dir coss /usr/local/squid/squid-coss/c0d2p2 5120 max-size=1048575
| And what are c0d2p1 and c0d2p2 ? These are more like device files... I created then manually using: dd if=/dev/zero bs=1048576 count=5120 of=/$path/c0d2p1 dd if=/dev/zero bs=1048576 count=5120 of=/$path/c0d2p1 | Mount points, devices or files ? Device files.
No, they are regular files.
| Your squid is crashing during the aio_read() system call, maybe a | permission problem Not permission in it's literal sense, but maybe permission arising from my not understanding this whole concept. -bash-2.05b$ cd /usr/local/squid/ -bash-2.05b$ ls -al total 14 drwxr-xr-x 7 root wheel 512 Nov 5 15:52 . drwxr-xr-x 39 root wheel 1024 Oct 8 22:27 .. drwxr-x--- 2 squid squid 512 Nov 5 15:52 cache drwxr-xr-x 18 squid squid 512 Aug 3 21:03 cache1 drwxr-xr-x 18 squid squid 512 Oct 18 20:42 cache2 drwxr-x--- 2 squid squid 1536 Nov 5 16:32 logs drwxr-xr-x 2 squid squid 512 Oct 21 10:50 squid-coss -bash-2.05b$ cd squid-coss/ -bash-2.05b$ ls -al total 10490916 drwxr-xr-x 2 squid squid 512 Oct 21 10:50 . drwxr-xr-x 7 root wheel 512 Nov 5 15:52 .. -rw-r--r-- 1 squid squid 5368709120 Oct 21 10:49 c0d2p1 -rw-r--r-- 1 squid squid 5368709120 Oct 21 10:53 c0d2p2 -bash-2.05b$
File permissions seems fine.
What do I need to do?
Start with only one coss cache_dir and see what happens. Regards Guido - ======================================================== Guido Serassio Acme Consulting S.r.l. - Microsoft Certified Partner Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY Tel. : +39.011.9530135 Fax. : +39.011.9781115 Email: guido.serassio@xxxxxxxxxxxxxxxxx WWW: http://www.acmeconsulting.it/