RE: [squid-users] Can not increase the cache_dir size

From: Elsen Marc <elsen@dont-contact.us>
Date: Sat, 25 Dec 2004 16:14:14 +0100

 
>
>
> hello,
> I have 10 hardisks each 143 GB, when i try to increase the cache_dir
> size can not start:
>
> # squid -N -d 9
> 2004/12/25 17:04:09| Starting Squid Cache version 2.5.STABLE7 for
> i686-pc-linux-gnu...
> 2004/12/25 17:04:09| Process ID 567
> 2004/12/25 17:04:09| With 8192 file descriptors available
> 2004/12/25 17:04:09| Performing DNS Tests...
> 2004/12/25 17:04:09| Successful DNS name lookup tests...
> 2004/12/25 17:04:09| DNS Socket created at 0.0.0.0, port 32807, FD 4
> 2004/12/25 17:04:09| Adding nameserver 192.168.2.14 from
> /etc/resolv.conf
> 2004/12/25 17:04:09| Adding nameserver 192.168.2.9 from
> /etc/resolv.conf
> 2004/12/25 17:04:09| Unlinkd pipe opened on FD 8
> 2004/12/25 17:04:09| Swap maxSize 5120000 KB, estimated 393846 objects
> 2004/12/25 17:04:09| Target number of buckets: 19692
> 2004/12/25 17:04:09| Using 32768 Store buckets
> 2004/12/25 17:04:09| Max Mem size: 4096000 KB
> 2004/12/25 17:04:09| Max Swap size: 5120000 KB
> 2004/12/25 17:04:09| Store logging disabled
> 2004/12/25 17:04:09| Rebuilding storage in /cache1/thndr (CLEAN)
> 2004/12/25 17:04:09| Using Least Load store dir selection
> 2004/12/25 17:04:09| Set Current Directory to /cache1
> 2004/12/25 17:04:09| Loaded Icons.
> 2004/12/25 17:04:09| Accepting HTTP connections at 0.0.0.0,
> port 3128, FD 9.
> 2004/12/25 17:04:09| WCCP Disabled.
> 2004/12/25 17:04:09| Ready to serve requests.
> 2004/12/25 17:04:09| Done reading /cache1 swaplog (917 entries)
> 2004/12/25 17:04:09| Finished rebuilding storage from disk.
> 2004/12/25 17:04:09| 917 Entries scanned
> 2004/12/25 17:04:09| 0 Invalid entries.
> 2004/12/25 17:04:09| 0 With invalid flags.
> 2004/12/25 17:04:09| 917 Objects loaded.
> 2004/12/25 17:04:09| 0 Objects expired.
> 2004/12/25 17:04:09| 0 Objects cancelled.
> 2004/12/25 17:04:09| 0 Duplicate URLs purged.
> 2004/12/25 17:04:09| 0 Swapfile clashes avoided.
> 2004/12/25 17:04:09| Took 0.3 seconds (3169.7 objects/sec).
> 2004/12/25 17:04:09| Beginning Validation Procedure
> 2004/12/25 17:04:09| Not currently OK to rewrite swap log.
> 2004/12/25 17:04:09| storeDirWriteCleanLogs: Operation aborted.
> Aborted
>
> #
>
> when set the cache_dir to 4GB every thing is ok, and squid starts
> but i noticed that my installation can not handle more than
> 4G in the cache_dir
>
> Any help?
>

  Run :

  % ./squid -z

 when changing the cache dir(s) parameters.

 M.
Received on Sat Dec 25 2004 - 08:16:04 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:03 MST