Squid For CentOS 7 And Available File Descriptors

Home » CentOS » Squid For CentOS 7 And Available File Descriptors
CentOS No Comments

Hi,

I’m installing a Squid instance for a large (ish) group of users. In the past I’ve had to increase the number of available file descriptors for the Squid process in order to avoid hitting the limits (and disrupting the service).

It seems that the packaged Squid for CentOS 7 has a hardcoded value of
16386 maximum file descriptors
. The relevant portion of that spec file is


–with-aio \
–with-default-user=”squid” \
–with-filedescriptors=16384 \
–with-dl \
–with-openssl \

Why this limit? Is there any merit to opening a bug or enhancement request somewhere? Other than that, what could I do next? A custom Squid build?

Thanks a lot, Carlos.