Subject Re: [firebird-support] Re: Linux connections
Author Lester Caine
Helen Borrie wrote:
> At 09:35 PM 26/10/2007, you wrote:
>> Ian A. Newby wrote:
>>> Hi Lester,
>>> Have you got IPv6 running on linux? I've had linux run slow when this
>>> is enabled.
>>>
>>> To disable it (on Ubuntu)
>>>
>>> create a file /etc/modprobe.d/bad_list with the following line in it
>>> alias net-pf-10 off
>>>
>>>
>>> This make it run far better for me.
>>>
>>> If you're not using Ubuntu, you'll have to work it out yourself.
>> I'm using Mandriva out of the box on two sites - both should be set up the
>> same, but only one site was having the slow access problem, and it works fine
>> if I bypass the customers network so this is something that is CAUSED by
>> settings on the network? But what?
>
> Googling "Mandriva disable IPv6" the very first result returned yielded this:
>
> "Slow or unreliable DNS lookups because of IPv6 support
>
> If DNS lookups often fail or report answers after a very long timeout only, the IPv6 support may be causing trouble. Under some circumstances, DNS resolvers take a long time to lookup the address using the IPv6 protocol, even if all interfaces use IPv4 only.
>
> IPv6 support in enabled by default in Mandriva Linux 2006. To disable IPv6, add NETWORKING_IPV6=no in =/etc/sysconfig/network=, and reboot your computer so that all IPv6 modules get properly unloaded. "
>
> http://wiki.mandriva.com/en/Releases/Mandriva/2006/Errata

Been there now - but since I had no problem with the web side I did not expect
it to affect things :(
http://wiki.mandriva.com/en/Releases/Mandriva/2007/Errata#Slow_internet_response_.28particularly_web_browsing.29
I'm not sure how to CHECK that IPv6 is off, but I've managed to persuade the
machine(s) to reboot and allow me back in remotely applying both the switch
for IPV6 and the tcp_window_scaling but it's made no difference.
Accessing Firebird on the windows machine, the display management programs are
up in 5 seconds. Switching back to the Linux box is still taking well over a
minute - even using the IP address rather than the machine name.
Machine names are in the host files of both machines.
Hope to have a third complete set-up here over the weekend but I expect that
to just be a little slower on the Linux connection as the problem site was
while testing here.

I've got some code which should exercise the system automatically so I can
check for stability. When the Linux box drops the programs I'm getting 104
errors in the log. The windows log has yet to log anything since Wednesday.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://home.lsces.co.uk
MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Firebird - http://www.firebirdsql.org/index.php