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