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

From: Brett Glass <squid-users@dont-contact.us>
Date: Thu, 09 Nov 2006 12:19:27 -0700

At 01:05 AM 11/9/2006, Matus UHLAR - fantomas wrote:
 

>On 08.11.06 22:48, Tek Bahadur Limbu wrote:
>> 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:
>
>if you have FreeBSD5 or higher, you can use aufs, which should be faster and
>doesn't require SHM tuning.

FreeBSD 5.x or higher panics when you attempt to use AUFS, UNLESS you apply
a very recent patch to the code involving kqueues. (I believe that the patch
will be in FreeBSD 6.2-RELEASE but was not in FreeBSD 6.1-RELEASE.) I had to
patch the kernel manually to get Squid's AUFS code to work on a client's
system without crashing it. The patch can also be applied to 5.x, I'm sure.
See

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/103127

--Brett Glass
Received on Thu Nov 09 2006 - 12:22:24 MST

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