[squid-users] assertion failed: cbdata.cc:464: "c->locks > 0

From: Labusch, Christian \(regio iT\) <Christian.Labusch_at_regioit.de>
Date: Wed, 30 Jul 2014 10:44:11 +0000

Hello all,

i have a little Problem with the "new" Directive "client_delay_pools". Our old Config with the normal delay_classes works fine. But we need additional a Upload-Limit.

Testmachine with very simple standard config:

- OS: Linux debian 3.2.0-4-486 #1 Debian 3.2.60-1+deb7u1 i686 GNU/Linux
- Squid Cache: Version 3.4.6. (configure options: '--enable-delay-pools')

Squid.conf (Limitation 1 Mbit/s):

client_delay_pools 1
client_delay_initial_bucket_level 100
client_delay_access 1 allow localnet
client_delay_access 1 deny all
client_delay_parameters 1 128000 128000

To start the squid-Daemon brings the following error:

Cache.log:

2014/07/30 10:33:02 kid1| assertion failed: cbdata.cc:464: "c->locks > 0"

2014/07/30 10:33:05 kid1| Set Current Directory to /usr/local/squid/var/cache/squid
2014/07/30 10:33:05 kid1| Starting Squid Cache version 3.4.6 for i686-pc-linux-gnu...
2014/07/30 10:33:05 kid1| Process ID 7453
2014/07/30 10:33:05 kid1| Process Roles: worker
2014/07/30 10:33:05 kid1| With 7168 file descriptors available
2014/07/30 10:33:05 kid1| Initializing IP Cache...
2014/07/30 10:33:05 kid1| DNS Socket created at [::], FD 7
2014/07/30 10:33:05 kid1| DNS Socket created at 0.0.0.0, FD 8
2014/07/30 10:33:05 kid1| Adding domain xxxxx from /etc/resolv.conf
2014/07/30 10:33:05 kid1| Adding domain xxxxx from /etc/resolv.conf
2014/07/30 10:33:05 kid1| Adding nameserver xxxxx from /etc/resolv.conf
2014/07/30 10:33:05 kid1| Adding nameserver xxxxx from /etc/resolv.conf
2014/07/30 10:33:05 kid1| Logfile: opening log daemon:/usr/local/squid/var/logs/access.log
2014/07/30 10:33:05 kid1| Logfile Daemon: opening log /usr/local/squid/var/logs/access.log
2014/07/30 10:33:05 kid1| Store logging disabled
2014/07/30 10:33:05 kid1| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2014/07/30 10:33:05 kid1| Target number of buckets: 1008
2014/07/30 10:33:05 kid1| Using 8192 Store buckets
2014/07/30 10:33:05 kid1| Max Mem size: 262144 KB
2014/07/30 10:33:05 kid1| Max Swap size: 0 KB
2014/07/30 10:33:05 kid1| Using Least Load store dir selection
2014/07/30 10:33:05 kid1| Set Current Directory to /usr/local/squid/var/cache/squid
2014/07/30 10:33:05 kid1| Finished loading MIME types and icons.
2014/07/30 10:33:05 kid1| HTCP Disabled.
2014/07/30 10:33:05 kid1| Configuring Parent xxxxxxx/3128/0
2014/07/30 10:33:05 kid1| Squid plugin modules loaded: 0
2014/07/30 10:33:05 kid1| Accepting HTTP Socket connections at local=[::]:3128 remote=[::] FD 11 flags=9
2014/07/30 10:33:06 kid1| storeLateRelease: released 0 objects

Parse:

2014/07/30 10:34:07| Startup: Initializing Authentication Schemes ...
2014/07/30 10:34:07| Startup: Initialized Authentication Scheme 'basic'
2014/07/30 10:34:07| Startup: Initialized Authentication Scheme 'digest'
2014/07/30 10:34:07| Startup: Initialized Authentication Scheme 'negotiate'
2014/07/30 10:34:07| Startup: Initialized Authentication Scheme 'ntlm'
2014/07/30 10:34:07| Startup: Initialized Authentication.
2014/07/30 10:34:07| Processing Configuration File: /usr/local/squid/etc/squid.conf (depth 0)
2014/07/30 10:34:07| Processing: acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
2014/07/30 10:34:07| Processing: acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
2014/07/30 10:34:07| Processing: acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
2014/07/30 10:34:07| Processing: acl localnet src fc00::/7 # RFC 4193 local private network range
2014/07/30 10:34:07| Processing: acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
2014/07/30 10:34:07| Processing: acl SSL_ports port 443
2014/07/30 10:34:07| Processing: acl Safe_ports port 80 # http
2014/07/30 10:34:07| Processing: acl Safe_ports port 21 # ftp
2014/07/30 10:34:07| Processing: acl Safe_ports port 443 # https
2014/07/30 10:34:07| Processing: acl Safe_ports port 70 # gopher
2014/07/30 10:34:07| Processing: acl Safe_ports port 210 # wais
2014/07/30 10:34:07| Processing: acl Safe_ports port 1025-65535 # unregistered ports
2014/07/30 10:34:07| Processing: acl Safe_ports port 280 # http-mgmt
2014/07/30 10:34:07| Processing: acl Safe_ports port 488 # gss-http
2014/07/30 10:34:07| Processing: acl Safe_ports port 591 # filemaker
2014/07/30 10:34:07| Processing: acl Safe_ports port 777 # multiling http
2014/07/30 10:34:07| Processing: acl CONNECT method CONNECT
2014/07/30 10:34:07| Processing: http_access deny !Safe_ports
2014/07/30 10:34:07| Processing: http_access deny CONNECT !SSL_ports
2014/07/30 10:34:07| Processing: http_access allow localhost manager
2014/07/30 10:34:07| Processing: http_access deny manager
2014/07/30 10:34:07| Processing: cache_effective_user proxy
2014/07/30 10:34:07| Processing: cache_effective_group proxy
2014/07/30 10:34:07| Processing: cache_peer xxxxx parent 3128 0 no-query sourcehash no-digest no-netdb-exchange
2014/07/30 10:34:07| Processing: http_access allow localnet
2014/07/30 10:34:07| Processing: http_access allow localhost
2014/07/30 10:34:07| Processing: http_access deny all
2014/07/30 10:34:07| Processing: http_port 3128
2014/07/30 10:34:07| Processing: coredump_dir /usr/local/squid/var/cache/squid
2014/07/30 10:34:07| Processing: cache_mgr xxx_at_xxx.xxx
2014/07/30 10:34:07| Processing: unique_hostname xxxxxx
2014/07/30 10:34:07| Processing: visible_hostname xxxxxx
2014/07/30 10:34:07| Processing: never_direct allow all
2014/07/30 10:34:07| Processing: refresh_pattern ^ftp: 1440 20% 10080
2014/07/30 10:34:07| Processing: refresh_pattern ^gopher: 1440 0% 1440
2014/07/30 10:34:07| Processing: refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
2014/07/30 10:34:07| Processing: refresh_pattern . 0 20% 4320
2014/07/30 10:34:07| Processing: client_delay_pools 1
2014/07/30 10:34:07| Processing: client_delay_initial_bucket_level 100
2014/07/30 10:34:07| Processing: client_delay_access 1 allow localnet
2014/07/30 10:34:07| Processing: client_delay_access 1 deny all
2014/07/30 10:34:07| Processing: client_delay_parameters 1 128000 128000

Only with activ client_delay-Parameters we will get the error.

We tried to replace the file "cbdata.cc" with the current development Version squid-3.HEAD-20140730-r13515 .
It's the same error.

Do you have any ideas?

thanks,
cheers Chris
Received on Wed Jul 30 2014 - 10:44:17 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 30 2014 - 12:00:04 MDT