Re: [squid-users] Squid terminates when my network goes down

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 10 Jul 2011 18:12:04 +1200

On 09/07/11 04:06, January Sharp wrote:
> I would like assistance in configuring squid 2.7 for Windows 7.
>
> When my Internet connection goes down (my ethernet cable or my modem
> gets disconnected), Squid terminates by itself. It is easy to restart
> the service, but I can't help regretting that I lose my in-memory
> cache and ip cache each time. Reviewing my log, I notice that exactly
> one of the following two things happen. I would like advice on how to
> prevent squid from shutting down.
>
> 1. DNS Test Failures
>
<snip>
> FATAL: ipcache_init: DNS name lookup tests failed.
> Squid Cache (Version 2.7.STABLE8): Terminated abnormally.
>

The -D command line option.

>
> 2. WSAENOTSOCK errors
>
<snip>
> 2011/07/08 10:34:23| Select loop Error. Retry 9
> 2011/07/08 10:34:23| comm_select: select failure: (10038) WSAENOTSOCK,
> Socket operation on nonsocket.
> 2011/07/08 10:34:23| Select loop Error. Retry 10
> FATAL: Select Loop failed!
> Squid Cache (Version 2.7.STABLE8): Terminated abnormally.

Um.. not really aware of any fix for this. Networking is down.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.14
   Beta testers wanted for 3.2.0.9
Received on Sun Jul 10 2011 - 06:12:08 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 11 2011 - 12:00:02 MDT