RE: [squid-users] Free Bsd and Diskd

From: Stefano <[email protected]>
Date: Mon, 18 Oct 2004 15:40:59 +0200

On Mon, 18 Oct 2004 15:15:36 +0200, Elsen Marc wrote:

|> try to turn disk io method to diskd this is what i get.
|>
|> 2004/10/18 17:17:27| storeDiskdSend: msgsnd: (35) Resource
temporarily
|> unavailable
|> 2004/10/18 17:17:27| storeDiskdSend WRITE: (35) Resource temporarily
|> unavailable
|> 2004/10/18 17:17:27| storeSwapOutFileClosed: dirno 6,
|> swapfile 00000008,
|> errflag=-1
|> (35) Resource temporarily unavailable
|> 2004/10/18 17:17:27| storeDiskdSend: msgsnd: (35) Resource
temporarily
|> unavailable
|> 2004/10/18 17:17:27| storeDiskdSend UNLINK: (35) Resource
temporarily
|> unavailable
|> any ideas as to what it could be?

Try this configuration:
the shared memory in KERNEL

options SYSVSHM # SYSV-style shared memory
                          # Squid Shared Memory DiskD Tuning
options SHMSEG=16 # max shared mem id's per process
options SHMMNI=32 # max shared mem id's per system
options SHMMAX=2097152 # max shared memory segment size (bytes)
options SHMALL=4096 # max amount of shared memory (pages)

the message queue in KERNEL

options SYSVMSG # SYSV-style message queues
                          # Squid Message Queues DiskD Tuning
options MSGMNB=16384 # max of bytes in a queue
options MSGMNI=41 # number of message queue identifiers
options MSGSEG=2049 # number of message segments per queue
options MSGSSZ=64 # size of a message segment
options MSGTQL=512 # max messages in system
    

other settings (requires a lot of RAM)

options MAXFILES=8192
options NMBCLUSTERS=32768

options VFS_AIO

if you want you can fetch a new port (Squid-2.5.STABLE7), type make
deinstall && make config && makereinstall and configure the aufs
support (for testing). This is only for testing usage, i dont'known
about FreeBSD and aufs storage scheme.

Ciao
    
    
Received on Mon Oct 18 2004 - 07:41:02 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST