Re: [squid-users] larger FD_SETSIZE => much more memory for squid??

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 14 May 2001 23:17:30 +0200

in src/stat.c change SQUID_MAXFD to 256 or another more realistic value.

from
    statHistIntInit(&C->select_fds_hist, SQUID_MAXFD);
to
    statHistIntInit(&C->select_fds_hist, 256);

--
Henrik Nordstrom
Squid Hacker
wojtek@3miasto.net wrote:
> 
> >
> > How large did you set FD_SETSIZE?
> 16384.
> > There is a small known issue with one of the statistics entries which
> > really explodes in size if FD_SETSIZE is tuned too high. Increasing from
> > 1K to 16K filedescriptors causes this single statistics entry to grow by
> > 8MB.
> 
> :(
> 
> did i missed some option for setting file descr. count in squid.conf
> without recompiling?
> 
> or method to turn off such stats? (i can live without them)
Received on Mon May 14 2001 - 15:37:02 MDT

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