Search squid archive

Squid terminates when my network goes down

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

2011/07/07 10:08:56| Beginning Validation Procedure
2011/07/07 10:08:57|   Completed Validation Procedure
2011/07/07 10:08:57|   Validated 213759 Entries
2011/07/07 10:08:57|   store_swap_size = 5449984k
2011/07/07 10:08:57| storeLateRelease: released 0 objects
2011/07/07 11:28:44| Notification of IP address change received,
requesting Squid reconfiguration ...
2011/07/07 11:28:44| Reconfiguring Squid Cache (version 2.7.STABLE8)...
2011/07/07 11:28:44| FD 12 Closing HTTP connection
2011/07/07 11:28:44| FD 13 Closing ICP connection
2011/07/07 11:28:44| FD 14 Closing HTCP socket
2011/07/07 11:28:44| FD 15 Closing SNMP socket
2011/07/07 11:28:44| Including Configuration File:
d:/squid/etc/squid.conf (depth 0)
2011/07/07 11:28:44| Cache dir 'd:/squid/var/cache' size remains
unchanged at 41943040 KB
2011/07/07 11:28:44| Store logging disabled
2011/07/07 11:28:44| User-Agent logging is disabled.
2011/07/07 11:28:44| Referer logging is disabled.
2011/07/07 11:28:44| DNS Socket created at 0.0.0.0, port 52204, FD 5
2011/07/07 11:28:44| Adding nameserver 127.0.0.1 from squid.conf
2011/07/07 11:28:44| Accepting proxy HTTP connections at 0.0.0.0, port
3128, FD 9.
2011/07/07 11:28:44| Accepting ICP messages at 0.0.0.0, port 3130, FD 12.
2011/07/07 11:28:44| Accepting HTCP messages on port 4827, FD 13.
2011/07/07 11:28:44| Accepting SNMP messages on port 3401, FD 14.
2011/07/07 11:28:44| Loaded Icons.
2011/07/07 11:28:44| Ready to serve requests.
2011/07/07 11:32:55| Starting Squid Cache version 2.7.STABLE8 for
i686-pc-winnt...
2011/07/07 11:32:55| Running as Squid Windows System Service on Windows Vista
2011/07/07 11:32:55| Service command line is:
2011/07/07 11:32:55| Process ID 4056
2011/07/07 11:32:55| With 2048 file descriptors available
2011/07/07 11:32:55| With 2048 CRT stdio descriptors available
2011/07/07 11:32:55| Windows sockets initialized
2011/07/07 11:32:55| Using select for the IO loop
2011/07/07 11:32:55| Performing DNS Tests...
2011/07/07 11:32:55| Leaving Squid service
FATAL: ipcache_init: DNS name lookup tests failed.
Squid Cache (Version 2.7.STABLE8): Terminated abnormally.


2. WSAENOTSOCK errors

2011/07/08 02:16:47| Beginning Validation Procedure
2011/07/08 02:16:47|   Completed Validation Procedure
2011/07/08 02:16:47|   Validated 213689 Entries
2011/07/08 02:16:47|   store_swap_size = 5449492k
2011/07/08 02:16:48| storeLateRelease: released 0 objects
2011/07/08 02:17:46| storeClientReadHeader: no URL!
2011/07/08 10:34:03| Notification of IP address change received,
requesting Squid reconfiguration ...
2011/07/08 10:34:03| Reconfiguring Squid Cache (version 2.7.STABLE8)...
2011/07/08 10:34:03| FD 12 Closing HTTP connection
2011/07/08 10:34:03| FD 13 Closing ICP connection
2011/07/08 10:34:03| FD 14 Closing HTCP socket
2011/07/08 10:34:03| FD 15 Closing SNMP socket
2011/07/08 10:34:03| Including Configuration File:
d:/squid/etc/squid.conf (depth 0)
2011/07/08 10:34:03| Cache dir 'd:/squid/var/cache' size remains
unchanged at 41943040 KB
2011/07/08 10:34:03| Store logging disabled
2011/07/08 10:34:03| User-Agent logging is disabled.
2011/07/08 10:34:03| Referer logging is disabled.
2011/07/08 10:34:03| DNS Socket created at 0.0.0.0, port 49352, FD 5
2011/07/08 10:34:03| Adding nameserver 127.0.0.1 from squid.conf
2011/07/08 10:34:03| Accepting proxy HTTP connections at 0.0.0.0, port
3128, FD 9.
2011/07/08 10:34:03| Accepting ICP messages at 0.0.0.0, port 3130, FD 10.
2011/07/08 10:34:03| Accepting HTCP messages on port 4827, FD 12.
2011/07/08 10:34:03| Accepting SNMP messages on port 3401, FD 13.
2011/07/08 10:34:03| Loaded Icons.
2011/07/08 10:34:03| Ready to serve requests.
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 1
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 2
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 3
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 4
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 5
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 6
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 7
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 8
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 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.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux