Re: [squid-users] max_filedesc on squid 3.2.2

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 16 Oct 2012 19:17:47 +1300

On 16/10/2012 6:14 p.m., Ricardo Rios - Shorewall List wrote:
> Testing version 3.2.2-20121015-r11677, i see problems with the
> max_filedesc on OpenSuSE 11.4 x64
>
> server:/ # ulimit -n
> 65535
>
> squid.conf :
> max_filedesc 65535
>
> /etc/security/limits.conf
> * - nofile 65535
>
> on cache.log :
> kid1| NOTICE: Could not increase the number of filedescriptors
> kid1| With 16384 file descriptors available
>
> on squid -k reconfigure :
> kid1| WARNING: max_filedescriptors disabled. Operating System
> setrlimit(RLIMIT_NOFILE) is missing.

Squid just told you what the problem is: "Operating System
setrlimit(RLIMIT_NOFILE) is missing".
Please check the config.log from when you built this Squid for more
information about what went wrong when the compiler tested your OS for
this function support.

Does that message show up on startup at all? or just reconfigure?

PS. Also notice how the official squid.conf directive name is different
to the old experimental "max_filedesc" you are configuring?

>
> PS: still getting segment fault dying.. on this version with more then
> 1 worker.

We fixed one of the three SMP segfaults earlier today.

Amos
Received on Tue Oct 16 2012 - 06:18:01 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 16 2012 - 12:00:03 MDT