If using Squid-2.4 or earlier then see
http://devel.squid-cache.org/hno/linux-lfd.html for instructions on
how raise the filedescriptor limit on Linux. Simply patching
configure to override the detected value is not sufficient and may
get you into trouble in some parts of Squid. The problem is that
Squid makes use of the fd_set datatype, which is dependent on
FD_SETSIZE which is hardcoded to 1024 in Linux GNU libc.
For Suqid-2.5 and later a ulimit prior to configuring Squid is
sufficient. Squid-2.5 knows how to shoehorn GNU libc 2.X into using
more than the default of 1024 filedescriptors.
Regards
Henrik
On Tuesday 05 November 2002 09.23, ΠΠ΅Π½ΠΈΡ ΠΠ²ΡΠΈΠ΅Π½ΠΊΠΎ wrote:
> Hi !
> I wrote a pair of weeks ago about plans to try to implement cache
> storing and sharing via external SQL server. I currently have no
> time even to start with it, so treat this as an idea.
> I currently have an issue on filedescriptor limit: configure script
> takes 1024 from deprecated includes at least on Linux. My colleague
> has to fix the script to increase fd number. If needed, I can post
> his information where the correct maximal number of fds is and
> where is it taken currently (2.4S7)
>
> DO4-UANIC
Received on Tue Nov 05 2002 - 04:39:09 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:18:37 MST