Re: [squid-users] almost 100% CPU (the revenge...)

From: unixware <datareactor@dont-contact.us>
Date: Tue, 20 Apr 2004 07:41:05 -0700 (PDT)

try using

half_closed_clients off

try disabling access.log

cache_access_log /dev/null

Regards

> Hello all,
> I've tried to use "squid -k debug" to check why
> the CPU goes about 100%
> (97-98%) and I've found this:
>
> 2004/04/20 14:34:52| Starting Squid Cache version
> 2.4.STABLE6 for
> powerpc-debian-linux-gnu...
> 2004/04/20 14:34:52| Process ID 241
> 2004/04/20 14:34:52| With 1024 file descriptors
> available
> 2004/04/20 14:34:52| DNS Socket created on FD 5
> 2004/04/20 14:34:52| Adding nameserver 10.0.0.1 from
> squid.conf
> 2004/04/20 14:34:52| Adding nameserver 10.0.0.5 from
> squid.conf
> 2004/04/20 14:34:52| Adding nameserver 10.0.0.7 from
> squid.conf
> 2004/04/20 14:34:52| Adding nameserver
> 212.17.192.216 from squid.conf
> 2004/04/20 14:34:52| Adding nameserver 212.17.192.56
> from squid.conf
> 2004/04/20 14:34:52| Adding nameserver 151.98.125.2
> from squid.conf
> 2004/04/20 14:34:52| Adding nameserver 151.98.125.3
> from squid.conf
> 2004/04/20 14:34:52| Adding nameserver
> 217.141.85.131 from squid.conf
> 2004/04/20 14:34:52| Adding nameserver 212.41.208.6
> from squid.conf
> 2004/04/20 14:34:52| User-Agent logging is disabled.
> 2004/04/20 14:34:52| Referer logging is disabled.
> 2004/04/20 14:34:52| Unlinkd pipe opened on FD 10
> 2004/04/20 14:34:52| Swap maxSize 102400 KB,
> estimated 7876 objects
> 2004/04/20 14:34:52| Target number of buckets: 393
> 2004/04/20 14:34:52| Using 8192 Store buckets
> 2004/04/20 14:34:52| Max Mem size: 8192 KB
> 2004/04/20 14:34:52| Max Swap size: 102400 KB
> 2004/04/20 14:34:52| Local cache digest enabled;
> rebuild/rewrite every
> 3600/3600 sec
> 2004/04/20 14:34:52| Rebuilding storage in
> /var/spool/squid (CLEAN)
> 2004/04/20 14:34:52| Using Least Load store dir
> selection
> 2004/04/20 14:34:52| Set Current Directory to
> /var/spool/squid
> 2004/04/20 14:34:52| Loaded Icons.
> 2004/04/20 14:34:55| Accepting HTTP connections at
> 0.0.0.0, port 3128, FD
> 12.
> 2004/04/20 14:34:55| Accepting ICP messages at
> 0.0.0.0, port 3130, FD 13.
> 2004/04/20 14:34:55| HTCP Disabled.
> 2004/04/20 14:34:55| WCCP Disabled.
> 2004/04/20 14:34:55| Configuring Sibling
> 10.0.0.5/6588/3130
> 2004/04/20 14:34:55| Configuring Sibling
> 10.0.0.1/6588/3130
> 2004/04/20 14:34:55| Ready to serve requests.
> 2004/04/20 14:34:56| Done reading /var/spool/squid
> swaplog (1343 entries)
> 2004/04/20 14:34:56| Finished rebuilding storage
> from disk.
> 2004/04/20 14:34:56| 1343 Entries scanned
> 2004/04/20 14:34:56| 0 Invalid entries.
> 2004/04/20 14:34:56| 0 With invalid flags.
> 2004/04/20 14:34:56| 1343 Objects loaded.
> 2004/04/20 14:34:56| 0 Objects expired.
> 2004/04/20 14:34:56| 0 Objects cancelled.
> 2004/04/20 14:34:56| 0 Duplicate URLs
> purged.
> 2004/04/20 14:34:56| 0 Swapfile clashes
> avoided.
> 2004/04/20 14:34:56| Took 3.2 seconds ( 424.7
> objects/sec).
> 2004/04/20 14:34:56| Beginning Validation Procedure
> 2004/04/20 14:34:56| Completed Validation
> Procedure
> 2004/04/20 14:34:56| Validated 1343 Entries
> 2004/04/20 14:34:56| store_swap_size = 91696k
> 2004/04/20 14:34:56| storeLateRelease: released 0
> objects
> 2004/04/20 14:36:20| Preparing for shutdown after 3
> requests
> 2004/04/20 14:36:20| Waiting 30 seconds for active
> connections to finish
> 2004/04/20 14:36:20| FD 12 Closing HTTP connection
> 2004/04/20 14:36:23| storeClientCopy:
> 4C7DF4E5C89823AD8E9B114ECE01D552,
> seen 767, want 0, size 4096, cb 0x1005089c, cbdata
> 0x105e3a18
> 2004/04/20 14:36:23| storeClientCopy2: Queueing
> storeClientCopyEvent()
> 2004/04/20 14:36:23| cbdataLock: 0x105e3c08
> 2004/04/20 14:36:23| eventAdd: Adding
> 'storeClientCopyEvent', in 0.000000
> seconds
> 2004/04/20 14:36:23| cbdataUnlock: 0x105e3c08
> 2004/04/20 14:36:23| comm_poll: 0 FDs ready
> 2004/04/20 14:36:23| comm_poll: time out:
> 1082464583.
> 2004/04/20 14:36:23| eventRun: RUN ID 677791
> 2004/04/20 14:36:23| cbdataValid: 0x105e3c08
> 2004/04/20 14:36:23| cbdataUnlock: 0x105e3c08
> 2004/04/20 14:36:23| eventRun: Running
> 'storeClientCopyEvent', id 677790
> 2004/04/20 14:36:23| storeClientCopyEvent: Running
> 2004/04/20 14:36:23| cbdataLock: 0x105e3c08
> 2004/04/20 14:36:23| storeClientCopy2:
> 4C7DF4E5C89823AD8E9B114ECE01D552
> 2004/04/20 14:36:23| storeClientCopy3: Copying from
> memory
> 2004/04/20 14:36:23| memCopy: offset 0: size 4096
> 2004/04/20 14:36:23| cbdataValid: 0x105e3a18
> 2004/04/20 14:36:23| cbdataValid: 0x105e3a18
> 2004/04/20 14:36:23| cbdataValid: 0x10213950
> 2004/04/20 14:36:23| cbdataValid: 0x102137c0
> 2004/04/20 14:36:23| peerDigestFetchReply: peer
> 10.0.0.5, offset: 0 size:
> 767.
> 2004/04/20 14:36:23| cbdataValid: 0x102137c0
> 2004/04/20 14:36:23| storeClientCopy:
> 4C7DF4E5C89823AD8E9B114ECE01D552,
> seen 767, want 0, size 4096, cb 0x1005089c, cbdata
> 0x105e3a18
> 2004/04/20 14:36:23| storeClientCopy2: Queueing
> storeClientCopyEvent()
> 2004/04/20 14:36:23| cbdataLock: 0x105e3c08
> 2004/04/20 14:36:23| eventAdd: Adding
> 'storeClientCopyEvent', in 0.000000
> seconds
> 2004/04/20 14:36:23| cbdataUnlock: 0x105e3c08
> 2004/04/20 14:36:23| comm_poll: 0 FDs ready
> 2004/04/20 14:36:23| comm_poll: time out:
> 1082464583.
> 2004/04/20 14:36:23| eventRun: RUN ID 677792
> 2004/04/20 14:36:23| cbdataValid: 0x105e3c08
> 2004/04/20 14:36:23| cbdataUnlock: 0x105e3c08
> 2004/04/20 14:36:23| eventRun: Running
> 'storeClientCopyEvent', id 677791
> 2004/04/20 14:36:23| storeClientCopyEvent: Running
> 2004/04/20 14:36:23| cbdataLock: 0x105e3c08
> 2004/04/20 14:36:23| storeClientCopy2:
> 4C7DF4E5C89823AD8E9B114ECE01D552
> 2004/04/20 14:36:23| storeClientCopy3: Copying from
> memory
> 2004/04/20 14:36:23| memCopy: offset 0: size 4096
> 2004/04/20 14:36:23| cbdataValid: 0x105e3a18
> 2004/04/20 14:36:23| cbdataValid: 0x105e3a18
> 2004/04/20 14:36:23| cbdataValid: 0x10213950
> 2004/04/20 14:36:23| cbdataValid: 0x102137c0
> 2004/04/20 14:36:23| peerDigestFetchReply: peer
> 10.0.0.5, offset: 0 size:
> 767.
> 2004/04/20 14:36:23| cbdataValid: 0x102137c0
> 2004/04/20 14:36:23| storeClientCopy:
> 4C7DF4E5C89823AD8E9B114ECE01D552,
> seen 767, want 0, size 4096, cb 0x1005089c, cbdata
> 0x105e3a18
> 2004/04/20 14:36:23| storeClientCopy2: Queueing
> storeClientCopyEvent()
> 2004/04/20 14:36:23| cbdataLock: 0x105e3c08
> 2004/04/20 14:36:23| eventAdd: Adding
> 'storeClientCopyEvent', in 0.000000
> seconds
> 2004/04/20 14:36:23| cbdataUnlock: 0x105e3c08
> 2004/04/20 14:36:23| comm_poll: 0 FDs ready
> 2004/04/20 14:36:23| comm_poll: time out:
> 1082464583.
> 2004/04/20 14:36:23| eventRun: RUN ID 677793
> 2004/04/20 14:36:23| cbdataValid: 0x105e3c08
> 2004/04/20 14:36:23| cbdataUnlock: 0x105e3c08
> 2004/04/20 14:36:23| eventRun: Running
> 'storeClientCopyEvent', id 677792
> 2004/04/20 14:36:23| storeClientCopyEvent: Running
> 2004/04/20 14:36:23| cbdataLock: 0x105e3c08
> 2004/04/20 14:36:23| storeClientCopy2:
> 4C7DF4E5C89823AD8E9B114ECE01D552
> 2004/04/20 14:36:23| storeClientCopy3: Copying from
> memory
> 2004/04/20 14:36:23| memCopy: offset 0: size 4096
> 2004/04/20 14:36:23| cbdataValid: 0x105e3a18
> 2004/04/20 14:36:23| cbdataValid: 0x105e3a18
> 2004/04/20 14:36:23| cbdataValid: 0x10213950
> 2004/04/20 14:36:23| cbdataValid: 0x102137c0
> 2004/04/20 14:36:23| peerDigestFetchReply: peer
> 10.0.0.5, offset: 0 size:
> 767.
> 2004/04/20 14:36:23| cbdataValid: 0x102137c0
> 2004/04/20 14:36:23| storeClientCopy:
> 4C7DF4E5C89823AD8E9B114ECE01D552,
> seen 767, want 0, size 4096, cb 0x1005089c, cbdata
> 0x105e3a18
> 2004/04/20 14:36:23| storeClientCopy2: Queueing
> storeClientCopyEvent()
> 2004/04/20 14:36:23| cbdataLock: 0x105e3c08
> 2004/04/20 14:36:23| eventAdd: Adding
> 'storeClientCopyEvent', in 0.000000
> seconds
>
=== message truncated ===

        
                
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
Received on Tue Apr 20 2004 - 08:41:21 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT