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
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 677794
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 677793
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 677795
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 677794
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 677796
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 677795
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 677797
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 677796
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 677798
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 677797
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 677799
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 677798
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

The *very* strange thing (to me, maybe it is correct) is that, as you can
see, it continuously repeats the whole thing from "storeClientCopy:
4C7DF4E5C89823AD8E9B114ECE01D552, seen 767, want 0, size 4096, cb
0x1005089c, cbdata 0x105e3a18" to "cbdataValid: 0x102137c0".

As usual the following is my squid.conf file:

cache_peer 10.0.0.5 sibling 6588 3130 default
cache_peer 10.0.0.1 sibling 6588 3130 default
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 8 MB

dns_nameservers 10.0.0.1 10.0.0.5 10.0.0.7 212.17.192.216 212.17.192.56
151.98.125.2 151.98.125.3 217.141.85.131 212.41.208.6

acl all src 0.0.0.0/255.255.255.255
acl ddmedia src 10.0.0.0/255.255.255.0
acl ingresso myport 3128
acl localhost src 127.0.0.1/255.255.255.255
acl localhost src 10.0.0.7/255.255.255.255
acl porte port 80 21 22 25 110 443 563
acl manager proto cache_object
acl SSL_ports port 443 563      # ssl
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # https, snews
acl Safe_ports port 25 110      # smtp, pop
acl Safe_ports port 1755        # windows media
acl Safe_porte port 22          # ssh
acl Safe_ports port 554         # audio video
acl Safe_ports port 1080        # socks
acl Safe_ports port 1863        # msn messenger
acl Safe_ports port 5190        # icq
acl Safe_ports port 7070        # audio video
acl Safe_ports port 123         # ntp
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow ddmedia localhost
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
icp_access allow ddmedia
miss_access allow ddmedia
miss_access deny !ddmedia
forwarded_for off
anonymize_headers deny Link WWW-Authenticate
fake_user_agent ELinks 0.4pre5
error_directory /usr/lib/squid/errors/Italian

Could you please help me in solving this problem?

Thanks,

Marco

-- 
(o>  Utente [EMAIL PROTECTED] da 3,769 anni (2526 unit�)
//\  Tempo CPU: 2,43 anni (8h 25min 32,8s medio)
V_/_ Posizione: 102186/4965562 (97,941%)

Reply via email to