Re: [squid-users] FW: TCP/MISS 500

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 09 May 2010 22:35:13 +1200

Daniel Hartmann | Betterhomes AG wrote:
> I start receiving the TCP_MISS/500:
>
> 1273224302.686 83 xxx.xxx.xxx.xxx TCP_MISS/500 539 GET
> http://domain.com/url - FIRST_UP_PARENT/kallisto text/html
>
> How can I prevent this error? The cache_peer is working quite well. If I
> request the site without using squid I don't receive any errors.
>
> my squid.conf
>
> --snip
> http_port 80 accel defaultsite=domain.com vhost
> cache_peer xxx.xxx.xxx.xxx parent 80 0 no-query originserver name=kallisto
>
> access_log /var/log/squid/access.log
> #cache_log /var/log/squid/cache.log

Why? too many errors showing up?

> #cache_store_log /var/log/squid/store.log

To disable in older Squid configure (exact text):

  cache_store_log none

When commented out the default files will be used.
They may not be where you expect.

>
> #ACL
> acl all src 0.0.0.0/0.0.0.0

acl all src all

> acl our_sites dstdom_regex .*domain.com.*
>

  * dstdomain ACL type.

> allways_direct allow our_sites

always_direct - prevents cache_peer being used to source any matching
requests.
  ie all your locally hosted domains are prevented from going to your
local origin server!

> http_access allow our_sites
>
> cache_peer_access kallisto allow our_sites
> cache_peer_access kallisto deny all
> --snap

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.3
Received on Sun May 09 2010 - 10:35:36 MDT

This archive was generated by hypermail 2.2.0 : Sun May 09 2010 - 12:00:04 MDT