AW: AW: [squid-users] Squid File Descriptor Size

From: <Markus.Rietzler@dont-contact.us>
Date: Thu, 27 Jun 2002 12:48:17 +0200

do you have a "high volume" squid?
we also use aufs with our squids (on suse linux 7.3) without major problems.
aufs should be a bit buggy - see squid.conf comments. but we don't have any
segmentation faults. we use configure with the following options:

./configure --with-aio-threads=32 \
             --with-pthreads \
             --enable-storeio=ufs,aufs \
             --disable-ident-lookups \
             --prefix=/users/www/squid \
             --enable-err-language=German \
             --enable-underscores \
             --disable-internal-dns \
             --enable-gnuregex

configure options for aufs:

 --enable-async-io[=N_THREADS]
                         Shorthand for
                         --with-aio-threads=N_THREADS
                         --with-pthreads
                         --enable-storeio=ufs,aufs"

maybe you can increase the number of threads, default is 5 (i think)

Markus Rietzler
* <rietzler_software/>
* RZF NRW
* Tel: 0211.4572-130

> -----Ursprüngliche Nachricht-----
> Von: Mark Tinka [mailto:aknit44@yahoo.co.uk]
> Gesendet am: Donnerstag, 27. Juni 2002 12:43
> An: Markus.Rietzler@rzf.fin-nrw.de; squid-users@squid-cache.org
> Cc: aknit44@yahoo.co.uk
> Betreff: Re: AW: [squid-users] Squid File Descriptor Size
>
> hey guys....
>
> i enabled async-io using the aufs file system.. it had
> earlier warned of possible system instability, and it
> did just that.. 30 seconds after i started squid in
> async-io mode, it crashed.. giving a segmentation
> fault.. so i reverted to the ufs file system...
>
> is it possible to have async-io running a little more
> stable..?..
>
> AKNIT
>
>
> --- Markus.Rietzler@rzf.fin-nrw.de wrote: > you
> should first edit
> >
> > /usr/include/bits/types.h
> >
> > change value for
> >
> > FD_SETSIZE to whatever you want...
> >
> > then do a complete rebuild
> >
> > ./configure
> >
> > watch the messages flying over your monitor, look
> > for FD_SETSIZE
> > if configure really is able to see your file
> > descriptor change..
> >
> > ./make
> > ./make install
> >
> > change /usr/include/bits/types.h back to the old
> > values.
> >
> > in your startup script for squid you should add
> >
> > ulimit -n xxxxx
> >
> > to tell the os that for this shell/process it should
> > use another
> > number of file descriptors
> >
> > this worked with our squid
> >
> >
> > Markus Rietzler
> > * <rietzler_software/>
> > * RZF NRW
> > * Tel: 0211.4572-130
> >
> >
> >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Mark Tinka [mailto:aknit44@yahoo.co.uk]
> > > Gesendet am: Donnerstag, 27. Juni 2002 11:35
> > > An: squid-users@squid-cache.org
> > > Betreff: [squid-users] Squid File Descriptor Size
> > >
> > > hi guys...
> > >
> > > i am trying to increase my FD size from 4096 to
> > > 16384.. i am running SuSE 8.0 professional... i
> > > installed the squid source rpm, edited the spec
> > file
> > > to read 16384 file descriptors from the original
> > > 4096.. rebuilt the spec file into an rpm, deleted
> > the
> > > running rpm and installed my newly built squid
> > rpm...
> > >
> > > upon starting squid, my cache.log tells me squid
> > is
> > > still starting with 4096 descriptors.. is there
> > > something i am missing...?..
> > >
> > > all help appreciated...
> > >
> > > AKNIT
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Everything you'll ever need on one web page
> > > from News and Sport to Email and Music Charts
> > > http://uk.my.yahoo.com
> > >
> >
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
Received on Thu Jun 27 2002 - 04:48:22 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:51 MST