[Bug 97513] Re: Squid requires restart after Network Manager made connection to network
Dave Gilbert
ubuntu at treblig.org
Sun Oct 16 18:59:50 UTC 2011
I wonder if this is what I'm now seeing on Oneiric; I run a squid on my
desktop so that it and my vms and my laptop share apt-get
update's/upgrades. SInce somewhere in Oneiric dev cycle I'm having to
restart squid before it starts responding.
Squid's access log has:
1318764515.529 1 192.168.66.25 TCP_REFRESH_FAIL_HIT/200 7612 GET http://ddebs.ubuntu.com/dists/oneiric/Release - DIRECT/ddebs.ubuntu.com text/plain
....
1318764516.476 0 192.168.66.25 TCP_MISS/504 1632 GET http://ddebs.ubuntu.com/dists/oneiric/main/i18n/Index - DIRECT/ddebs.ubuntu.com text/html
and similar
cache.log has:
2011/10/16 12:42:53| Starting Squid Cache version 2.7.STABLE9 for x86_64-pc-linux-gnu...
2011/10/16 12:42:53| Process ID 1369
2011/10/16 12:42:53| With 1024 file descriptors available
2011/10/16 12:42:53| Using epoll for the IO loop
2011/10/16 12:42:53| DNS Socket created at 0.0.0.0, port 48544, FD 6
2011/10/16 12:42:53| Warning: Could not find any nameservers. Trying to use localhost
2011/10/16 12:42:53| Please check your /etc/resolv.conf file
2011/10/16 12:42:53| or use the 'dns_nameservers' option in squid.conf.
2011/10/16 12:42:53| User-Agent logging is disabled.
2011/10/16 12:42:53| Referer logging is disabled.
2011/10/16 12:42:53| logfileOpen: opening log /var/log/squid/access.log
2011/10/16 12:42:53| Unlinkd pipe opened on FD 11
2011/10/16 12:42:53| Swap maxSize 2097152 + 8192 KB, estimated 161949 objects
2011/10/16 12:42:53| Target number of buckets: 8097
2011/10/16 12:42:53| Using 8192 Store buckets
2011/10/16 12:42:53| Max Mem size: 8192 KB
2011/10/16 12:42:53| Max Swap size: 2097152 KB
2011/10/16 12:42:53| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2011/10/16 12:42:53| logfileOpen: opening log /var/log/squid/store.log
2011/10/16 12:42:53| Rebuilding storage in /var/spool/squid (CLEAN)
2011/10/16 12:42:53| Using Least Load store dir selection
2011/10/16 12:42:53| Set Current Directory to /var/spool/squid
2011/10/16 12:42:53| Loaded Icons.
2011/10/16 12:42:53| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 13.
2011/10/16 12:42:53| Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
2011/10/16 12:42:53| HTCP Disabled.
2011/10/16 12:42:53| WCCP Disabled.
2011/10/16 12:42:53| Ready to serve requests.
2011/10/16 12:42:53| Done reading /var/spool/squid swaplog (2883 entries)
2011/10/16 12:42:53| Finished rebuilding storage from disk.
2011/10/16 12:42:53| 2883 Entries scanned
2011/10/16 12:42:53| 0 Invalid entries.
2011/10/16 12:42:53| 0 With invalid flags.
2011/10/16 12:42:53| 2883 Objects loaded.
2011/10/16 12:42:53| 0 Objects expired.
2011/10/16 12:42:53| 0 Objects cancelled.
2011/10/16 12:42:53| 0 Duplicate URLs purged.
2011/10/16 12:42:53| 0 Swapfile clashes avoided.
2011/10/16 12:42:53| Took 0.5 seconds (5340.7 objects/sec).
2011/10/16 12:42:53| Beginning Validation Procedure
2011/10/16 12:42:53| Completed Validation Procedure
2011/10/16 12:42:53| Validated 2883 Entries
2011/10/16 12:42:53| store_swap_size = 1886660k
2011/10/16 12:42:54| storeLateRelease: released 0 objects
Note the:
2011/10/16 12:42:53| Warning: Could not find any nameservers. Trying to use localhost
2011/10/16 12:42:53| Please check your /etc/resolv.conf file
2011/10/16 12:42:53| or use the 'dns_nameservers' option in squid.conf.
(If this is breaking it then why is this a wishlist?)
Dave
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid in Ubuntu.
https://bugs.launchpad.net/bugs/97513
Title:
Squid requires restart after Network Manager made connection to
network
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid/+bug/97513/+subscriptions
More information about the Ubuntu-server-bugs
mailing list