Re: squid ---file decriptors

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

 



On Sat, 2005-01-08 at 12:35, Peter Arremann wrote:
> On Friday 07 January 2005 22:45, Ow Mun Heng wrote:
> > On Sat, 2005-01-08 at 05:43, Rudolf Amirjanyan wrote:
> > > OK, let me tell you what is happening when I put "ulimit -Sn 2048" (or
> > > any value more than 960) command in  /etc/init.d/squid script
> > >
> > > I restart the Squid. and then ---
> > >
> > > tail -f /usr/local/squid/var/logs/cache.log |grep descriptors
> > >
> > > 2005/01/07 13:37:20| With 960 file descriptors available
> > >
> > > but form command "ulimit" command shows the following:
> > >
> > > ulimit -SHn ---- the value is 1024
> > > ulimit -n ----- 1024
> > >
> > > So what is my mistake here ?
> > > Why squid cache shows 960 but not 1024 or even 961 :)
> >
> > What about ulimit -a
> >
> > Again, 2.4 or 2.6 kernel??
> Also, keep in mind, there are more things than just files that use up file 
> descriptors. Network sockets, libs, ... So for a program that is so 
> file/connection intensive as squid, having 960 fds available for file access 
> isn't bad...

It is when you have a _lot_ of users accessing the squid box and you
will soon be unable to serve because you don't have enough
file-desciptors

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 00:17:01 up 3:23, 2 users, 
load average: 0.21, 0.24, 0.40 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux