[squid-users] Diskd Message Queues and Shared memory for FreeBSD 6.x

From: Tek Bahadur Limbu <teklimbu@dont-contact.us>
Date: Wed, 08 Nov 2006 22:48:21 +0545

Dear All,

I am using squid-2.5/2.6 with FreeBSD 6.0/6.1 on some of my Dell SC420/430 servers with 1GB memory. I need to
compile DISKD support in FreeBSD kernel. I read in Squid's FAQ which recommends
the following values for the message queues and shared memory:

Message Queues:

options MSGMNB=8192 # max # of bytes in a queue
options MSGMNI=40 # number of message queue identifiers
options MSGSEG=512 # number of message segments per queue
options MSGSSZ=64 # size of a message segment
options MSGTQL=2048 # max messages in system

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
Shared Memory:

Now, I guess that these values were recommended for a system built at
least 3/4 years ago. My question is "Are the above values good enough
for recent versions of FreeBSD such as 6.0 or 6.1?"

-- 
...
With best regards and good wishes,
Yours sincerely,
Tek Bahadur Limbu
Jwl Systems Department
Worldlink Communications

Received on Wed Nov 08 2006 - 10:01:05 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:03 MST