[squid-users] Squid automatically restarts

From: Hamza Sani <hamza_sani_at_hotmail.com>
Date: Sun, 21 Nov 2010 11:19:07 +0000

 Hi,

I am facing issue that my squid automatically restarts after
 every few minutes. I wont find out whats wrong with it. Following is my
 cache.log output.

  2010/11/21 15:55:38| Starting Squid Cache version 2.5.STABLE14 for i686-redhat-linux-gnu...
2010/11/21 15:55:38| Process ID 4393
2010/11/21 15:55:38| With 1024 file descriptors available
2010/11/21 15:55:38| DNS Socket created at 0.0.0.0, port 34895, FD 5
2010/11/21 15:55:38| Adding nameserver 11.0.0.2 from squid.conf
2010/11/21 15:55:38| Adding nameserver 221.132.112.8 from squid.conf
2010/11/21 15:55:38| User-Agent logging is disabled.
2010/11/21 15:55:38| Referer logging is disabled.
2010/11/21 15:55:38| Unlinkd pipe opened on FD 10
2010/11/21 15:55:38| Swap maxSize 9216000 KB, estimated 708923 objects
2010/11/21 15:55:38| Target number of buckets: 35446
2010/11/21 15:55:38| Using 65536 Store buckets
2010/11/21 15:55:38| Max Mem  size: 8192 KB
2010/11/21 15:55:38| Max Swap size: 9216000 KB
2010/11/21 15:55:38| Rebuilding storage in /cache1 (CLEAN)
2010/11/21 15:55:38| Using Least Load store dir selection
2010/11/21 15:55:38| Set Current Directory to /var/spool/squid
2010/11/21 15:55:38| Loaded Icons.
2010/11/21 15:55:38| Accepting HTTP connections at 11.0.0.1, port 3128, FD 12.
2010/11/21 15:55:38| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2010/11/21 15:55:38| WCCP Disabled.
2010/11/21 15:55:38| Configuring Parent XX.XX.108.92/8080/0
2010/11/21 15:55:38| Ready to serve requests.
2010/11/21 15:55:38| Done reading /cache1 swaplog (14 entries)
2010/11/21 15:55:38| Finished rebuilding storage from disk.
2010/11/21 15:55:38|        14 Entries scanned
2010/11/21 15:55:38|         0 Invalid entries.
2010/11/21 15:55:38|         0 With invalid flags.
2010/11/21 15:55:38|        14 Objects loaded.
2010/11/21 15:55:38|         0 Objects expired.
2010/11/21 15:55:38|         0 Objects cancelled.
2010/11/21 15:55:38|         0 Duplicate URLs purged.
2010/11/21 15:55:38|         0 Swapfile clashes avoided.
2010/11/21 15:55:38|   Took 0.3 seconds (  51.6 objects/sec).
2010/11/21 15:55:38| Beginning Validation Procedure
2010/11/21 15:55:38|   Completed Validation Procedure
2010/11/21 15:55:38|   Validated 14 Entries
2010/11/21 15:55:38|   store_swap_size = 168k
2010/11/21 15:55:39| storeLateRelease: released 0 objects
[root_at_Router ~]# tail -f /var/log/squid/cache.log
2010/11/21 15:55:38|         0 Objects expired.
2010/11/21 15:55:38|         0 Objects cancelled.
2010/11/21 15:55:38|         0 Duplicate URLs purged.
2010/11/21 15:55:38|         0 Swapfile clashes avoided.
2010/11/21 15:55:38|   Took 0.3 seconds (  51.6 objects/sec).
2010/11/21 15:55:38| Beginning Validation Procedure
2010/11/21 15:55:38|   Completed Validation Procedure
2010/11/21 15:55:38|   Validated 14 Entries
2010/11/21 15:55:38|   store_swap_size = 168k
2010/11/21 15:55:39| storeLateRelease: released 0 objects
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2010/11/21 16:00:08| Preparing for shutdown after 309 requests
2010/11/21 16:00:08| Waiting 1 seconds for active connections to finish
2010/11/21 16:00:08| FD 12 Closing HTTP connection
2010/11/21 16:00:10| Shutting down...
2010/11/21 16:00:10| FD 13 Closing ICP connection
2010/11/21 16:00:10| WARNING: Closing client 11.0.0.2 connection due to lifetime timeout
2010/11/21
 16:00:10|   
http://nyc-v65.pornhub.com/dl/a98b5b81cbb57fc75d3017b38e303ea8/4ce8fb83/videos/002/045/287/2045287.flv?r=150&start=18716004
2010/11/21 16:00:10| Closing unlinkd pipe on FD 10
2010/11/21 16:00:10| storeDirWriteCleanLogs: Starting...
2010/11/21 16:00:10|   Finished.  Wrote 90 entries.
2010/11/21 16:00:10|   Took 0.0 seconds (167597.8 entries/sec).
CPU Usage: 0.732 seconds = 0.345 user + 0.387 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:    2904 KB
        Ordinary blocks:         2829 KB     35 blks
        Small blocks:               0 KB      6 blks
        Holding blocks:           468 KB      2 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:      74 KB
        Total in use:            3297 KB 114%
        Total free:                74 KB 3%
2010/11/21 16:00:10| Squid Cache (Version 2.5.STABLE14): Exiting normally.
2010/11/21 16:00:13| Starting Squid Cache version 2.5.STABLE14 for i686-redhat-linux-gnu...
2010/11/21 16:00:13| Process ID 4887
2010/11/21 16:00:13| With 1024 file descriptors available
2010/11/21 16:00:13| DNS Socket created at 0.0.0.0, port 34896, FD 5
2010/11/21 16:00:13| Adding nameserver 11.0.0.2 from squid.conf
2010/11/21 16:00:13| Adding nameserver X.X.112.8 from squid.conf
2010/11/21 16:00:13| User-Agent logging is disabled.
2010/11/21 16:00:13| Referer logging is disabled.
2010/11/21 16:00:13| Unlinkd pipe opened on FD 10
2010/11/21 16:00:13| Swap maxSize 9216000 KB, estimated 708923 objects
2010/11/21 16:00:13| Target number of buckets: 35446
2010/11/21 16:00:13| Using 65536 Store buckets
2010/11/21 16:00:13| Max Mem  size: 8192 KB
2010/11/21 16:00:13| Max Swap size: 9216000 KB
2010/11/21 16:00:13| Rebuilding storage in /cache1 (CLEAN)
2010/11/21 16:00:13| Using Least Load store dir selection
2010/11/21 16:00:13| Set Current Directory to /var/spool/squid
2010/11/21 16:00:13| Loaded Icons.
2010/11/21 16:00:13| Accepting HTTP connections at 11.0.0.1, port 3128, FD 12.
2010/11/21 16:00:13| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2010/11/21 16:00:13| WCCP Disabled.
2010/11/21 16:00:13| Configuring Parent XXX.XXX.108.92/8080/0
2010/11/21 16:00:13| Ready to serve requests.
2010/11/21 16:00:13| Done reading /cache1 swaplog (90 entries)
2010/11/21 16:00:13| Finished rebuilding storage from disk.
2010/11/21 16:00:13|        90 Entries scanned
2010/11/21 16:00:13|         0 Invalid entries.
2010/11/21 16:00:13|         0 With invalid flags.
2010/11/21 16:00:13|        90 Objects loaded.
2010/11/21 16:00:13|         0 Objects expired.
2010/11/21 16:00:13|         0 Objects cancelled.
2010/11/21 16:00:13|         0 Duplicate URLs purged.
2010/11/21 16:00:13|         0 Swapfile clashes avoided.
2010/11/21 16:00:13|   Took 0.3 seconds ( 331.3 objects/sec).
2010/11/21 16:00:13| Beginning Validation Procedure
2010/11/21 16:00:13|   Completed Validation Procedure
2010/11/21 16:00:13|   Validated 90 Entries
2010/11/21 16:00:13|   store_swap_size = 844k
2010/11/21 16:00:14| storeLateRelease: released 0 objects
2010/11/21 16:05:07| Preparing for shutdown after 117 requests
2010/11/21 16:05:07| Waiting 1 seconds for active connections to finish
2010/11/21 16:05:07| FD 12 Closing HTTP connection
2010/11/21 16:05:09| Shutting down...
2010/11/21 16:05:09| FD 13 Closing ICP connection
2010/11/21 16:05:09| WARNING: Closing client 11.0.0.2 connection due to lifetime timeout
2010/11/21
 16:05:09|   
http://v8.lscache2.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dYRVNRUF9FSkNNOF9LS1RF&fexp=908800%2C900027%2C905602&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&expire=1290362400&key=yt1&signature=03FBCB60B03C957FC20BAE0C9E7BCE4545D4CC50.22A2930AE1E4B93B5CE1AC5FBF65A7E4C11DCE2D&factor=1.25&id=9dd7bfe3e84f4680&
2010/11/21 16:05:09| Closing unlinkd pipe on FD 10
2010/11/21 16:05:09| storeDirWriteCleanLogs: Starting...
2010/11/21 16:05:09|   Finished.  Wrote 113 entries.
2010/11/21 16:05:09|   Took 0.0 seconds (269047.6 entries/sec).
CPU Usage: 0.542 seconds = 0.263 user + 0.279 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:    2508 KB
        Ordinary blocks:         2361 KB     32 blks
        Small blocks:               0 KB      5 blks
        Holding blocks:           468 KB      2 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:     146 KB
        Total in use:            2829 KB 113%
        Total free:               146 KB 6%
2010/11/21 16:05:09| Squid Cache (Version 2.5.STABLE14): Exiting normally.
2010/11/21 16:05:12| Starting Squid Cache version 2.5.STABLE14 for i686-redhat-linux-gnu...
2010/11/21 16:05:12| Process ID 5425
2010/11/21 16:05:12| With 1024 file descriptors available
2010/11/21 16:05:12| DNS Socket created at 0.0.0.0, port 34897, FD 5
2010/11/21 16:05:12| Adding nameserver 11.0.0.2 from squid.conf
2010/11/21 16:05:12| Adding nameserver XX.XX.112.8 from squid.conf
2010/11/21 16:05:12| User-Agent logging is disabled.
2010/11/21 16:05:12| Referer logging is disabled.
2010/11/21 16:05:12| Unlinkd pipe opened on FD 10
2010/11/21 16:05:12| Swap maxSize 9216000 KB, estimated 708923 objects
2010/11/21 16:05:12| Target number of buckets: 35446
2010/11/21 16:05:12| Using 65536 Store buckets
2010/11/21 16:05:12| Max Mem  size: 8192 KB
2010/11/21 16:05:12| Max Swap size: 9216000 KB
2010/11/21 16:05:12| Rebuilding storage in /cache1 (CLEAN)
2010/11/21 16:05:12| Using Least Load store dir selection
2010/11/21 16:05:12| Set Current Directory to /var/spool/squid
2010/11/21 16:05:12| Loaded Icons.
2010/11/21 16:05:12| Accepting HTTP connections at 11.0.0.1, port 3128, FD 12.
2010/11/21 16:05:12| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2010/11/21 16:05:12| WCCP Disabled.
2010/11/21 16:05:12| Configuring Parent XX.XX.XX.92/8080/0
2010/11/21 16:05:12| Ready to serve requests.
2010/11/21 16:05:12| Done reading /cache1 swaplog (113 entries)
2010/11/21 16:05:12| Finished rebuilding storage from disk.
2010/11/21 16:05:12|       113 Entries scanned
2010/11/21 16:05:12|         0 Invalid entries.
2010/11/21 16:05:12|         0 With invalid flags.
2010/11/21 16:05:12|       113 Objects loaded.
2010/11/21 16:05:12|         0 Objects expired.
2010/11/21 16:05:12|         0 Objects cancelled.
2010/11/21 16:05:12|         0 Duplicate URLs purged.
2010/11/21 16:05:12|         0 Swapfile clashes avoided.
2010/11/21 16:05:12|   Took 0.3 seconds ( 416.3 objects/sec).
2010/11/21 16:05:12| Beginning Validation Procedure
2010/11/21 16:05:12|   Completed Validation Procedure
2010/11/21 16:05:12|   Validated 113 Entries
2010/11/21 16:05:12|   store_swap_size = 1012k
2010/11/21 16:05:13| storeLateRelease: released 0 objects
 
I
 have check my var log messages file there no negative messages appear
on screen regarding squid and there is no cron jobs set for squid
restart. Moreover i have clear my cache drives but problem is still not
resolve.

Your comments in this regard will be highly appreciated.
 
Received on Sun Nov 21 2010 - 11:19:18 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 22 2010 - 12:00:03 MST