[tao-users] Event channel's mt dispatching not responding

Douglas C. Schmidt d.schmidt at vanderbilt.edu
Fri Feb 9 14:27:00 CST 2018

Hi Chao,

   Thanks very much for using the PRF!

>  TAO VERSION: 2.3.0
>  ACE VERSION: 6.3.0

You're using a very old version of ACE+TAO.  I therefore recommend you
update to TAO 2.4.6, which you can download from


If you need more "predictable" help or need help for earlier versions of
TAO please see


for a list of companies that will provide you with commercial support.



>         (event supplier) Pentium Dual-Core 3.2GHz, Ubuntu Linux with kernel v3.19.0
>         (event service) Intel i5-4590 3.3GHz, four-core machine, Ubuntu Linux with kernel v4.2.0
>         (event consumer) Pentium Dual-Core 3.2GHz, Ubuntu Linux with kernel v3.13.0
> g++ (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
>     THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
>     specific file, simply state which one]:
>        #include "ace/config-linux.h"
>     THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
>     use a link to a platform-specific file, simply state which one
>     (unless this isn't used in this case, e.g., with Microsoft Visual
>     C++)]:
>        CPPFLAGS += -std=c++11
>        include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
>        INSTALL+PREFIX = /home/ACE
>     CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
>     (used by MPC when you generate your own makefiles):
>         I don't have such a file.
> [What example failed?  What module failed to compile?]
>         compilation succeed, after make realclean
>         COMPILATION? no
>         LINKING? no
>         EXECUTION? yes
> [Please indicate whether ACE/TAO, your application, or both are affected.]
>     The TAO event service is affected.
> [Brief description of the problem]
>      With mt dispatching strategy the event service may hang, while with reactive dispatching strategy it works.
> [Detailed description of problem.  Don't just say "<blah>
> doesn't work, here's a fix," explain what your program does
> to get to the <blah> state. ]
>     I was running the TAO event service with one supplier (on host 1), one event service (on host 2, along with the naming service), and one consumer (on host 3). The supplier runs an infinite loop pushing the same event type (RtecEventComm::EventSet). With the following ec.conf it works, and the consumer can receive events:
> static EC_Factory "-ECDispatching reactive -ECFiltering null -ECSupplierFiltering null -ECProxyConsumerLock null -ECProxySupplierLock null -ECConsumerControl reactive -ECSupplierControl reactive -ECConsumerControlPeriod 0 -ECSupplierControlPeriod 0"
> But wit the following ec.conf sometimes the event service hangs after a few seconds of running and it stopped processing events:
> static EC_Factory "-ECDispatching mt -ECDispatchingThreads 3 -ECFiltering null -ECSupplierFiltering null -ECProxyConsumerLock thread -ECProxySupplierLock thread -ECConsumerControl reactive -ECSupplierControl reactive -ECConsumerControlPeriod 0 -ECSupplierControlPeriod 0 -ECProxyPushSupplierCollection mt:list:immediate -ECProxyPushConsumerCollection mt:list:immediate"
> the result of the utility top showed CPU utilization returning to 0% (was around 50% on each core); the result of the utility iftop showed inbound network traffic returning to around 3kb (was around 280Mb). The event service did not crash, however.
> I would like to use the mt dispatching strategy, and I would like to how to make it work.
> Thank you,
> Chao
> _______________________________________________
> tao-users mailing list
> tao-users at list.isis.vanderbilt.edu
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flist.isis.vanderbilt.edu%2Fcgi-bin%2Fmailman%2Flistinfo%2Ftao-users&data=02%7C01%7Cschmidt%40dre.vanderbilt.edu%7Cfb310f82b7454a2d4a6f08d56fe65ee1%7C5f88b91902e3490fb772327aa8177b95%7C0%7C0%7C636537957607660269&sdata=ZS%2F70%2FqwRx4vWTaRr%2FKZtjHvsEVH6yuzOWcnFsGK9eo%3D&reserved=0

More information about the tao-users mailing list