Re: [squid-users] Re: squid process offen restart by itself

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Mon, 30 Sep 2013 08:21:18 +0300

OK!

Then remove the workers or set the workers to 1
then use only one cache_dir aufs...
try to work like that but with only one worker..
later on try to add the rock cache_dir.
let it work and see what happens..
use:
#start
workers 1
cache_dir aufs /cache1 10240 16 256 min-size=32001
#end
and comment all the other lines that are not needed.
I am unsure about the size but it is recommended to force on each
cache_dir also a max=size to be strickt about the sizes of the cache.
The above is based on a bug that have been seen but I am not sure if it
applies to 3.3.9 or just 3.4 and 3.head.

I think it's a good practice to know that the cache is limited for a
specific file sizes in a case like that.

Eliezer

On 09/30/2013 08:07 AM, Ding Guigeng wrote:
> my squid.conf:
> # cat /etc/squid/squid.conf
> # should be allowed
> acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
> acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
> acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
> acl localnet src fc00::/7 # RFC 4193 local private network range
> acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged)
> machines
>
> acl SSL_ports port 443
> acl Safe_ports port 80 # http
> acl Safe_ports port 21 # ftp
> acl Safe_ports port 443 # https
> acl Safe_ports port 70 # gopher
> acl Safe_ports port 210 # wais
> acl Safe_ports port 1025-65535 # unregistered ports
> acl Safe_ports port 280 # http-mgmt
> acl Safe_ports port 488 # gss-http
> acl Safe_ports port 591 # filemaker
> acl Safe_ports port 777 # multiling http
> acl CONNECT method CONNECT
>
> acl banurl dstdomain -i "/etc/squid/bandomain.txt"
> # Only allow cachemgr access from localhost
> http_access deny banurl
> #http_access deny badmac
> http_access allow localhost manager
> http_access deny manager
>
> #http_access deny banurl
>
> http_access allow localnet
> http_access allow localhost
>
> # And finally deny all other access to this proxy
> http_access deny all
>
> # Squid normally listens to port 3128
> http_port 3128
> cache_mem 256 MB
> cache_mgr admin
> visible_hostname ndproxy
> cache_swap_low 85
> cache_swap_high 90
> memory_pools off
> half_closed_clients off
> maximum_object_size 32 KB
> maximum_object_size_in_memory 10240 KB
> ipcache_size 1024
> ipcache_low 85
> ipcache_high 95
> # Uncomment and adjust the following to add a disk cache directory.
> #cache_dir ufs /var/cache/squid 100 16 256
> workers 2
> cache_dir rock /cache0 20480 min-size=0 max-size=32000 swap-timeout=500
> max-swap-rate=250
> if ${process_number} = 1
> cache_dir aufs /cache1 10240 16 256 min-size=32001
> endif
> if ${process_number} = 2
> cache_dir aufs /cache2 10240 16 256 min-size=32001
> endif
> # Leave coredumps in the first cache dir
> coredump_dir /cache0
>
> #
> # Add any of your own refresh_pattern entries above these.
> #
> refresh_pattern ^ftp: 1440 20% 10080
> refresh_pattern ^gopher: 1440 0% 1440
> refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
> refresh_pattern . 0 20% 4320
>
>
> Eliezer Croitoru-2 wrote
>> Hey,
>>
>> I have seen that you ar using SMP if I am not wrong.
>> what is the load on the server?
>> Do you need SMP for your specific setup?
>> if you can try to run the server in a single worker mode it can clarify
>> some doubts about the setup.
>>
>> Eliezer
>>
>> On 09/30/2013 07:40 AM, Ding Guigeng wrote:
>>> Hi Amos.
>>> Today i found some error occurred in cache.log
>>>
>>>
>>> 2013/09/30 11:37:47 kid2| Starting Squid Cache version 3.3.9 for
>>> x86_64-redhat-linux-gnu...
>>> 2013/09/30 11:37:47 kid2| Process ID 3940
>>> 2013/09/30 11:37:47 kid2| Process Roles: worker
>>> 2013/09/30 11:37:47 kid2| With 65536 file descriptors available
>>> 2013/09/30 11:37:47 kid2| Initializing IP Cache...
>>> 2013/09/30 11:37:47 kid2| DNS Socket created at [::], FD 9
>>> 2013/09/30 11:37:47 kid2| DNS Socket created at 0.0.0.0, FD 10
>>> 2013/09/30 11:37:47 kid2| Adding nameserver 114.114.114.114 from
>>> /etc/resolv.conf
>>> 2013/09/30 11:37:47 kid2| Adding nameserver 192.168.116.4 from
>>> /etc/resolv.conf
>>> 2013/09/30 11:37:47 kid2| Logfile: opening log
>>> daemon:/var/squid/logs/access.log
>>> 2013/09/30 11:37:47 kid2| Logfile Daemon: opening log
>>> /var/squid/logs/access.log
>>> 2013/09/30 11:37:47 kid2| Local cache digest enabled; rebuild/rewrite
>>> every
>>> 3600/3600 sec
>>> 2013/09/30 11:37:47 kid2| Store logging disabled
>>> 2013/09/30 11:37:47 kid2| Swap maxSize 10485760 + 262144 KB, estimated
>>> 826761 objects
>>> 2013/09/30 11:37:47 kid2| Target number of buckets: 41338
>>> 2013/09/30 11:37:47 kid2| Using 65536 Store buckets
>>> 2013/09/30 11:37:47 kid2| Max Mem size: 262144 KB [shared]
>>> 2013/09/30 11:37:47 kid2| Max Swap size: 10485760 KB
>>> 2013/09/30 11:37:47 kid2| Rebuilding storage in /cache2 (clean log)
>>> 2013/09/30 11:37:47 kid2| Using Least Load store dir selection
>>> 2013/09/30 11:37:47 kid2| Set Current Directory to /cache0
>>> 2013/09/30 11:37:47 kid2| Loaded Icons.
>>> 2013/09/30 11:37:47 kid2| HTCP Disabled.
>>> 2013/09/30 11:37:47 kid2| Pinger socket opened on FD 21
>>> 2013/09/30 11:37:47 kid2| Squid plugin modules loaded: 0
>>> 2013/09/30 11:37:47 kid2| Adaptation support is off.
>>> 2013/09/30 11:37:47| pinger: Initialising ICMP pinger ...
>>> 2013/09/30 11:37:47| pinger: ICMP socket opened.
>>> 2013/09/30 11:37:47| pinger: ICMPv6 socket opened
>>> 2013/09/30 11:37:47| Pinger exiting.
>>> 2013/09/30 11:37:47 kid2| Store rebuilding is 15.70% complete
>>> 2013/09/30 11:37:48 kid2| Accepting HTTP Socket connections at
>>> local=[::]:3128 remote=[::] FD 12 flags=1
>>> 2013/09/30 11:37:48 kid2| Done reading /cache2 swaplog (25478 entries)
>>> 2013/09/30 11:37:48 kid2| Finished rebuilding storage from disk.
>>> 2013/09/30 11:37:48 kid2| 25478 Entries scanned
>>> 2013/09/30 11:37:48 kid2| 0 Invalid entries.
>>> 2013/09/30 11:37:48 kid2| 0 With invalid flags.
>>> 2013/09/30 11:37:48 kid2| 25457 Objects loaded.
>>> 2013/09/30 11:37:48 kid2| 0 Objects expired.
>>> 2013/09/30 11:37:48 kid2| 0 Objects cancelled.
>>> 2013/09/30 11:37:48 kid2| 21 Duplicate URLs purged.
>>> 2013/09/30 11:37:48 kid2| 0 Swapfile clashes avoided.
>>> 2013/09/30 11:37:48 kid2| Took 0.24 seconds (103956.19 objects/sec).
>>> 2013/09/30 11:37:48 kid2| Beginning Validation Procedure
>>> 2013/09/30 11:37:48 kid2| Completed Validation Procedure
>>> 2013/09/30 11:37:48 kid2| Validated 25458 Entries
>>> 2013/09/30 11:37:48 kid2| store_swap_size = 3606836.00 KB
>>> 2013/09/30 11:37:48 kid2| storeLateRelease: released 0 objects
>>> FATAL: Received Segment Violation...dying.
>>> 2013/09/30 11:38:22 kid1| Closing HTTP port [::]:3128
>>> 2013/09/30 11:38:22 kid1| storeDirWriteCleanLogs: Starting...
>>> 2013/09/30 11:38:22 kid1| Finished. Wrote 36010 entries.
>>> 2013/09/30 11:38:22 kid1| Took 0.02 seconds (2229721.36 entries/sec).
>>> CPU Usage: 397.660 seconds = 201.044 user + 196.615 sys
>>> Maximum Resident Size: 1273328 KB
>>> Page faults with physical i/o: 16
>>> Memory usage for squid via mallinfo():
>>> total space in arena: 44596 KB
>>> Ordinary blocks: 35476 KB 202 blks
>>> Small blocks: 0 KB 2 blks
>>> Holding blocks: 38432 KB 9 blks
>>> Free Small blocks: 0 KB
>>> Free Ordinary blocks: 9119 KB
>>> Total in use: 73908 KB 166%
>>> Total free: 9119 KB 20%
>>> 2013/09/30 11:38:25 kid1| Starting Squid Cache version 3.3.9 for
>>> x86_64-redhat-linux-gnu...
>>> 2013/09/30 11:38:25 kid1| Process ID 3976
>>> 2013/09/30 11:38:25 kid1| Process Roles: worker
>>> 2013/09/30 11:38:25 kid1| With 65536 file descriptors available
>>> 2013/09/30 11:38:25 kid1| Initializing IP Cache...
>>> 2013/09/30 11:38:25 kid1| DNS Socket created at [::], FD 9
>>> 2013/09/30 11:38:25 kid1| DNS Socket created at 0.0.0.0, FD 10
>>> 2013/09/30 11:38:25 kid1| Adding nameserver 114.114.114.114 from
>>> /etc/resolv.conf
>>> 2013/09/30 11:38:25 kid1| Adding nameserver 192.168.116.4 from
>>> /etc/resolv.conf
>>> 2013/09/30 11:38:25 kid1| Logfile: opening log
>>> daemon:/var/squid/logs/access.log
>>> 2013/09/30 11:38:25 kid1| Logfile Daemon: opening log
>>> /var/squid/logs/access.log
>>> 2013/09/30 11:38:25 kid1| Local cache digest enabled; rebuild/rewrite
>>> every
>>> 3600/3600 sec
>>> 2013/09/30 11:38:25 kid1| Store logging disabled
>>> 2013/09/30 11:38:25 kid1| Swap maxSize 10485760 + 262144 KB, estimated
>>> 826761 objects
>>> 2013/09/30 11:38:25 kid1| Target number of buckets: 41338
>>> 2013/09/30 11:38:25 kid1| Using 65536 Store buckets
>>> 2013/09/30 11:38:25 kid1| Max Mem size: 262144 KB [shared]
>>> 2013/09/30 11:38:25 kid1| Max Swap size: 10485760 KB
>>> 2013/09/30 11:38:25 kid1| Rebuilding storage in /cache1 (clean log)
>>> 2013/09/30 11:38:25 kid1| Using Least Load store dir selection
>>> 2013/09/30 11:38:25 kid1| Set Current Directory to /cache0
>>> 2013/09/30 11:38:25 kid1| Loaded Icons.
>>> 2013/09/30 11:38:25 kid1| HTCP Disabled.
>>> 2013/09/30 11:38:25 kid1| Pinger socket opened on FD 21
>>> 2013/09/30 11:38:25 kid1| Squid plugin modules loaded: 0
>>> 2013/09/30 11:38:25 kid1| Adaptation support is off.
>>> 2013/09/30 11:38:25| pinger: Initialising ICMP pinger ...
>>> 2013/09/30 11:38:25| pinger: ICMP socket opened.
>>> 2013/09/30 11:38:25| pinger: ICMPv6 socket opened
>>> 2013/09/30 11:38:25 kid1| Store rebuilding is 11.11% complete
>>> 2013/09/30 11:38:25 kid1| Accepting HTTP Socket connections at
>>> local=[::]:3128 remote=[::] FD 12 flags=1
>>> 2013/09/30 11:38:25 kid1| Done reading /cache1 swaplog (36010 entries)
>>> 2013/09/30 11:38:25 kid1| Finished rebuilding storage from disk.
>>> 2013/09/30 11:38:25 kid1| 36010 Entries scanned
>>> 2013/09/30 11:38:25 kid1| 0 Invalid entries.
>>> 2013/09/30 11:38:25 kid1| 0 With invalid flags.
>>> 2013/09/30 11:38:25 kid1| 35975 Objects loaded.
>>> 2013/09/30 11:38:25 kid1| 0 Objects expired.
>>> 2013/09/30 11:38:25 kid1| 0 Objects cancelled.
>>> 2013/09/30 11:38:25 kid1| 35 Duplicate URLs purged.
>>> 2013/09/30 11:38:25 kid1| 0 Swapfile clashes avoided.
>>> 2013/09/30 11:38:25 kid1| Took 0.36 seconds (99679.69 objects/sec).
>>> 2013/09/30 11:38:25 kid1| Beginning Validation Procedure
>>> 2013/09/30 11:38:25 kid1| Completed Validation Procedure
>>> 2013/09/30 11:38:25 kid1| Validated 35989 Entries
>>> 2013/09/30 11:38:25 kid1| store_swap_size = 5319000.00 KB
>>> 2013/09/30 11:38:26 kid1| storeLateRelease: released 14 objects
>>> 6485/02/07 17:24:15| Pinger exiting.
>>> **** glibc detected *** (pinger): free(): invalid next size (normal):
>>> 0x0000000001b4e620 ***
>>> ======= Backtrace: =========
>>> /lib64/libc.so.6(+0x76126)[0x7f0e68643126]
>>> /lib64/libc.so.6(+0x78c53)[0x7f0e68645c53]
>>> /usr/lib64/libstdc++.so.6(_ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED0Ev+0xbb)[0x7f0e68e94a8b]
>>> (pinger)[0x405dd1]
>>> (pinger)[0x402e8b]
>>> (pinger)[0x404dc6]
>>> /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f0e685ebcdd]
>>> (pinger)[0x4027e9]
>>> ======= Memory map: ========
>>> 00400000-0040d000 r-xp 00000000 fd:00 140120
>>> /usr/lib64/squid/pinger
>>> 0060d000-0060e000 rw-p 0000d000 fd:00 140120
>>> /usr/lib64/squid/pinger
>>> 0060e000-00622000 rw-p 00000000 00:00 0
>>> 01b4e000-01b6f000 rw-p 00000000 00:00 0
>>> [heap]
>>> 7f0e681ab000-7f0e681af000 r-xp 00000000 fd:00 1048635
>>> /lib64/libattr.so.1.1.0
>>> 7f0e681af000-7f0e683ae000 ---p 00004000 fd:00 1048635
>>> /lib64/libattr.so.1.1.0
>>> 7f0e683ae000-7f0e683af000 r--p 00003000 fd:00 1048635
>>> /lib64/libattr.so.1.1.0
>>> 7f0e683af000-7f0e683b0000 rw-p 00004000 fd:00 1048635
>>> /lib64/libattr.so.1.1.0
>>> 7f0e683b0000-7f0e683c7000 r-xp 00000000 fd:00 1048614
>>> /lib64/libpthread-2.12.so
>>> 7f0e683c7000-7f0e685c7000 ---p 00017000 fd:00 1048614
>>> /lib64/libpthread-2.12.so
>>> 7f0e685c7000-7f0e685c8000 r--p 00017000 fd:00 1048614
>>> /lib64/libpthread-2.12.so
>>> 7f0e685c8000-7f0e685c9000 rw-p 00018000 fd:00 1048614
>>> /lib64/libpthread-2.12.so
>>> 7f0e685c9000-7f0e685cd000 rw-p 00000000 00:00 0
>>> 7f0e685cd000-7f0e68757000 r-xp 00000000 fd:00 1048590
>>> /lib64/libc-2.12.so
>>> 7f0e68757000-7f0e68956000 ---p 0018a000 fd:00 1048590
>>> /lib64/libc-2.12.so
>>> 7f0e68956000-7f0e6895a000 r--p 00189000 fd:00 1048590
>>> /lib64/libc-2.12.so
>>> 7f0e6895a000-7f0e6895b000 rw-p 0018d000 fd:00 1048590
>>> /lib64/libc-2.12.so
>>> 7f0e6895b000-7f0e68960000 rw-p 00000000 00:00 0
>>> 7f0e68960000-7f0e68976000 r-xp 00000000 fd:00 1048579
>>> /lib64/libgcc_s-4.4.7-20120601.so.1
>>> 7f0e68976000-7f0e68b75000 ---p 00016000 fd:00 1048579
>>> /lib64/libgcc_s-4.4.7-20120601.so.1
>>> 7f0e68b75000-7f0e68b76000 rw-p 00015000 fd:00 1048579
>>> /lib64/libgcc_s-4.4.7-20120601.so.1
>>> 7f0e68b76000-7f0e68bf9000 r-xp 00000000 fd:00 1048598
>>> /lib64/libm-2.12.so
>>> 7f0e68bf9000-7f0e68df8000 ---p 00083000 fd:00 1048598
>>> /lib64/libm-2.12.so
>>> 7f0e68df8000-7f0e68df9000 r--p 00082000 fd:00 1048598
>>> /lib64/libm-2.12.so
>>> 7f0e68df9000-7f0e68dfa000 rw-p 00083000 fd:00 1048598
>>> /lib64/libm-2.12.so
>>> 7f0e68dfa000-7f0e68ee2000 r-xp 00000000 fd:00 1573993
>>> /usr/lib64/libstdc++.so.6.0.13
>>> 7f0e68ee2000-7f0e690e2000 ---p 000e8000 fd:00 1573993
>>> /usr/lib64/libstdc++.so.6.0.13
>>> 7f0e690e2000-7f0e690e9000 r--p 000e8000 fd:00 1573993
>>> /usr/lib64/libstdc++.so.6.0.13
>>> 7f0e690e9000-7f0e690eb000 rw-p 000ef000 fd:00 1573993
>>> /usr/lib64/libstdc++.so.6.0.13
>>> 7f0e690eb000-7f0e69100000 rw-p 00000000 00:00 0
>>> 7f0e69100000-7f0e69102000 r-xp 00000000 fd:00 1048596
>>> /lib64/libdl-2.12.so
>>> 7f0e69102000-7f0e69302000 ---p 00002000 fd:00 1048596
>>> /lib64/libdl-2.12.so
>>> 7f0e69302000-7f0e69303000 r--p 00002000 fd:00 1048596
>>> /lib64/libdl-2.12.so
>>> 7f0e69303000-7f0e69304000 rw-p 00003000 fd:00 1048596
>>> /lib64/libdl-2.12.so
>>> 7f0e69304000-7f0e6930b000 r-xp 00000000 fd:00 1048618
>>> /lib64/librt-2.12.so
>>> 7f0e6930b000-7f0e6950a000 ---p 00007000 fd:00 1048618
>>> /lib64/librt-2.12.so
>>> 7f0e6950a000-7f0e6950b000 r--p 00006000 fd:00 1048618
>>> /lib64/librt-2.12.so
>>> 7f0e6950b000-7f0e6950c000 rw-p 00007000 fd:00 1048618
>>> /lib64/librt-2.12.so
>>> 7f0e6950c000-7f0e69510000 r-xp 00000000 fd:00 1048638
>>> /lib64/libcap.so.2.16
>>> 7f0e69510000-7f0e6970f000 ---p 00004000 fd:00 1048638
>>> /lib64/libcap.so.2.16
>>> 7f0e6970f000-7f0e69710000 rw-p 00003000 fd:00 1048638
>>> /lib64/libcap.so.2.16
>>> 7f0e69710000-7f0e69726000 r-xp 00000000 fd:00 1048616
>>> /lib64/libresolv-2.12.so
>>> 7f0e69726000-7f0e69926000 ---p 00016000 fd:00 1048616
>>> /lib64/libresolv-2.12.so
>>> 7f0e69926000-7f0e69927000 r--p 00016000 fd:00 1048616
>>> /lib64/libresolv-2.12.so
>>> 7f0e69927000-7f0e69928000 rw-p 00017000 fd:00 1048616
>>> /lib64/libresolv-2.12.so
>>> 7f0e69928000-7f0e6992a000 rw-p 00000000 00:00 0
>>> 7f0e6992a000-7f0e69940000 r-xp 00000000 fd:00 1048600
>>> /lib64/libnsl-2.12.so
>>> 7f0e69940000-7f0e69b3f000 ---p 00016000 fd:00 1048600
>>> /lib64/libnsl-2.12.so
>>> 7f0e69b3f000-7f0e69b40000 r--p 00015000 fd:00 1048600
>>> /lib64/libnsl-2.12.so
>>> 7f0e69b40000-7f0e69b41000 rw-p 00016000 fd:00 1048600
>>> /lib64/libnsl-2.12.so
>>> 7f0e69b41000-7f0e69b43000 rw-p 00000000 00:00 0
>>> 7f0e69b43000-7f0e69b63000 r-xp 00000000 fd:00 1048979
>>> /lib64/ld-2.12.so
>>> 7f0e69d53000-7f0e69d5b000 rw-p 00000000 00:00 0
>>> 7f0e69d60000-7f0e69d62000 rw-p 00000000 00:00 0
>>> 7f0e69d62000-7f0e69d63000 r--p 0001f000 fd:00 1048979
>>> /lib64/ld-2.12.so
>>> 7f0e69d63000-7f0e69d64000 rw-p 00020000 fd:00 1048979
>>> /lib64/ld-2.12.so
>>> 7f0e69d64000-7f0e69d65000 rw-p 00000000 00:00 0
>>> 7ffff8fa3000-7ffff8fb8000 rw-p 00000000 00:00 0
>>> [stack]
>>> 7ffff8fff000-7ffff9000000 r-xp 00000000 00:00 0
>>> [vdso]
>>> ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
>>> [vsyscall]*
>>> FATAL: Received Segment Violation...dying.
>>> 2013/09/30 11:39:12 kid2| Closing HTTP port [::]:3128
>>> 2013/09/30 11:39:12 kid2| storeDirWriteCleanLogs: Starting...
>>> 2013/09/30 11:39:12 kid2| Finished. Wrote 25543 entries.
>>> 2013/09/30 11:39:12 kid2| Took 0.01 seconds (3176990.05 entries/sec).
>>> CPU Usage: 3.650 seconds = 1.973 user + 1.678 sys
>>> Maximum Resident Size: 211888 KB
>>> Page faults with physical i/o: 22
>>> Memory usage for squid via mallinfo():
>>> total space in arena: 25340 KB
>>> Ordinary blocks: 24790 KB 86 blks
>>> Small blocks: 0 KB 2 blks
>>> Holding blocks: 38432 KB 9 blks
>>> Free Small blocks: 0 KB
>>> Free Ordinary blocks: 549 KB
>>> Total in use: 63222 KB 249%
>>> Total free: 549 KB 2%
>>> 2013/09/30 11:39:15 kid2| Starting Squid Cache version 3.3.9 for
>>> x86_64-redhat-linux-gnu...
>>> 2013/09/30 11:39:15 kid2| Process ID 4012
>>> 2013/09/30 11:39:15 kid2| Process Roles: worker
>>> 2013/09/30 11:39:15 kid2| With 65536 file descriptors available
>>> 2013/09/30 11:39:15 kid2| Initializing IP Cache...
>>> 2013/09/30 11:39:15 kid2| DNS Socket created at [::], FD 9
>>> 2013/09/30 11:39:15 kid2| DNS Socket created at 0.0.0.0, FD 10
>>> 2013/09/30 11:39:15 kid2| Adding nameserver 114.114.114.114 from
>>> /etc/resolv.conf
>>> 2013/09/30 11:39:15 kid2| Adding nameserver 192.168.116.4 from
>>> /etc/resolv.conf
>>> 2013/09/30 11:39:15 kid2| Logfile: opening log
>>> daemon:/var/squid/logs/access.log
>>> 2013/09/30 11:39:15 kid2| Logfile Daemon: opening log
>>> /var/squid/logs/access.log
>>> 2013/09/30 11:39:15 kid2| Local cache digest enabled; rebuild/rewrite
>>> every
>>> 3600/3600 sec
>>> 2013/09/30 11:39:15 kid2| Store logging disabled
>>> 2013/09/30 11:39:15 kid2| Swap maxSize 10485760 + 262144 KB, estimated
>>> 826761 objects
>>> 2013/09/30 11:39:15 kid2| Target number of buckets: 41338
>>> 2013/09/30 11:39:15 kid2| Using 65536 Store buckets
>>> 2013/09/30 11:39:15 kid2| Max Mem size: 262144 KB [shared]
>>> 2013/09/30 11:39:15 kid2| Max Swap size: 10485760 KB
>>> 2013/09/30 11:39:15 kid2| Rebuilding storage in /cache2 (clean log)
>>> 2013/09/30 11:39:15 kid2| Using Least Load store dir selection
>>> 2013/09/30 11:39:15 kid2| Set Current Directory to /cache0
>>> 2013/09/30 11:39:15 kid2| Loaded Icons.
>>> 2013/09/30 11:39:15 kid2| HTCP Disabled.
>>> 2013/09/30 11:39:15 kid2| Pinger socket opened on FD 21
>>> 2013/09/30 11:39:15 kid2| Squid plugin modules loaded: 0
>>> 2013/09/30 11:39:15 kid2| Adaptation support is off.
>>> 2013/09/30 11:39:15| pinger: Initialising ICMP pinger ...
>>> 2013/09/30 11:39:15| pinger: ICMP socket opened.
>>> 2013/09/30 11:39:15| pinger: ICMPv6 socket opened
>>> 2013/09/30 11:39:15 kid2| Store rebuilding is 15.66% complete
>>> 2013/09/30 11:39:15 kid2| Accepting HTTP Socket connections at
>>> local=[::]:3128 remote=[::] FD 12 flags=1
>>> 2013/09/30 11:39:15 kid2| Done reading /cache2 swaplog (25543 entries)
>>> 2013/09/30 11:39:15 kid2| Finished rebuilding storage from disk.
>>> 2013/09/30 11:39:15 kid2| 25543 Entries scanned
>>> 2013/09/30 11:39:15 kid2| 0 Invalid entries.
>>> 2013/09/30 11:39:15 kid2| 0 With invalid flags.
>>> 2013/09/30 11:39:15 kid2| 25538 Objects loaded.
>>> 2013/09/30 11:39:15 kid2| 0 Objects expired.
>>> 2013/09/30 11:39:15 kid2| 0 Objects cancelled.
>>> 2013/09/30 11:39:15 kid2| 5 Duplicate URLs purged.
>>> 2013/09/30 11:39:15 kid2| 0 Swapfile clashes avoided.
>>> 2013/09/30 11:39:15 kid2| Took 0.24 seconds (107796.21 objects/sec).
>>> 2013/09/30 11:39:15 kid2| Beginning Validation Procedure
>>> 2013/09/30 11:39:15 kid2| Completed Validation Procedure
>>> 2013/09/30 11:39:15 kid2| Validated 25538 Entries
>>> 2013/09/30 11:39:15 kid2| store_swap_size = 3613972.00 KB
>>> 2013/09/30 11:39:16 kid2| storeLateRelease: released 0 objects
>>> 2013/09/30 11:39:17| Pinger exiting.
>>> FATAL: Received Segment Violation...dying.
>>> 2013/09/30 11:40:58 kid2| Closing HTTP port [::]:3128
>>> 2013/09/30 11:40:58 kid2| storeDirWriteCleanLogs: Starting...
>>> 2013/09/30 11:40:58 kid2| Finished. Wrote 25637 entries.
>>> 2013/09/30 11:40:58 kid2| Took 0.01 seconds (4817173.99 entries/sec).
>>> CPU Usage: 4.729 seconds = 2.325 user + 2.405 sys
>>> Maximum Resident Size: 204208 KB
>>> Page faults with physical i/o: 0
>>> Memory usage for squid via mallinfo():
>>> total space in arena: 32364 KB
>>> Ordinary blocks: 27596 KB 206 blks
>>> Small blocks: 0 KB 2 blks
>>> Holding blocks: 38432 KB 9 blks
>>> Free Small blocks: 0 KB
>>> Free Ordinary blocks: 4767 KB
>>> Total in use: 66028 KB 204%
>>> Total free: 4767 KB 15%
>>> 2013/09/30 11:41:01 kid2| Starting Squid Cache version 3.3.9 for
>>> x86_64-redhat-linux-gnu...
>>> 2013/09/30 11:41:01 kid2| Process ID 4048
>>> 2013/09/30 11:41:01 kid2| Process Roles: worker
>>> 2013/09/30 11:41:01 kid2| With 65536 file descriptors available
>>> 2013/09/30 11:41:01 kid2| Initializing IP Cache...
>>> 2013/09/30 11:41:01 kid2| DNS Socket created at [::], FD 9
>>> 2013/09/30 11:41:01 kid2| DNS Socket created at 0.0.0.0, FD 10
>>> 2013/09/30 11:41:01 kid2| Adding nameserver 114.114.114.114 from
>>> /etc/resolv.conf
>>> 2013/09/30 11:41:01 kid2| Adding nameserver 192.168.116.4 from
>>> /etc/resolv.conf
>>> 2013/09/30 11:41:01 kid2| Logfile: opening log
>>> daemon:/var/squid/logs/access.log
>>> 2013/09/30 11:41:01 kid2| Logfile Daemon: opening log
>>> /var/squid/logs/access.log
>>> 2013/09/30 11:41:01 kid2| Local cache digest enabled; rebuild/rewrite
>>> every
>>> 3600/3600 sec
>>> 2013/09/30 11:41:01 kid2| Store logging disabled
>>> 2013/09/30 11:41:01 kid2| Swap maxSize 10485760 + 262144 KB, estimated
>>> 826761 objects
>>> 2013/09/30 11:41:01 kid2| Target number of buckets: 41338
>>> 2013/09/30 11:41:01 kid2| Using 65536 Store buckets
>>> 2013/09/30 11:41:01 kid2| Max Mem size: 262144 KB [shared]
>>> 2013/09/30 11:41:01 kid2| Max Swap size: 10485760 KB
>>> 2013/09/30 11:41:01 kid2| Rebuilding storage in /cache2 (clean log)
>>> 2013/09/30 11:41:01 kid2| Using Least Load store dir selection
>>> 2013/09/30 11:41:01 kid2| Set Current Directory to /cache0
>>> 2013/09/30 11:41:01 kid2| Loaded Icons.
>>> 2013/09/30 11:41:01 kid2| HTCP Disabled.
>>> 2013/09/30 11:41:01 kid2| Pinger socket opened on FD 21
>>> 2013/09/30 11:41:01 kid2| Squid plugin modules loaded: 0
>>> 2013/09/30 11:41:01 kid2| Adaptation support is off.
>>> 2013/09/30 11:41:01| pinger: Initialising ICMP pinger ...
>>> 2013/09/30 11:41:01| pinger: ICMP socket opened.
>>> 2013/09/30 11:41:01| pinger: ICMPv6 socket opened
>>> 2013/09/30 11:41:01 kid2| Store rebuilding is 15.60% complete
>>> 2013/09/30 11:41:01 kid2| Accepting HTTP Socket connections at
>>> local=[::]:3128 remote=[::] FD 12 flags=1
>>> 2013/09/30 11:41:01 kid2| Done reading /cache2 swaplog (25637 entries)
>>> 2013/09/30 11:41:01 kid2| Finished rebuilding storage from disk.
>>> 2013/09/30 11:41:01 kid2| 25637 Entries scanned
>>> 2013/09/30 11:41:01 kid2| 0 Invalid entries.
>>> 2013/09/30 11:41:01 kid2| 0 With invalid flags.
>>> 2013/09/30 11:41:01 kid2| 25634 Objects loaded.
>>> 2013/09/30 11:41:01 kid2| 0 Objects expired.
>>> 2013/09/30 11:41:01 kid2| 0 Objects cancelled.
>>> 2013/09/30 11:41:01 kid2| 3 Duplicate URLs purged.
>>> 2013/09/30 11:41:01 kid2| 0 Swapfile clashes avoided.
>>> 2013/09/30 11:41:01 kid2| Took 0.19 seconds (135806.39 objects/sec).
>>> 2013/09/30 11:41:01 kid2| Beginning Validation Procedure
>>> 2013/09/30 11:41:01 kid2| Completed Validation Procedure
>>> 2013/09/30 11:41:01 kid2| Validated 25634 Entries
>>> 2013/09/30 11:41:01 kid2| store_swap_size = 3626672.00 KB
>>> 2013/09/30 11:41:02 kid2| storeLateRelease: released 0 objects
>>> 2013/09/30 11:41:08| Pinger exiting.
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-process-offen-restart-by-itself-tp4662332p4662343.html
>>> Sent from the Squid - Users mailing list archive at Nabble.com.
>>>
>
>
>
>
>
> --
> View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-process-offen-restart-by-itself-tp4662332p4662345.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
>
Received on Mon Sep 30 2013 - 05:21:32 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 30 2013 - 12:00:04 MDT