Same behavior.
Babis
On Mon, Dec 12, 2011 at 12:16 PM, Stefan de Konink ste...@konink.de wrote:
Can you also check what happens if you add to /etc/resolv.conf:
options single-request
(Just to exclude it is not some form of glibc 2.10+ dns/firewall issue.)
Stefan
Hi,
I found the culprit which was avahi-daemon... By disabling
avahi-daemon, gethostbyaddr() (and similarly getnameinfo()) returns
instantaneously. I wonder whether avahi-daemon is enabled by default
in distributions like Debian and Fedora. From this page
On 12-12-2011 00:10:33 +0200, Charalampos Nikolaou wrote:
Hi,
just used getnameinfo() instead of gethostbyaddr() in
openConnectionTCP() and it doesn't gain any time improvement. In
addition, inspecting openConnectionUDP(), I saw that it uses
getnameinfo() instead of gethostbyaddr() and it
Unfortunately, disabling IPv6 still requires exactly the same amount of time.
Any other suggestions?
Thanks,
Babis
On Sat, Dec 10, 2011 at 10:23 AM, Fabian Groffen fabian.grof...@cwi.nl wrote:
On 10-12-2011 03:06:39 +0100, Stefan de Konink wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash:
Babis,
since we don't have Ubuntu machines running and (hence) are no Ubuntu
experts, please feel free to replace gethostbyaddr() and gethostbyname() by
getaddrinfo() and getnameinfo() in your local checkout of MonetDB and report
what you experience.
Stefan
On Sat, Dec 10, 2011 at 01:01:15PM
That is what I was intending to do, but first I opted to ask the experts.
Regards,
Babis
On Sat, Dec 10, 2011 at 2:15 PM, Stefan Manegold stefan.maneg...@cwi.nl wrote:
Babis,
since we don't have Ubuntu machines running and (hence) are no Ubuntu
experts, please feel free to replace
Hi,
in Ubuntu 10.04 (as far as I remember it happens in other releases
too) monetdbd takes about 10 seconds to start as opposed to mac os x
10.6 and 10.7 in which it starts instantaneously. Inspecting
connections.c, the delay is due to the call on gethostbyaddr().
Reading the respective man page,