Hi Marc,

No worries. I have a somewhat unusual setup networkwise. The controller is in a remote datacenter. The client is running in a Debian Linux image running on my Macintosh laptop. So there are actually several layers of firewalls involved.. but all pass ICMP packets, and I can ping the controller from the client without problem.

The actual Carob connection is being forwarded through an SSH TCP tunnel from the Debian image to the controller. (The client thus thinks the controller is "localhost", which it is not.)

The thread issue may be more promising. Ruby does not support native threading, only "green threads", a userspace cooperative threading system that wreaks all kinds of havoc. (Among other things, it makes it very difficult to write GUIs that also process realtime data in the background; you have to resort to an elaborate polling/timer mechanism to do that, which uses way more CPU than it needs to, and also can lose data.)

I don't know how Ruby's green threads interact with native threads in an external library. Could it be that Ruby's threading system is somehow interfering with the pinger threads in Carob?

Best,
Paul


Marc Herbert wrote:
Paul,

 Thanks a lot for the excellent report, and sorry for not being
reactive at this time.

 I suspect you get different results because of timers. Carob features
pinger threads and timeouts to decide when a controller or a VDB is
available. So availability status may depend on the moment. This is
just a piece of explanation; not an excuse for the behaviour you are
experiencing, which is not normal.


Do you have some kind of firewalling between the client and the
controllers? If you block the pings, all kind of weird behaviours may
happen.

Cheers,

Marc.


_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob


--

--------------------------------------------------
--    Paul Legato, Senior Software Engineer     --
---       Networked Knowledge Systems          ---
----   P.O. Box 20772 Tampa, FL. 33622-0772   ----
----- (415)846-0702 Voice  (813)594-0045 FAX -----
------           [EMAIL PROTECTED]            ------
--------------------------------------------------

--------------------------------------------------
-----   This email bound by the following:   -----
---- http://www.nks.net/email_disclaimer.html ----
--------------------------------------------------


_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to