免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2839 | 回复: 4
打印 上一主题 下一主题

[proxy] Squid进程频繁死掉 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-07 12:56 |只看该作者 |倒序浏览
用linux自带的Squid作了2台代理,其中一台很正常,但是另一台的Squid总是隔一段时间就死掉,有时过几十秒或几分钟又起来了,有时候干脆就起不来必须手工启动。以下是一些LOG

论坛徽章:
0
2 [报告]
发表于 2007-04-07 12:57 |只看该作者
Apr  7 12:47:04 bgsquid squid[1019]: Squid Parent: child process 1373 exited due to signal 6
Apr  7 12:47:07 bgsquid squid[1019]: Squid Parent: child process 1412 started
Apr  7 12:47:41 bgsquid squid[1019]: Squid Parent: child process 1412 exited due to signal 6
Apr  7 12:47:44 bgsquid squid[1019]: Squid Parent: child process 1420 started
Apr  7 12:47:55 bgsquid squid[1019]: Squid Parent: child process 1420 exited due to signal 6
Apr  7 12:47:58 bgsquid squid[1019]: Squid Parent: child process 1423 started
Apr  7 12:48:13 bgsquid squid[1019]: Squid Parent: child process 1423 exited due to signal 6
Apr  7 12:48:16 bgsquid squid[1019]: Squid Parent: child process 1426 started
Apr  7 12:48:28 bgsquid squid[1019]: Squid Parent: child process 1426 exited due to signal 6
Apr  7 12:48:31 bgsquid squid[1019]: Squid Parent: child process 1429 started
Apr  7 12:48:40 bgsquid squid[1019]: Squid Parent: child process 1429 exited due to signal 6
Apr  7 12:48:43 bgsquid squid[1019]: Squid Parent: child process 1432 started
Apr  7 12:50:17 bgsquid squid[1019]: Squid Parent: child process 1438 exited due to signal 6
Apr  7 12:50:20 bgsquid squid[1019]: Squid Parent: child process 1446 started
Apr  7 12:51:12 bgsquid squid[1019]: Squid Parent: child process 1446 exited due to signal 6
Apr  7 12:51:15 bgsquid squid[1019]: Squid Parent: child process 1449 started
Apr  7 12:51:26 bgsquid squid[1019]: Squid Parent: child process 1449 exited due to signal 6
Apr  7 12:51:29 bgsquid squid[1019]: Squid Parent: child process 1452 started
Apr  7 12:51:39 bgsquid squid[1019]: Squid Parent: child process 1452 exited due to signal 6
Apr  7 12:51:42 bgsquid squid[1019]: Squid Parent: child process 1457 started
Apr  7 12:51:43 bgsquid squid[1019]: Squid Parent: child process 1457 exited due to signal 6

论坛徽章:
0
3 [报告]
发表于 2007-04-07 12:58 |只看该作者

这是Cache.log

2007/04/07 12:54:15| Loaded Icons.
2007/04/07 12:54:15| Accepting HTTP connections at 0.0.0.0, port 3128, FD 10.
2007/04/07 12:54:15| WCCP Disabled.
2007/04/07 12:54:15| Ready to serve requests.
2007/04/07 12:54:15| Store rebuilding is  2.7% complete
2007/04/07 12:54:16| Done reading /var/spool/squid swaplog (150931 entries)
2007/04/07 12:54:16| Finished rebuilding storage from disk.
2007/04/07 12:54:16|    150766 Entries scanned
2007/04/07 12:54:16|         0 Invalid entries.
2007/04/07 12:54:16|         0 With invalid flags.
2007/04/07 12:54:16|    150766 Objects loaded.
2007/04/07 12:54:16|         0 Objects expired.
2007/04/07 12:54:16|         0 Objects cancelled.
2007/04/07 12:54:16|       165 Duplicate URLs purged.
2007/04/07 12:54:16|         0 Swapfile clashes avoided.
2007/04/07 12:54:16|   Took 1.3 seconds (118055.1 objects/sec).
2007/04/07 12:54:16| Beginning Validation Procedure
2007/04/07 12:54:16|   Completed Validation Procedure
2007/04/07 12:54:16|   Validated 150601 Entries
2007/04/07 12:54:16|   store_swap_size = 2298488k
2007/04/07 12:54:17| storeLateRelease: released 0 objects
2007/04/07 12:54:22| Starting Squid Cache version 2.5.STABLE6 for i386-redhat-linux-gnu...
2007/04/07 12:54:22| Process ID 1485
2007/04/07 12:54:22| With 1024 file descriptors available
2007/04/07 12:54:22| DNS Socket created at 0.0.0.0, port 34757, FD 4
2007/04/07 12:54:22| Adding nameserver 10.7.20.210 from /etc/resolv.conf
2007/04/07 12:54:22| Adding nameserver 10.7.20.214 from /etc/resolv.conf
2007/04/07 12:54:22| User-Agent logging is disabled.
2007/04/07 12:54:22| Referer logging is disabled.
2007/04/07 12:54:22| Unlinkd pipe opened on FD 9
2007/04/07 12:54:22| Swap maxSize 10240000 KB, estimated 787692 objects
2007/04/07 12:54:22| Target number of buckets: 39384
2007/04/07 12:54:22| Using 65536 Store buckets
2007/04/07 12:54:22| Max Mem  size: 131072 KB
2007/04/07 12:54:22| Max Swap size: 10240000 KB
2007/04/07 12:54:22| Store logging disabled
2007/04/07 12:54:22| Rebuilding storage in /var/spool/squid (DIRTY)
2007/04/07 12:54:22| Using Least Load store dir selection
2007/04/07 12:54:22| Set Current Directory to /var/spool/squid
2007/04/07 12:54:22| Loaded Icons.
2007/04/07 12:54:23| Accepting HTTP connections at 0.0.0.0, port 3128, FD 10.
2007/04/07 12:54:23| WCCP Disabled.
2007/04/07 12:54:23| Ready to serve requests.
2007/04/07 12:54:23| Store rebuilding is  2.7% complete
2007/04/07 12:54:23| sslReadServer: FD 12: read failure: (104) Connection reset by peer
2007/04/07 12:54:24| Done reading /var/spool/squid swaplog (150931 entries)
2007/04/07 12:54:24| Finished rebuilding storage from disk.
2007/04/07 12:54:24|    150766 Entries scanned
2007/04/07 12:54:24|         0 Invalid entries.
2007/04/07 12:54:24|         0 With invalid flags.
2007/04/07 12:54:24|    150766 Objects loaded.
2007/04/07 12:54:24|         0 Objects expired.
2007/04/07 12:54:24|         0 Objects cancelled.
2007/04/07 12:54:24|       165 Duplicate URLs purged.
2007/04/07 12:54:24|         0 Swapfile clashes avoided.
2007/04/07 12:54:24|   Took 1.3 seconds (120251.4 objects/sec).
2007/04/07 12:54:24| Beginning Validation Procedure
2007/04/07 12:54:24|   Completed Validation Procedure
2007/04/07 12:54:24|   Validated 150601 Entries
2007/04/07 12:54:24|   store_swap_size = 2298488k
2007/04/07 12:54:24| storeLateRelease: released 0 objects
2007/04/07 12:54:29| sslReadServer: FD 37: read failure: (104) Connection reset by peer
2007/04/07 12:54:33| sslReadServer: FD 55: read failure: (104) Connection reset by peer
2007/04/07 12:54:40| sslReadServer: FD 83: read failure: (104) Connection reset by peer

论坛徽章:
0
4 [报告]
发表于 2007-04-07 13:01 |只看该作者

squid死掉的时候系统监控截图

squid

squid.gif (25.07 KB, 下载次数: 44)

ss

ss

论坛徽章:
0
5 [报告]
发表于 2007-04-07 13:02 |只看该作者
现在重启的太频繁了,受不了,谁知道会是什么原因啊?LOG日志太大的问题不存在,我看过了不到200M
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP