On 30/11/10 04:33, Ming Fu wrote:
The cache_dir setting in the if..else ..endif does not seem to take effect.
Squid -z does create the cache subdirectory without issue, but the squid seems
to use the default cache directory as if didn't see the if statement.
= squid.conf
workers 2
if
-Original Message-
2010/11/29 15:27:04 kid3| Set Current Directory to /usr/local/squid/var/cache
2010/11/29 15:27:04 kid1| Set Current Directory to /usr/local/squid/var/cache
2010/11/29 15:27:04 kid2| Set Current Directory to /usr/local/squid/var/cache
Note how .../var/cache is not
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-
On 30/11/10 02:41, Ming Fu wrote:
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?
The cache_dir setting in the if..else ..endif does not seem to take effect.
Squid -z does create the cache subdirectory without issue, but the squid seems
to use the default cache directory as if didn't see the if statement.
= squid.conf
workers 2
if ${process_number} = 1
cache_dir aufs
fre 2010-11-26 klockan 21:08 + 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:
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:
Hi Amos,
Is there any news for this problem. I tested squid 3.2.0.3. The problem is
still there. I am using FreeBSD 8.1.
Regards,
Ming
-Original Message-
From: Amos Jeffries [mailto:squ...@treenet.co.nz]
Sent: August-04-10 9:56 AM
To: squid-users@squid-cache.org; Squid Developers
On Wednesday 04 August 2010 16:55:46 Amos Jeffries wrote:
Zeller, Jan (ID) wrote:
It looks like that message only occurs on a reconfigure. Does -k
restart
after the config change work?
Amos
hmm the change applies once squid is restarted but now I am getting :
010/08/04
It looks like that message only occurs on a reconfigure. Does -k
restart
after the config change work?
Amos
hmm the change applies once squid is restarted but now I am getting :
010/08/04 08:21:20 kid3| commBind: Cannot bind socket FD 12 to [::]: (13)
Permission denied
.
.
squid is
Zeller, Jan (ID) wrote:
It looks like that message only occurs on a reconfigure. Does -k
restart
after the config change work?
Amos
hmm the change applies once squid is restarted but now I am getting :
010/08/04 08:21:20 kid3| commBind: Cannot bind socket FD 12 to [::]: (13)
Permission
On Tue, 3 Aug 2010 16:51:30 +0200, Zeller, Jan \(ID\)
jan.zel...@id.unibe.ch wrote:
dear squid list,
i'd like to use the new 'worker' feature in squid-3.2
According to
http://www.squid-cache.org/Versions/v3/3.2/cfgman/workers.html default
is
to have only one 'worker'.
Now I'd like to have
12 matches
Mail list logo