> Amos,
>
> I rebuilt squid:
>
> Squid Cache: Version 3.0.STABLE12
> configure options: '--prefix=/usr/local/squid'
> '--sysconfdir=/etc/squid' '--enable-delay-pools'
> '--enable-kill-parent-hack' '--disable-htcp'
> '--enable-default-err-language=Spanish' '--enable-linux-netfilter'
> '--disable-ident-lookups' '--disable-internal-dns'
> '--localstatedir=/var/log/squid' '--enable-stacktraces'
> '--with-default-user=proxy' '--with-large-files'
>
> I added disable internal dns and squid has being working fine. Its being
> working for about 2 days without a crash where the previous built only
> worked for a couple of hours and then crash.
>
> Is it ok to run it like this even though is performing better than it was?
>
Depends on your use of Squid. Its okay to do that for something like a
personal relay. But the blocking-lookup helper does not scale to any sort
of reasonable production use.
http://wiki.squid-cache.org/Features/Dnsserver
You really should fix the DNS problem that squid was encountering. It is
likely to be screwing up other software in your network as well.
PS. you have yet to publish the error page squid is displaying so we can
see what the problem is when it appears during regular use.
Amos
> Amos Jeffries wrote:
>> Wilson Hernandez - f, S. A. wrote:
>>> Thank you Amos for your reply.
>>>
>>> I downloaded version 3.0 and here how I built it:
>>>
>>> Squid Cache: Version 3.0.STABLE12
>>> > configure options: '--prefix=/usr/local/squid'
>>> '--sysconfdir=/etc/squid'
>>> > '--enable-delay-pools' '--enable-kill-parent-hack' '--disable-htcp'
>>> > '--enable-default-err-language=Spanish' '--enable-linux-netfilter'
>>> > '--localstatedir=/var/log/squid'
>>> > '--enable-stacktraces' '--with-default-user=proxy'
>>> '--with-large-files'
>>>
>>> Amos Jeffries wrote:
>>>> Wilson Hernandez - MSD, S. A. wrote:
>>>>> Hello once again.
>>>>>
>>>>> Here's my second problem I am experiencing with squid. Squid is
>>>>> running normally and after a while doesn't serve any pages it gives
>>>>> the user an error regarding dns I don't remember exactly but, it
>>>>> tells the user that it timed out trying to access the ip but, that
>>>>> page (google.com) is being used by many as home page. I don't know
>>>>> why is failing with some dns errors. I try doing ping to the same
>>>>> address and the dns server resolves the ip.
>>>>>
>>>>> What can be causing this to happen?
>>>>
>>>> It's a DNS failure.
>>>>
>>>> For better help we will need to know:
>>>> * the version of squid you are using,
>>>> * whether or not --disable-internal-dns was used to build it,
>>>> * and what is the actual error page content given when things go
>>>> wrong.
>>>>
>>>> Amos
>>>
>>
>> Okay those look normal enough.
>>
>> for further tracking try running Squid with flags "-D -d 5" and see if
>> you can grab what it produces on stderr during the system reboot.
>>
>> -D should stop it running DNS tests too early.
>> -d 5 produces the debug before config has finished loading.
>>
>> Amos
>
> --
> *Wilson Hernandez*
> Presidente
> 829.848.9595
> 809.766.0441
> www.msdrd.com <http://www.msdrd.com>
> Conservando el medio ambiente
>
Received on Sun Mar 08 2009 - 23:01:15 MDT
This archive was generated by hypermail 2.2.0 : Mon Mar 09 2009 - 12:00:01 MDT