Padajici squid

Katerina Bubenickova katerina.bubenickova na plbohnice.cz
Čtvrtek Srpen 10 15:48:38 CEST 2006


DD,
mam SuSE SLES 8, squid funguje uz dlouho.
Dneska rano nebezel, ale nechal se nastartovat.

/var/log/messages:
Squid Parent: child process 11861 exited due to signal 6
Exiting due to repeated, frequent failures

Hledala jsem v googlu a zjistila, ze se jedna o fatalni chybu a mam 
nahlednout do /var/log/squid/cache.log,
ale tam neni nic, co by mi situaci objasnilo.

Dneska padl uz potreti, vzdycky nejakou dobu bezi (1/2 - 2 h)

Logy taky nejsou moc velke:
 ls -l /var/log/squid

-rw-r-----    1 squid    root     22724412 2006-08-10 14:26 access.log
-rw-r-----    1 squid    root       469300 2006-08-10 14:14 cache.log
-rw-r-----    1 root     root         3499 2005-04-04 12:54 rcsquid.log

Co muzu v takoveto situaci delat? Da se nejak zvysit log-level nebo neco 
takoveho?

Nasleduje vypis z /var/log/squid/cache.log, kde jsou videt 2 po sobe 
nasledujici restarty squidu, oznacila jsem je hvezdickami.
Squid se restartoval nekolikrat, nakonec skoncil s chybou a hlaskou v 
messages.

006/08/10 12:57:49|     37060 Entries scanned
2006/08/10 12:57:49|         0 Invalid entries.
2006/08/10 12:57:49|         0 With invalid flags.
2006/08/10 12:57:49|      9557 Objects loaded.
2006/08/10 12:57:49|         0 Objects expired.
2006/08/10 12:57:49|     27499 Objects cancelled.
2006/08/10 12:57:49|         0 Duplicate URLs purged.
2006/08/10 12:57:49|         4 Swapfile clashes avoided.
2006/08/10 12:57:49|   Took 1.0 seconds (9969.8 objects/sec).
2006/08/10 12:57:49| Beginning Validation Procedure
2006/08/10 12:57:49|   Completed Validation Procedure
2006/08/10 12:57:49|   Validated 9557 Entries
2006/08/10 12:57:49|   store_swap_size = 92164k
2006/08/10 12:57:49| storeLateRelease: released 4 objects    
****************************************************
2006/08/10 12:57:54| Starting Squid Cache version 2.4.STABLE7 for 
i686-pc-linux-gnu...
2006/08/10 12:57:54| Process ID 11861
2006/08/10 12:57:54| With 1024 file descriptors available
2006/08/10 12:57:54| DNS Socket created on FD 5
2006/08/10 12:57:54| Adding nameserver 176.16.0.2 from /etc/resolv.conf
2006/08/10 12:57:54| User-Agent logging is disabled.
2006/08/10 12:57:54| Referer logging is disabled.
2006/08/10 12:57:54| Unlinkd pipe opened on FD 10
2006/08/10 12:57:54| Swap maxSize 102400 KB, estimated 17066 objects
2006/08/10 12:57:54| Target number of buckets: 853
2006/08/10 12:57:54| Using 8192 Store buckets
2006/08/10 12:57:54| Max Mem  size: 8192 KB
2006/08/10 12:57:54| Max Swap size: 102400 KB
2006/08/10 12:57:54| Store logging disabled
2006/08/10 12:57:54| Rebuilding storage in /var/cache/squid (DIRTY)
2006/08/10 12:57:54| Using Least Load store dir selection
2006/08/10 12:57:54| Set Current Directory to /var/cache/squid
2006/08/10 12:57:54| Loaded Icons.
2006/08/10 12:57:55| Accepting HTTP connections at 0.0.0.0, port 3128, 
FD 11.
2006/08/10 12:57:55| HTCP Disabled.
2006/08/10 12:57:55| Accepting SNMP messages on port 3401, FD 12.
2006/08/10 12:57:55| WCCP Disabled.
2006/08/10 12:57:55| Ready to serve requests.
2006/08/10 12:57:55| Store rebuilding is  6.3% complete
2006/08/10 12:57:55| Done reading /var/cache/squid swaplog (64583 entries)
2006/08/10 12:57:55| Finished rebuilding storage from disk.
2006/08/10 12:57:55|     37064 Entries scanned
2006/08/10 12:57:55|         0 Invalid entries.
2006/08/10 12:57:55|         0 With invalid flags.
2006/08/10 12:57:55|      9545 Objects loaded.
2006/08/10 12:57:55|         0 Objects expired.
2006/08/10 12:57:55|     27519 Objects cancelled.
2006/08/10 12:57:55|         0 Duplicate URLs purged.
2006/08/10 12:57:55|         0 Swapfile clashes avoided.
2006/08/10 12:57:55|   Took 0.9 seconds (10959.7 objects/sec).
2006/08/10 12:57:55| Beginning Validation Procedure
2006/08/10 12:57:55|   Completed Validation Procedure
2006/08/10 12:57:55|   Validated 9545 Entries
2006/08/10 12:57:55|   store_swap_size = 92156k
2006/08/10 12:57:55| storeLateRelease: released 0 objects
2006/08/10 14:06:14| Starting Squid Cache version 2.4.STABLE7 for 
i686-pc-linux-gnu...****************************

Diky za kazdou radu
--Katerina Bubenickova


Další informace o konferenci Linux