]> git.ipfire.org Git - thirdparty/squid.git/commit
Limit memory used for select() statistics. It was allocating space for
authorhno <>
Tue, 17 Jul 2001 16:35:46 +0000 (16:35 +0000)
committerhno <>
Tue, 17 Jul 2001 16:35:46 +0000 (16:35 +0000)
commit49bc21c84cd32c96a1b2310e3b004d0e5075054c
tree153c8a5daf9175bca8894911b94ca93d76343ad7
parent2f2b4d207572003d90d2519f6393bdb10736c9d7
Limit memory used for select() statistics. It was allocating space for
up to SQUID_MAXFD active filedescriptors per select(), but we are
only interested in a much smaller range.

This statistics could use quite a bit of memory when SQUID_MAXFD is large
(think I measured something like 8MB for 16K filedescriptors)
src/stat.cc