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

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

if you complie squid with aufs,ufs you can choose in cache_dir what
filesystem you wanna use.
so when you compiled squid with async-io you can/should use aufs in
squid.conf (then you
compiling would make sense).

as far as read in faqs/manuals you can change cache_dir type without loosing
or changing
anything in you cache dirs. so you easily can change the type and restart
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 12:16
> 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 Markus, thanks for the help..
>
> actually, i had done all u said except the ulimit
> setting in the squid start script.. SuSE sets one
> already, which is 4096.. all i had to do was to change
> that to what i wanted - 16384... and voila.. cache.log
> says i am running with 16384 file descriptors...
>
> also, i recompiled the source rpm spec file with
> async-io... does this mean that i will have to change
> the file system used in cache_dir from ufs to
> something else.. if so, which file system..?.. is
> there a way i can tell that squid is running in
> async-io mode..?..
>
> all help appreciated..
>
> 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:45:09 MDT

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