Re: [squid-users] Failed to select source for... Other websites

From: Allen Schmidt <aschmidt@dont-contact.us>
Date: Wed, 16 Mar 2005 11:15:14 -0500

>> Occasionally the cache.log will show:
>>
>> 2005/03/08 14:13:26| Failed to select source for
>> 'http://st.sageanalyst.net/tag-703.js'
>> 2005/03/08 14:13:26| always_direct = 0
>> 2005/03/08 14:13:26| never_direct = 1
>> 2005/03/08 14:13:26| timedout = 0
>
>
> no live cache_peers where this could be forwarded, or no peers where
> this request were allowed to be forwarded.
>
> if these sites are not yours then most likely someone tried to use your
> accelerator as a general purpose proxy. See access.log.
>
> it is recommended to set up http_access to only allow reuqests to your
> published servers using the dstdomain acl. This will stop these requests
> proper, avoiding the "failed to select source" clutter in your cache.log.

Can anyone be more specific on how to accomplish this?

>> And recently I have seen our main IP address with /robots.txt on the
>> end and the same message.
>> We have a robots.txt file so why can it not find it??
>
>
> Most likely your forwarding policies or redirector does not account for
> requests by IP.

And examples of how to correct this??

Sorry but there are just so many things that one can configure in squid I am a little scared to touch the conf file for fear of crashing our sites.

Thanks

Allen
Received on Wed Mar 16 2005 - 09:16:16 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST