LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1177|回复: 1

squid首次启动僵死的怪问题

[复制链接]
发表于 2007-3-7 09:58:33 | 显示全部楼层 |阅读模式
我在我的debian etch上装了个squid作代理。当squid随系统一同启动后就呈现处僵死状态,表现为客户端无法连接上代理。每次在操作系统启动后都要手动执行一下/etc/init.d/squid restart重启后才能正常使用。检查syslog没有发现什么问题。

这是首次启动和重启的log:
Mar  7 08:58:57 debian squid[1878]: Squid Parent: child process 1884 started
Mar  7 08:58:57 debian squid[1884]: Starting Squid Cache version 2.6.STABLE5 for i386-debian-linux-gnu...
Mar  7 08:58:57 debian squid[1884]: Process ID 1884
Mar  7 08:58:57 debian squid[1884]: With 1024 file descriptors available
Mar  7 08:58:57 debian squid[1884]: Using epoll for the IO loop
Mar  7 08:58:57 debian squid[1884]: DNS Socket created at 0.0.0.0, port 1026, FD 6
Mar  7 08:58:57 debian squid[1884]: Adding nameserver 202.117.112.3 from /etc/resolv.conf
Mar  7 08:58:57 debian squid[1884]: Adding nameserver 219.244.16.118 from /etc/resolv.conf
Mar  7 08:58:57 debian squid[1884]: User-Agent logging is disabled.
Mar  7 08:58:57 debian squid[1884]: Referer logging is disabled.
Mar  7 08:58:58 debian /usr/sbin/cron[1897]: (CRON) INFO (pidfile fd = 3)
Mar  7 08:58:58 debian /usr/sbin/cron[1898]: (CRON) STARTUP (fork ok)
Mar  7 08:58:58 debian squid[1884]: Unlinkd pipe opened on FD 11
Mar  7 08:58:58 debian squid[1884]: Swap maxSize 102400 KB, estimated 7876 objects
Mar  7 08:58:58 debian squid[1884]: Target number of buckets: 393
Mar  7 08:58:58 debian squid[1884]: Using 8192 Store buckets
Mar  7 08:58:58 debian squid[1884]: Max Mem  size: 8192 KB
Mar  7 08:58:58 debian squid[1884]: Max Swap size: 102400 KB
Mar  7 08:58:58 debian squid[1884]: Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
Mar  7 08:58:58 debian /usr/sbin/cron[1898]: (CRON) INFO (Running @reboot jobs)
Mar  7 08:58:58 debian squid[1884]: Rebuilding storage in /var/spool/squid (CLEAN)
Mar  7 08:58:58 debian squid[1884]: Using Least Load store dir selection
Mar  7 08:58:58 debian squid[1884]: Set Current Directory to /var/spool/squid
Mar  7 08:58:59 debian squid[1884]: Loaded Icons.
Mar  7 08:58:59 debian squid[1884]: Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 13.
Mar  7 08:58:59 debian squid[1884]: Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
Mar  7 08:58:59 debian squid[1884]: HTCP Disabled.
Mar  7 08:58:59 debian squid[1884]: WCCP Disabled.
Mar  7 08:58:59 debian squid[1884]: Ready to serve requests.
Mar  7 08:58:59 debian squid[1884]: Store rebuilding is 57.3% complete
Mar  7 08:58:59 debian squid[1884]: Done reading /var/spool/squid swaplog (7151 entries)
Mar  7 08:58:59 debian squid[1884]: Finished rebuilding storage from disk.
Mar  7 08:58:59 debian squid[1884]:      7151 Entries scanned
Mar  7 08:58:59 debian squid[1884]:         0 Invalid entries.
Mar  7 08:58:59 debian squid[1884]:         0 With invalid flags.
Mar  7 08:58:59 debian squid[1884]:      7151 Objects loaded.
Mar  7 08:58:59 debian squid[1884]:         0 Objects expired.
Mar  7 08:58:59 debian squid[1884]:         0 Objects cancelled.
Mar  7 08:58:59 debian squid[1884]:         0 Duplicate URLs purged.
Mar  7 08:58:59 debian squid[1884]:         0 Swapfile clashes avoided.
Mar  7 08:58:59 debian squid[1884]:   Took 2.0 seconds (3619.2 objects/sec).
Mar  7 08:58:59 debian squid[1884]: Beginning Validation Procedure
Mar  7 08:58:59 debian squid[1884]:   Completed Validation Procedure
Mar  7 08:58:59 debian squid[1884]:   Validated 7151 Entries
Mar  7 08:58:59 debian squid[1884]:   store_swap_size = 88540k
Mar  7 08:59:00 debian squid[1884]: storeLateRelease: released 0 objects
Mar  7 08:59:06 debian kernel: eth0: no IPv6 routers present
Mar  7 09:11:01 debian squid[1884]: Preparing for shutdown after 4 requests
Mar  7 09:11:01 debian squid[1884]: Waiting 30 seconds for active connections to finish
Mar  7 09:11:01 debian squid[1884]: FD 13 Closing HTTP connection
Mar  7 09:11:32 debian squid[1884]: Shutting down...
Mar  7 09:11:32 debian squid[1884]: FD 14 Closing ICP connection
Mar  7 09:11:32 debian squid[1884]: Closing unlinkd pipe on FD 11
Mar  7 09:11:32 debian squid[1884]: storeDirWriteCleanLogs: Starting...
Mar  7 09:11:32 debian squid[1884]:   Finished.  Wrote 7151 entries.
Mar  7 09:11:32 debian squid[1884]:   Took 0.0 seconds (473294.1 entries/sec).
Mar  7 09:11:32 debian squid[1884]: Squid Cache (Version 2.6.STABLE5): Exiting normally.
Mar  7 09:11:32 debian squid[1878]: Squid Parent: child process 1884 exited with status 0
Mar  7 09:11:34 debian squid[1992]: Starting Squid Cache version 2.6.STABLE5 for i386-debian-linux-gnu...
Mar  7 09:11:34 debian squid[1992]: Process ID 1992
Mar  7 09:11:34 debian squid[1992]: With 1024 file descriptors available
Mar  7 09:11:34 debian squid[1992]: Using epoll for the IO loop
Mar  7 09:11:34 debian squid[1992]: DNS Socket created at 0.0.0.0, port 1027, FD 6
Mar  7 09:11:34 debian squid[1992]: Adding nameserver 202.117.112.3 from /etc/resolv.conf
Mar  7 09:11:34 debian squid[1992]: Adding nameserver 219.244.16.118 from /etc/resolv.conf
Mar  7 09:11:34 debian squid[1992]: User-Agent logging is disabled.
Mar  7 09:11:34 debian squid[1992]: Referer logging is disabled.
Mar  7 09:11:34 debian squid[1990]: Squid Parent: child process 1992 started
Mar  7 09:11:34 debian squid[1992]: Unlinkd pipe opened on FD 11
Mar  7 09:11:34 debian squid[1992]: Swap maxSize 102400 KB, estimated 7876 objects
Mar  7 09:11:34 debian squid[1992]: Target number of buckets: 393
Mar  7 09:11:34 debian squid[1992]: Using 8192 Store buckets
Mar  7 09:11:34 debian squid[1992]: Max Mem  size: 8192 KB
Mar  7 09:11:34 debian squid[1992]: Max Swap size: 102400 KB
Mar  7 09:11:34 debian squid[1992]: Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
Mar  7 09:11:34 debian squid[1992]: Rebuilding storage in /var/spool/squid (CLEAN)
Mar  7 09:11:34 debian squid[1992]: Using Least Load store dir selection
Mar  7 09:11:34 debian squid[1992]: Set Current Directory to /var/spool/squid
Mar  7 09:11:34 debian squid[1992]: Loaded Icons.
Mar  7 09:11:34 debian squid[1992]: Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 13.
Mar  7 09:11:34 debian squid[1992]: Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
Mar  7 09:11:34 debian squid[1992]: HTCP Disabled.
Mar  7 09:11:34 debian squid[1992]: WCCP Disabled.
Mar  7 09:11:34 debian squid[1992]: Ready to serve requests.
Mar  7 09:11:34 debian squid[1992]: Store rebuilding is 57.3% complete
Mar  7 09:11:34 debian squid[1992]: Done reading /var/spool/squid swaplog (7151 entries)
Mar  7 09:11:34 debian squid[1992]: Finished rebuilding storage from disk.
Mar  7 09:11:34 debian squid[1992]:      7151 Entries scanned
Mar  7 09:11:34 debian squid[1992]:         0 Invalid entries.
Mar  7 09:11:34 debian squid[1992]:         0 With invalid flags.
Mar  7 09:11:34 debian squid[1992]:      7151 Objects loaded.
Mar  7 09:11:34 debian squid[1992]:         0 Objects expired.
Mar  7 09:11:34 debian squid[1992]:         0 Objects cancelled.
Mar  7 09:11:34 debian squid[1992]:         0 Duplicate URLs purged.
Mar  7 09:11:34 debian squid[1992]:         0 Swapfile clashes avoided.
Mar  7 09:11:34 debian squid[1992]:   Took 0.6 seconds (11094.7 objects/sec).
Mar  7 09:11:34 debian squid[1992]: Beginning Validation Procedure
Mar  7 09:11:34 debian squid[1992]:   Completed Validation Procedure
Mar  7 09:11:34 debian squid[1992]:   Validated 7151 Entries
Mar  7 09:11:34 debian squid[1992]:   store_swap_size = 88540k
Mar  7 09:11:35 debian squid[1992]: storeLateRelease: released 0 objects
发表于 2008-2-27 16:21:10 | 显示全部楼层
顶一下,我也遇到这样的问题,始终找不到原因,不过怀疑是域名解析在作怪。或者根本就是 bug.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表