Re: [squid-users] "Reserved number of file descriptors" sudden increase

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 23 Oct 2012 22:28:48 +1300

On 23/10/2012 9:17 p.m., "RODRIGUEZ CEBERIO, Iņigo" wrote:
> This problem starts randomly and recovers randomly too (after restarting, rebooting, etc). We restart httpd and it works fine 2 min. and the problem starts again, reboot the whole server and again appears the problem, sometimes, the problem disappears after removing cache directory and re-creating it.
>
> Do you know what could cause socket() and dup2() operations start to fail?

"

    The /socket/() function shall fail if:

    [EAFNOSUPPORT]
        The implementation does not support the specified address family.
    [EMFILE]
        No more file descriptors are available for this process.
    [ENFILE]
        No more file descriptors are available for the system.
    [EPROTONOSUPPORT]
        The protocol is not supported by the address family, or the
        protocol is not supported by the implementation.
    [EPROTOTYPE]
        The socket type is not supported by the protocol.

    The /socket/() function may fail if:

    [EACCES]
        The process does not have appropriate privileges.
    [ENOBUFS]
        Insufficient resources were available in the system to perform
        the operation.
    [ENOMEM]
        Insufficient memory was available to fulfill the request.

"

Being squid-3.0 the address family errors do not apply. The rest of the
system problems may still apply though.

Amos
Received on Tue Oct 23 2012 - 09:28:59 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 23 2012 - 12:00:04 MDT