Search squid archive

Re: Diskd Message Queues and Shared memory for FreeBSD 6.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Thank you very much to everybody for the information. I now know the
reason why Squid and the FreeBSD 6.1 box crashes every now and then
when I use aufs.

I was using Diskd for the past 2 weeks but it caused the Squid process
to be zombie when the load goes above 100 requests/second. 

Also I don't see any kind of useful info on the cache.log when the Squid
process gets zombied except for:

2006/11/10 11:28:14| clientReadRequest: FD 142 (x.x.x.x:60171)
Invalid Request
2006/11/10 11:28:16| parseHttpRequest: Unsupported method 'aa
'
2006/11/10 11:28:16| clientReadRequest: FD 253 (x.x.x.x:60181)
Invalid Request
2006/11/10 11:28:18| parseHttpRequest: Unsupported method 'aa
'
2006/11/10 11:28:18| clientReadRequest: FD 96 (x.x.x.x:60191)
Invalid Request
2006/11/10 11:28:20| parseHttpRequest: Unsupported method 'aa


I will apply the patch for aufs in my FreeBSD 6.1 (amd 64 bit) server
tonight.

For the time being, I will try to use ufs. 

By the way guys, I have these compiled in my FreeBSD 6.1 kernel:


options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #enable logging to syslogd(8)
options         IPFIREWALL_FORWARD      #enable transparent proxy
options         IPFIREWALL_VERBOSE_LIMIT=1000    #limit verbosity
options         IPFIREWALL_FORWARD_EXTENDED     #all packet dest changes

#DiskD Shared Memory and Message Queue
options         MSGMAX=32768  (max characters in a message)
options         MSGMNB=16384
options         MSGMNI=41
options         MSGSEG=2049
options         MSGSSZ=64
options         MSGTQL=2048
options         SHMSEG=128
options         SHMMNI=192
options         SHMMAX=33554432
options         SHMMIN=1
options         SHMALL=8192
options         MAXDSIZ=2147483648
options         DFLDSIZ=536870912
options         CPU_ENABLE_SSE
options         UFS_DIRHASH
options         KVA_PAGES=512

#other settings (requires a lot of RAM)

options MAXFILES=8192
options NMBCLUSTERS=32768


Please shed some light on this.


On Fri, 10 Nov 2006 13:05:06 +0800
Adrian Chadd <adrian@xxxxxxxxxxxxxxx> wrote:

> On Thu, Nov 09, 2006, Brett Glass wrote:
> 
> > 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
> 
> Does that mean you're successfully running Squid under FreeBSD + AUFS?
> 
> 
> 
> 
> Adrian
> 
> 


- -- 


With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

Jwl Systems Department

Worldlink Communications Pvt. Ltd.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFVBRhwXBzLfFnNxQRAsCYAKCdDNvSHDbbPXnboTO+/CmFbaPWtgCg4MZZ
vh7ctwUqYe1rM65b5oFNIUE=
=w0mu
-----END PGP SIGNATURE-----


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux