[squid-users] Squid 3.5.4 + OpenBSD 5.7 + ROCK store = kid1 registration timed out

Amos Jeffries squid3 at treenet.co.nz
Wed May 20 10:59:49 UTC 2015


On 20/05/2015 5:44 p.m., Henri Wahl wrote:
> Good morning,
> 
> I try to use rock store for cache in OpenBSD 5.7 with Squid 3.5.4. This
> should require SMP for the disker processes. Apparently the kids start,
> but what I get further is this:
> 
> May 20 07:40:26 squid02 squid[29404]: Starting Squid Cache version 3.5.4
> for x86_64-unknown-openbsd5.7...
> May 20 07:40:26 squid02 squid[29404]: Service Name: squid
> May 20 07:40:26 squid02 squid[29404]: Process ID 29404
> May 20 07:40:26 squid02 squid[29404]: Process Roles: coordinator
> May 20 07:40:26 squid02 squid[29404]: With 32768 file descriptors available
> May 20 07:40:26 squid02 squid[15546]: Starting Squid Cache version 3.5.4
> for x86_64-unknown-openbsd5.7...
> May 20 07:40:26 squid02 squid[5339]: Starting Squid Cache version 3.5.4
> for x86_64-unknown-openbsd5.7...
> May 20 07:40:26 squid02 squid[15546]: Service Name: squid
> May 20 07:40:26 squid02 squid[5339]: Service Name: squid
> May 20 07:40:26 squid02 squid[15546]: Process ID 15546
> May 20 07:40:26 squid02 squid[5339]: Process ID 5339
> May 20 07:40:26 squid02 squid[15546]: Process Roles: disker
> May 20 07:40:26 squid02 squid[5339]: Process Roles: worker
> May 20 07:40:26 squid02 squid[15546]: With 32768 file descriptors available
> May 20 07:40:26 squid02 squid[5339]: With 32768 file descriptors available
> May 20 07:40:26 squid02 squid[29404]: WARNING: Can't find current
> directory, getcwd: (13) Permission denied

Are you running Squid as root?
The master process needs to be started as root to assign the
low-privilege workers the correct privilege for things they do.

Not doing so would lead to effects like the workers not being able to
communicate with the coordinator...


> May 20 07:40:26 squid02 squid[15546]: WARNING: Can't find current
> directory, getcwd: (13) Permission denied
> May 20 07:40:26 squid02 squid[5339]: WARNING: Can't find current
> directory, getcwd: (13) Permission denied
> May 20 07:40:26 squid02 squid[29404]: Squid plugin modules loaded: 0
> May 20 07:40:26 squid02 squid[5339]: Sending SNMP messages from 0.0.0.0:3401
> May 20 07:40:26 squid02 squid[5339]: Squid plugin modules loaded: 0
> May 20 07:40:26 squid02 squid[15546]: Squid plugin modules loaded: 0
> May 20 07:40:32 squid02 squid[5339]: Closing HTTP port 172.19.13.2:3128
> May 20 07:40:32 squid02 squid[5339]: Closing HTTP port 127.0.0.1:3128
> May 20 07:40:32 squid02 squid[5339]: Closing HTTP port 172.19.13.3:3128
> May 20 07:40:32 squid02 squid[5339]: Closing HTTP port 172.19.13.11:3128
> May 20 07:40:32 squid02 squid[5339]: kid1 registration timed out
> May 20 07:40:32 squid02 squid[15546]: kid2 registration timed out
> 
> The kids registration times out. Any idea where to adjust what?

The worker startup is taking too long. We tend to see this when Squid
with very large caches are started and need to do a full "DIRTY" scan of
the cache files.

Its hard to say for sure what the exact problem is though without lots
of details about the config and cache.log outut from the workers.

Amos


More information about the squid-users mailing list