[hobbit] Hobbit bbtest-net crashing
Hi Henrik
Does 4.2.2 RC? use C-ARES 1.2.1, 1.4.0 or 1.5.3? Or have you not made any changes that drastic?
We got a test server up and running 4.2 with patches and C-ARES 1.4.0, and we will see if it also crashes.
Cheers V
-----Original Message----- From: Henrik Størner [mailto:henrik at hswn.dk] Sent: Tuesday, 18 November 2008 11:06 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Hobbit bbtest-net crashing
In <A3D12FAD74FC8B46991703F40C182BABA20D5B4F at permls102.wde.woodside.com.au> "Everett, Vernon" <Vernon.Everett at woodside.com.au> writes:
--_000_A3D12FAD74FC8B46991703F40C182BABA20D5B4Fpermls102wdewoo_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Below are our 5 most recent cores. And the corresponding entry in the bb-network.log file where available. (No= t all generate the entry in the log file)
It seems the problems occur in the C-ARES library which is used for hostname lookups (via DNS).
Hobbit 4.2.0 uses version 1.2.1 of C-ARES; the current version is 1.5.3. Unfortunately there's been a small change of the C-ARES API, so we cannot just drop version 1.5.3 of the library into Hobbit 4.2.0. But it would be nice to know if the problem is still there in the latest version.
If you want to try that, you can grab version 1.4.0 from http://c-ares.haxx.se/c-ares-1.4.0.tar.gz and then change Hobbit's build/Makefile.rules: The "ARESVER" setting should be "1.4.0". Then "make clean; rm -rf bbnet/c-ares/* bbnet/libcares.*; make" and copy bbnet/bbtest-net to ~hobbit/server/bin/
If you want to try out the 1.5.3 version, drop me a mail and I'll send you the patches needed for this to compile with Hobbit 4.2.0.
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
In <A3D12FAD74FC8B46991703F40C182BABAB31681A at permls102.wde.woodside.com.au> "Everett, Vernon" <Vernon.Everett at woodside.com.au> writes:
Does 4.2.2 RC? use C-ARES 1.2.1, 1.4.0 or 1.5.3? Or have you not made any changes that drastic?
4.2.2 still has the 1.2.1 version of c-ares in it.
I've added the patch needed for it to compile with the current version of C-ARES (1.5.x), so if need be we can easily drop that into the code if people have problems with the old version. This is not in RC1, but in the repository.
Regards, Henrik
Henrik StXXrner wrote:
In <A3D12FAD74FC8B46991703F40C182BABAB31681A at permls102.wde.woodside.com.au> "Everett, Vernon" <Vernon.Everett at woodside.com.au> writes:
Does 4.2.2 RC? use C-ARES 1.2.1, 1.4.0 or 1.5.3? Or have you not made any changes that drastic?
4.2.2 still has the 1.2.1 version of c-ares in it.
I've added the patch needed for it to compile with the current version of C-ARES (1.5.x), so if need be we can easily drop that into the code if people have problems with the old version. This is not in RC1, but in the repository.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
FWIW, using the ARES resolver on out CentOS4 x86_64 systems has been a general disaster, running much slower than disabling it. -Alan
Disabling it? Are you saying we do not need to use this module? How would I go about changing my installation to not use C-ARES? Bbtest.net is crashing at least twice a day in our environment.
Any advice appreciated.
Cheers V
-----Original Message----- From: Alan Sparks [mailto:asparks at doublesparks.net] Sent: Thursday, 4 December 2008 9:17 AM To: Hobbit List Subject: Re: [hobbit] Hobbit bbtest-net crashing
Henrik StXXrner wrote:
In <A3D12FAD74FC8B46991703F40C182BABAB31681A at permls102.wde.woodside.com.au> "Everett, Vernon" <Vernon.Everett at woodside.com.au> writes:
Does 4.2.2 RC? use C-ARES 1.2.1, 1.4.0 or 1.5.3? Or have you not made any changes that drastic?
4.2.2 still has the 1.2.1 version of c-ares in it.
I've added the patch needed for it to compile with the current version of C-ARES (1.5.x), so if need be we can easily drop that into the code if people have problems with the old version. This is not in RC1, but in the repository.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
FWIW, using the ARES resolver on out CentOS4 x86_64 systems has been a general disaster, running much slower than disabling it. -Alan
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
In <A3D12FAD74FC8B46991703F40C182BABAB316B3C at permls102.wde.woodside.com.au> "Everett, Vernon" <Vernon.Everett at woodside.com.au> writes:
Disabling it? Are you saying we do not need to use this module? How would I go about changing my installation to not use C-ARES?
Run bbtest-net with the "--no-ares" option.
Regards, Henrik
Hmmm Found the answer. Thanks Alan. And a little caveat.
"The system resolver function does not provide a mechanism for controlling timeouts of the hostname lookups, so if your DNS or NIS server is down, bbtest-net can take a very long time to run. The --dns-timeout option is effectively disabled when using this option."
Amazing what you can learn when you sit down and carefully RTFM :-)
A little worried about implementing it just yet, but we will see how it goes.
Of course, as is always the case, since I started getting somewhere with trying to resolve this, it stopped crashing. No crashes since last night - touch wood.
Cheers V
-----Original Message----- From: Everett, Vernon Sent: Thursday, 4 December 2008 9:25 AM To: hobbit at hswn.dk Subject: RE: [hobbit] Hobbit bbtest-net crashing
Disabling it? Are you saying we do not need to use this module? How would I go about changing my installation to not use C-ARES? Bbtest.net is crashing at least twice a day in our environment.
Any advice appreciated.
Cheers V
-----Original Message----- From: Alan Sparks [mailto:asparks at doublesparks.net] Sent: Thursday, 4 December 2008 9:17 AM To: Hobbit List Subject: Re: [hobbit] Hobbit bbtest-net crashing
Henrik StXXrner wrote:
In <A3D12FAD74FC8B46991703F40C182BABAB31681A at permls102.wde.woodside.com.au> "Everett, Vernon" <Vernon.Everett at woodside.com.au> writes:
Does 4.2.2 RC? use C-ARES 1.2.1, 1.4.0 or 1.5.3? Or have you not made any changes that drastic?
4.2.2 still has the 1.2.1 version of c-ares in it.
I've added the patch needed for it to compile with the current version of C-ARES (1.5.x), so if need be we can easily drop that into the code if people have problems with the old version. This is not in RC1, but in the repository.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
FWIW, using the ARES resolver on out CentOS4 x86_64 systems has been a general disaster, running much slower than disabling it. -Alan
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
participants (3)
-
asparks@doublesparks.net
-
henrik@hswn.dk
-
Vernon.Everett@woodside.com.au