Hi Henrik,

Thanks for point out that I need to use the if..else--endif statement, however, 
I can't find the condition macros for the if to test.

For example,

If "first worker"
Cache_dir here ...
Else
Cache_dir there ...
Endif

How do I say the "first worker"?

Ming

-----Original Message-----
From: Henrik Nordström [mailto:[email protected]] 
Sent: November-27-10 4:34 AM
To: Ming Fu
Cc: [email protected]; Squid Developers
Subject: RE: [squid-users] Beta testers wanted for 3.2.0.1 - Changing 'workers' 
(from 1 to 2) is not supported and ignored

fre 2010-11-26 klockan 21:08 +0000 skrev Ming Fu:
> Ktrace shown that the bind failed because it try to open unix socket in 
> /usr/local/squid/var/run and it does not have the permission. So it is easy 
> to fix.
> 
> After the permission is corrected, I run into other problem, here is the log 
> snip:
> ====================================================================
> 2010/11/26 20:55:35 kid2| Starting Squid Cache version 3.2.0.3 for 
> amd64-unknown-freebsd8.1...
> 2010/11/26 20:55:35 kid3| Starting Squid Cache version 3.2.0.3 for 
> amd64-unknown-freebsd8.1...
> 2010/11/26 20:55:35 kid1| Starting Squid Cache version 3.2.0.3 for 
> amd64-unknown-freebsd8.1...
> 2010/11/26 20:55:35 kid3| Set Current Directory to /usr/local/squid/var/cache
> 2010/11/26 20:55:35 kid2| Set Current Directory to /usr/local/squid/var/cache
> 2010/11/26 20:55:35 kid1| Set Current Directory to /usr/local/squid/var/cache

Each worker need their own cache location.

http://www.squid-cache.org/Versions/v3/3.2/RELEASENOTES.html#ss2.1

Regards
Henrik

Reply via email to