Once upon a time, Dave Raven said that
> Hi all,
> I'm having some problems running diskd on a freebsd4.6-STABLE system.
> Squid runs perfectly until I change from ufs to diskd, when it never
> starts
> and loops through this in the cache.log:
>
> 2002/09/01 14:49:59| Starting Squid Cache version 2.4.STABLE7 for
> i386-portbld-freebsd4.6...
> 2002/09/01 14:49:59| Process ID 41835
> 2002/09/01 14:49:59| With 32768 file descriptors available
> 2002/09/01 14:49:59| Performing DNS Tests...
> 2002/09/01 14:49:59| Successful DNS name lookup tests...
> 2002/09/01 14:49:59| DNS Socket created on FD 4
> 2002/09/01 14:49:59| Adding nameserver from /etc/resolv.conf
> 2002/09/01 14:49:59| Adding nameserver from /etc/resolv.conf
> 2002/09/01 14:49:59| Adding nameserver from /etc/resolv.conf
> 2002/09/01 14:49:59| Unlinkd pipe opened on FD 9
> 2002/09/01 14:49:59| Swap maxSize 6144000 KB, estimated 472615 objects
> 2002/09/01 14:49:59| Target number of buckets: 23630
> 2002/09/01 14:49:59| Using 32768 Store buckets
> 2002/09/01 14:49:59| Max Mem size: 131072 KB
> 2002/09/01 14:49:59| Max Swap size: 6144000 KB
> 2002/09/01 14:49:59| Store logging disabled
>
>
> This just keeps going and going... I have included support for diskd,
> is there any reason this could be happening?
>
you need this option on your kernel and recompile your kernel
options MSGMNB=16384
options MSGMNI=41
options MSGSEG=2049
options MSGSSZ=64
options MSGTQL=512
options SHMSEG=16
options SHMMNI=32
options SHMMAX=2097152
options SHMALL=4096
the box using 256 mb RAM there's some link which defined howto
measure the option above but i'm forgot somehow ; i'l send it to you if
i found again. But the options seems OK when you run the box with a
small mount of RAM either ( 64 or 32 mb ).
after recompile the kernel make sure you compile the squid
with these options
--enable-storeio="ufs diskd"
and make sure at your squid.conf defined the file system type like
cache_dir diskd /path/to/path.cache.dir BLA BLA BLA
Good Luck
Cheers
S. Hendry
> Thanks
> --Dave.
>
>
>
Received on Sun Sep 01 2002 - 08:51:53 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:00 MST