LINUX.ORG.RU

Периодически отваливается интернет (squid+sams).

 


0

1

Здравствуйте! Сегодня весь день падает прокси, в логе сквида пишет следующее: FATAL: The url_rewriter helpers are crashing too rapidly, need help!

Squid Cache (Version 2.7.STABLE9): Terminated abnormally. CPU Usage: 0.076 seconds = 0.040 user + 0.036 sys Maximum Resident Size: 28256 KB Page faults with physical i/o: 0 Memory usage for squid via mallinfo(): total space in arena: 6960 KB Ordinary blocks: 6862 KB 13 blks Small blocks: 0 KB 1 blks Holding blocks: 396 KB 1 blks Free Small blocks: 0 KB Free Ordinary blocks: 97 KB Total in use: 7258 KB 99% Total free: 97 KB 1% 2015/03/31 20:34:48| Starting Squid Cache version 2.7.STABLE9 for x86_64-pc-linux-gnu... 2015/03/31 20:34:48| Process ID 3854 2015/03/31 20:34:48| With 1024 file descriptors available 2015/03/31 20:34:48| Using epoll for the IO loop 2015/03/31 20:34:48| DNS Socket created at 0.0.0.0, port 34776, FD 6 2015/03/31 20:34:48| Adding nameserver 127.0.0.1 from /etc/resolv.conf 2015/03/31 20:34:48| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 20:34:48| User-Agent logging is disabled. 2015/03/31 20:34:48| Referer logging is disabled. 2015/03/31 20:34:48| logfileOpen: opening log /var/log/squid/access.log 2015/03/31 20:34:48| Unlinkd pipe opened on FD 16 2015/03/31 20:34:48| Swap maxSize 102400 + 8192 KB, estimated 8507 objects 2015/03/31 20:34:48| Target number of buckets: 425 2015/03/31 20:34:48| Using 8192 Store buckets 2015/03/31 20:34:48| Max Mem size: 8192 KB 2015/03/31 20:34:48| Max Swap size: 102400 KB 2015/03/31 20:34:48| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec 2015/03/31 20:34:48| logfileOpen: opening log /var/log/squid/store.log 2015/03/31 20:34:48| Rebuilding storage in /var/spool/squid (CLEAN) 2015/03/31 20:34:48| Using Least Load store dir selection 2015/03/31 20:34:48| Set Current Directory to /var/spool/squid 2015/03/31 20:34:48| Loaded Icons. 2015/03/31 20:34:48| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 18. 2015/03/31 20:34:48| Accepting ICP messages at 0.0.0.0, port 3130, FD 19. 2015/03/31 20:34:48| HTCP Disabled. 2015/03/31 20:34:48| WCCP Disabled. 2015/03/31 20:34:48| Ready to serve requests. 2015/03/31 20:34:48| Store rebuilding is 79.7% complete 2015/03/31 20:34:48| Done reading /var/spool/squid swaplog (5136 entries) 2015/03/31 20:34:48| Finished rebuilding storage from disk. 2015/03/31 20:34:48| 5136 Entries scanned 2015/03/31 20:34:48| 0 Invalid entries. 2015/03/31 20:34:48| 0 With invalid flags. 2015/03/31 20:34:48| 5136 Objects loaded. 2015/03/31 20:34:48| 0 Objects expired. 2015/03/31 20:34:48| 0 Objects cancelled. 2015/03/31 20:34:48| 0 Duplicate URLs purged. 2015/03/31 20:34:48| 0 Swapfile clashes avoided. 2015/03/31 20:34:48| Took 0.3 seconds (17059.3 objects/sec). 2015/03/31 20:34:48| Beginning Validation Procedure 2015/03/31 20:34:48| Completed Validation Procedure 2015/03/31 20:34:48| Validated 5136 Entries 2015/03/31 20:34:48| store_swap_size = 92700k 2015/03/31 20:34:49| storeLateRelease: released 0 objects 2015/03/31 20:34:56| WARNING: url_rewriter #1 (FD 7) exited 2015/03/31 20:35:38| WARNING: All url_rewriter processes are busy. 2015/03/31 20:35:38| WARNING: up to 4 pending requests queued 2015/03/31 20:36:55| httpReadReply: Excess data from «POST http://sba.yandex.net/downloads?client=navclient-auto-ffox&appver=36.0.4&... 2015/03/31 20:37:10| urlParse: Illegal character in hostname 'http://www.nalog.ru.%28https' 2015/03/31 20:37:29| WARNING: url_rewriter #2 (FD 8) exited 2015/03/31 20:37:30| WARNING: url_rewriter #3 (FD 9) exited 2015/03/31 20:37:30| Too few url_rewriter processes are running 2015/03/31 20:37:30| Starting new helpers 2015/03/31 20:37:30| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 20:37:30| WARNING: url_rewriter #4 (FD 10) exited 2015/03/31 20:37:31| WARNING: url_rewriter #5 (FD 11) exited 2015/03/31 20:38:32| WARNING: url_rewriter #1 (FD 125) exited 2015/03/31 20:38:34| WARNING: url_rewriter #2 (FD 126) exited 2015/03/31 20:38:42| WARNING: url_rewriter #3 (FD 127) exited 2015/03/31 20:38:42| Too few url_rewriter processes are running 2015/03/31 20:38:42| Starting new helpers 2015/03/31 20:38:42| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 20:38:43| WARNING: url_rewriter #4 (FD 128) exited 2015/03/31 20:38:50| WARNING: url_rewriter #5 (FD 129) exited 2015/03/31 20:41:32| WARNING: url_rewriter #1 (FD 69) exited 2015/03/31 20:41:51| WARNING: url_rewriter #2 (FD 72) exited 2015/03/31 20:41:53| WARNING: url_rewriter #3 (FD 75) exited 2015/03/31 20:41:53| Too few url_rewriter processes are running 2015/03/31 20:41:53| Starting new helpers 2015/03/31 20:41:53| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 20:42:01| WARNING: url_rewriter #4 (FD 78) exited 2015/03/31 20:42:01| WARNING: url_rewriter #5 (FD 91) exited 2015/03/31 20:42:03| WARNING: url_rewriter #2 (FD 140) exited 2015/03/31 20:45:31| WARNING: url_rewriter #1 (FD 70) exited 2015/03/31 20:45:34| WARNING: url_rewriter #3 (FD 143) exited 2015/03/31 20:45:34| Too few url_rewriter processes are running 2015/03/31 20:45:34| Starting new helpers 2015/03/31 20:45:34| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 20:50:04| WARNING: url_rewriter #4 (FD 144) exited 2015/03/31 20:50:04| WARNING: url_rewriter #5 (FD 145) exited 2015/03/31 20:50:06| WARNING: url_rewriter #1 (FD 128) exited 2015/03/31 20:50:22| WARNING: url_rewriter #2 (FD 130) exited 2015/03/31 20:50:24| WARNING: url_rewriter #3 (FD 132) exited 2015/03/31 20:50:24| Too few url_rewriter processes are running 2015/03/31 20:50:24| Starting new helpers 2015/03/31 20:50:24| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 20:51:19| WARNING: url_rewriter #4 (FD 134) exited 2015/03/31 20:51:19| WARNING: url_rewriter #5 (FD 135) exited 2015/03/31 20:51:20| WARNING: url_rewriter #1 (FD 152) exited 2015/03/31 20:51:21| WARNING: url_rewriter #2 (FD 153) exited 2015/03/31 20:52:04| WARNING: url_rewriter #3 (FD 154) exited 2015/03/31 20:52:04| Too few url_rewriter processes are running 2015/03/31 20:52:04| Starting new helpers 2015/03/31 20:52:04| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 20:52:08| WARNING: url_rewriter #4 (FD 155) exited 2015/03/31 20:55:38| WARNING: All url_rewriter processes are busy. 2015/03/31 20:55:38| WARNING: up to 6 pending requests queued 2015/03/31 20:56:23| WARNING: url_rewriter #5 (FD 156) exited 2015/03/31 20:56:25| WARNING: url_rewriter #1 (FD 87) exited 2015/03/31 20:56:26| WARNING: url_rewriter #2 (FD 89) exited 2015/03/31 21:00:10| WARNING: url_rewriter #3 (FD 93) exited 2015/03/31 21:00:10| Too few url_rewriter processes are running 2015/03/31 21:00:10| Starting new helpers 2015/03/31 21:00:10| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 21:00:10| WARNING: url_rewriter #4 (FD 110) exited 2015/03/31 21:00:10| WARNING: url_rewriter #5 (FD 124) exited 2015/03/31 21:00:10| WARNING: url_rewriter #1 (FD 134) exited 2015/03/31 21:00:10| WARNING: url_rewriter #2 (FD 135) exited 2015/03/31 21:00:11| WARNING: url_rewriter #3 (FD 136) exited 2015/03/31 21:00:11| Too few url_rewriter processes are running 2015/03/31 21:00:11| storeDirWriteCleanLogs: Starting... 2015/03/31 21:00:11| WARNING: Closing open FD 18 2015/03/31 21:00:11| commSetEvents: epoll_ctl(EPOLL_CTL_DEL): failed on fd=18: (1) Operation not permitted 2015/03/31 21:00:11| Finished. Wrote 5113 entries. 2015/03/31 21:00:11| Took 0.0 seconds (4703771.8 entries/sec). FATAL: The url_rewriter helpers are crashing too rapidly, need help!

Squid Cache (Version 2.7.STABLE9): Terminated abnormally. CPU Usage: 1.756 seconds = 0.852 user + 0.904 sys Maximum Resident Size: 48992 KB Page faults with physical i/o: 0 Memory usage for squid via mallinfo(): total space in arena: 14524 KB Ordinary blocks: 13313 KB 55 blks Small blocks: 0 KB 1 blks Holding blocks: 396 KB 1 blks Free Small blocks: 0 KB Free Ordinary blocks: 1210 KB Total in use: 13709 KB 92% Total free: 1210 KB 8% 2015/03/31 21:00:14| Starting Squid Cache version 2.7.STABLE9 for x86_64-pc-linux-gnu... 2015/03/31 21:00:14| Process ID 4169 2015/03/31 21:00:14| With 1024 file descriptors available 2015/03/31 21:00:14| Using epoll for the IO loop 2015/03/31 21:00:14| DNS Socket created at 0.0.0.0, port 42364, FD 6 2015/03/31 21:00:14| Adding nameserver 127.0.0.1 from /etc/resolv.conf 2015/03/31 21:00:14| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 21:00:14| User-Agent logging is disabled. 2015/03/31 21:00:14| Referer logging is disabled. 2015/03/31 21:00:14| logfileOpen: opening log /var/log/squid/access.log 2015/03/31 21:00:14| Unlinkd pipe opened on FD 16 2015/03/31 21:00:14| Swap maxSize 102400 + 8192 KB, estimated 8507 objects 2015/03/31 21:00:14| Target number of buckets: 425 2015/03/31 21:00:14| Using 8192 Store buckets 2015/03/31 21:00:14| Max Mem size: 8192 KB 2015/03/31 21:00:14| Max Swap size: 102400 KB 2015/03/31 21:00:14| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec 2015/03/31 21:00:14| logfileOpen: opening log /var/log/squid/store.log 2015/03/31 21:00:14| Rebuilding storage in /var/spool/squid (CLEAN) 2015/03/31 21:00:14| Using Least Load store dir selection 2015/03/31 21:00:14| Set Current Directory to /var/spool/squid 2015/03/31 21:00:14| Loaded Icons. 2015/03/31 21:00:15| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 18. 2015/03/31 21:00:15| Accepting ICP messages at 0.0.0.0, port 3130, FD 19. 2015/03/31 21:00:15| HTCP Disabled. 2015/03/31 21:00:15| WCCP Disabled. 2015/03/31 21:00:15| Ready to serve requests. 2015/03/31 21:00:15| Store rebuilding is 80.1% complete 2015/03/31 21:00:15| Done reading /var/spool/squid swaplog (5113 entries) 2015/03/31 21:00:15| Finished rebuilding storage from disk. 2015/03/31 21:00:15| 5113 Entries scanned 2015/03/31 21:00:15| 0 Invalid entries. 2015/03/31 21:00:15| 0 With invalid flags. 2015/03/31 21:00:15| 5113 Objects loaded. 2015/03/31 21:00:15| 0 Objects expired. 2015/03/31 21:00:15| 0 Objects cancelled. 2015/03/31 21:00:15| 0 Duplicate URLs purged. 2015/03/31 21:00:15| 0 Swapfile clashes avoided. 2015/03/31 21:00:15| Took 0.3 seconds (17652.4 objects/sec). 2015/03/31 21:00:15| Beginning Validation Procedure 2015/03/31 21:00:15| Completed Validation Procedure 2015/03/31 21:00:15| Validated 5113 Entries 2015/03/31 21:00:15| store_swap_size = 93968k 2015/03/31 21:00:15| storeLateRelease: released 0 objects 2015/03/31 21:01:27| WARNING: url_rewriter #1 (FD 7) exited 2015/03/31 21:01:31| WARNING: url_rewriter #2 (FD 8) exited 2015/03/31 21:01:36| WARNING: url_rewriter #3 (FD 9) exited 2015/03/31 21:01:36| Too few url_rewriter processes are running 2015/03/31 21:01:36| Starting new helpers 2015/03/31 21:01:36| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 21:02:35| WARNING: url_rewriter #4 (FD 10) exited 2015/03/31 21:02:36| WARNING: url_rewriter #5 (FD 11) exited 2015/03/31 21:02:36| ERROR: Helper on fd 131 has crashed! 2015/03/31 21:02:36| WARNING: url_rewriter #1 (FD 131) exited 2015/03/31 21:02:36| WARNING: url_rewriter #2 (FD 137) exited 2015/03/31 21:02:36| WARNING: url_rewriter #3 (FD 176) exited 2015/03/31 21:02:36| Too few url_rewriter processes are running 2015/03/31 21:02:36| Starting new helpers 2015/03/31 21:02:36| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 21:02:36| WARNING: url_rewriter #4 (FD 178) exited 2015/03/31 21:02:36| WARNING: url_rewriter #5 (FD 179) exited 2015/03/31 21:02:37| WARNING: url_rewriter #1 (FD 87) exited 2015/03/31 21:04:08| WARNING: url_rewriter #2 (FD 94) exited 2015/03/31 21:04:08| WARNING: url_rewriter #3 (FD 124) exited 2015/03/31 21:04:08| Too few url_rewriter processes are running 2015/03/31 21:04:08| Starting new helpers 2015/03/31 21:04:08| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 21:04:09| httpReadReply: Excess data from „POST http://sba.yandex.net/downloads?client=navclient-auto-ffox&appver=36.0.4&... 2015/03/31 21:04:10| WARNING: url_rewriter #4 (FD 125) exited 2015/03/31 21:04:41| httpReadReply: Excess data from „GET http://masterh4.adriver.ru/images/0003791/0003791501/0/script.js?vside_banner... 2015/03/31 21:05:25| WARNING: url_rewriter #5 (FD 126) exited 2015/03/31 21:05:27| WARNING: url_rewriter #1 (FD 104) exited 2015/03/31 21:06:27| WARNING: url_rewriter #2 (FD 105) exited 2015/03/31 21:06:29| WARNING: url_rewriter #3 (FD 108) exited 2015/03/31 21:06:29| Too few url_rewriter processes are running 2015/03/31 21:06:29| Starting new helpers 2015/03/31 21:06:29| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 21:06:38| WARNING: url_rewriter #4 (FD 109) exited 2015/03/31 21:06:41| WARNING: url_rewriter #5 (FD 110) exited 2015/03/31 21:06:41| helperHandleRead: FD 151 read: (104) Connection reset by peer 2015/03/31 21:06:41| WARNING: url_rewriter #1 (FD 151) exited 2015/03/31 21:06:46| helperHandleRead: FD 152 read: (104) Connection reset by peer 2015/03/31 21:06:46| WARNING: url_rewriter #2 (FD 152) exited 2015/03/31 21:07:10| WARNING: All url_rewriter processes are busy. 2015/03/31 21:07:10| WARNING: up to 3 pending requests queued 2015/03/31 21:14:30| WARNING: url_rewriter #3 (FD 157) exited 2015/03/31 21:14:30| Too few url_rewriter processes are running 2015/03/31 21:14:30| Starting new helpers 2015/03/31 21:14:30| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 21:14:31| WARNING: url_rewriter #4 (FD 158) exited 2015/03/31 21:16:20| WARNING: url_rewriter #5 (FD 160) exited 2015/03/31 21:16:21| ERROR: Helper on fd 26 has crashed! 2015/03/31 21:16:21| WARNING: url_rewriter #1 (FD 26) exited 2015/03/31 21:16:21| ERROR: Helper on fd 51 has crashed! 2015/03/31 21:16:21| WARNING: url_rewriter #2 (FD 51) exited 2015/03/31 21:17:01| WARNING: url_rewriter #3 (FD 93) exited 2015/03/31 21:17:01| Too few url_rewriter processes are running 2015/03/31 21:17:01| Starting new helpers 2015/03/31 21:17:01| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 21:17:02| ERROR: Helper on fd 104 has crashed! 2015/03/31 21:17:02| WARNING: url_rewriter #4 (FD 104) exited 2015/03/31 21:22:14| WARNING: url_rewriter #5 (FD 109) exited 2015/03/31 21:22:31| WARNING: url_rewriter #1 (FD 23) exited 2015/03/31 21:22:32| WARNING: url_rewriter #2 (FD 77) exited 2015/03/31 21:22:32| WARNING: url_rewriter #3 (FD 92) exited 2015/03/31 21:22:32| Too few url_rewriter processes are running 2015/03/31 21:22:32| Starting new helpers 2015/03/31 21:22:32| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 21:24:02| WARNING: url_rewriter #4 (FD 95) exited 2015/03/31 21:24:03| helperHandleRead: FD 101 read: (104) Connection reset by peer 2015/03/31 21:24:03| WARNING: url_rewriter #5 (FD 101) exited 2015/03/31 21:24:03| WARNING: url_rewriter #1 (FD 136) exited 2015/03/31 21:24:03| WARNING: url_rewriter #2 (FD 161) exited 2015/03/31 21:24:03| WARNING: url_rewriter #3 (FD 164) exited 2015/03/31 21:24:03| Too few url_rewriter processes are running 2015/03/31 21:24:03| Starting new helpers 2015/03/31 21:24:03| helperOpenServers: Starting 5 'sams2redir' processes 2015/03/31 21:24:07| WARNING: url_rewriter #4 (FD 165) exited

Пробовал удалить старые логи, размеры были большие, но после рестарта все стало повторяться вновь. может кто сталкивался с такой проблемой.


Логи у sams2redir куда идут? Может там есть что важное.

mky ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.