Re: squid ---file decriptors

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

 



On Thu, 2005-01-06 at 21:31, Rudlof Amirjanyan wrote:
> Hello list.
> 
> I have recompiled my squid for supporting more than 1024 file descriptors,
> but after that this strange behavior.
> 
> In my squid startup script when I put ulimit -HSn NNN (NNN is any number
> less than 960) it is working well, i.e. in
> /usr/local/squid/var/logs/cache.log I get the following (With NNN file
> descriptors available).
> 
> But when I put for example ulimit -HSn 1024 in and restart the squid in the
> cache.log it comes "With 960 file descriptors available"

Which kernel are you running in? 2,4 or 2.6? It makes a difference. I've
managed to run at 4096 without much effort.
> 
> So it is not supporting more than 960 file descriptors ?  But Why ?
> 
> BTW in the /usr/include/bits/typesizes.h  -------- I have "#define
> __FD_SETSIZE            1024"
> I changed it to 4096 but did not help.

This isn't needed for 2.6.

Are you somehow limited based on your overall system ulimit??

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 11:11:36 up 2:13, 6 users, 
load average: 0.85, 0.63, 0.50 


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

  Powered by Linux