Re: [squid-users] problem with filedescriptors after reboot

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Fri, 20 Jun 2014 16:35:31 +0300

There is an issue with that not related directly to squid.
You can try to add into the sysvinit script a strict declaration using
ulimit that will force a limit on the script at runtime.

It can be caused due to malfunction or mis-configuration in RH and that
the FD limit at the time when squid starts up at boot is not yet set.

Regards,
Eliezer

On 06/20/2014 04:05 PM, amaury_at_tin.it wrote:
> Hello
> we are testing squid-3.4.5-20140616-r13146 on
> - rh es 6 64 with
> kernel version 2.6.32-431.20.3.el6.x86_64
> squid it's compiled with --
> with-filedescriptors=16384
> and we have found this strange behavior
>
> If
> I reboot the linux box we have this situation(wrong):
>
> squidclient mgr:
> info |grep file
> Sending HTTP request ... done.
> Maximum number
> of file descriptors: 1024
> Largest file desc currently in
> use: 14
> Number of file desc currently in use: 7
>
> Available number of file descriptors: 1017
> Reserved number of
> file descriptors: 100
> Store Disk files
> open: 0
> After this I restart the squid service and
> the situation(correct):
>
> squidclient mgr:info |grep file
> Sending HTTP
> request ... done.
> Maximum number of file descriptors: 16384
>
> Largest file desc currently in use: 14
> Number of
> file desc currently in use: 7
> Available number of file
> descriptors: 16377
> Reserved number of file descriptors: 100
>
> Store Disk files open: 0
>
> Regards,
>
> Maurizio
>
>
Received on Fri Jun 20 2014 - 13:49:19 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 20 2014 - 12:00:05 MDT