Re: [squid-users] squid/SMP

From: Alexandre Chappaz <alexandrechappaz_at_gmail.com>
Date: Thu, 21 Mar 2013 12:07:39 +0100

Hi,

there is also one important directory where squid stores the .pid file
and one .ipc file for each process, typically /var/run/squid/.
make sure this directory is writable by the user set for squid.

Regards
Alex

2013/3/21 Adam W. Dace <colonelforbin74_at_gmail.com>:
> I had this exact problem on a different platform, Mac OS X.
>
> You probably want to use sysctl to increase the OS-default limits on
> Unix Domain Sockets.
> They're mentioned at the bottom of the squid Wiki page here:
> http://wiki.squid-cache.org/Features/SmpScale
>
> Please mail the list if you don't mind once you try that, I then ran
> into a different problem but most likely FreeBSD isn't affected.
>
> Regards,
>
> On Thu, Mar 21, 2013 at 5:52 AM, Eugene M. Zheganin <emz_at_norma.perm.ru> wrote:
>> Hi.
>>
>> I'm using squid 3.2.6 on a FreeBSD and today I tried to use it's SMP
>> feature. I've added 'workers 2' in it's configuration file, checked the
>> permission on localstatedir and ran it.
>> I got on start
>>
>> FATAL: kid2 registration timed out
>>
>> and then looks like coordinator started to try to restart kids, but
>> unsuccessfully. Obviously, no client requests were served at that time.
>> I checked the localstatedir and saw 3 sockets, one from coordinator and two
>> from kids - so I'm sure permissions are ok.
>>
>> What can I do to debug this feature ?
>> I understand 3.2.x is no longer supported and I need to use 3.3.x, but right
>> now I'm stuck to FreeBSD ports on my production, and there's no 3.3.[ in it
>> yet; will try to build 3.3.[ realease on a test machine.
>>
>> Thanks.
>> Eugene.
>
>
>
> --
> ____________________________________________________________
> Adam W. Dace <colonelforbin74_at_gmail.com>
>
> Phone: (815) 355-5848
> Instant Messenger: AIM & Yahoo! IM - colonelforbin74 | ICQ - #39374451
> Microsoft Messenger - colonelforbin74_at_live.com
>
> Google Profile: http://www.google.com/profiles/ColonelForbin74
Received on Thu Mar 21 2013 - 11:07:45 MDT

This archive was generated by hypermail 2.2.0 : Thu Mar 21 2013 - 12:00:04 MDT