[tao-users] Clint iiop connections to server

graham walsh gjw369 at gmail.com
Sun Feb 21 11:30:01 CST 2016


Hi,
Form filled in below;
TAO VERSION: 2.3.3
ACE VERSION: 6.3.3
g++ on linux.

I've a general question and its specific to the deployed architecture. I've
filled out the form below as much as possible but I dont have all the
details at hand, heres my question.

I have a server that has a lot of things connected to it, over IIOP.
Everything works fine until;

1) Certain (java) clients get themselves locked up. They stop reading from
their TCP buffers and they are ultimately (brutally) killed off. The admins
take care of that.

2) Until the admins intervene, the client connection to the server is
maintaned as expected. The transport on server side does not close the
connection down as it has no idea that the client is "dead".

However, it would be nice if the server could have logic something like
this;

"If I have an idle connection from anything connected to me from machine X,
I am going to shut down the connection after 30 seconds of inactivity".

I'm not sure it TAO/ACE allows this, if it is possible, could somebody
direct me to the appropriate API/DOC. The target architecture/application
is bog standard  CORBA clients and servers. Nothing insanely complicated
going on. The above situation arises from time to time and the cient(s) in
question (specifically their connections to the server) are a source of
concern and I would like to be able to manage things for this specific set
of clients server side (as opposed to waiting for the admin guys to kill
them off).

Is there anything like "Close client connections after N ms inactivity"
server side?

thanks in advance.

G

    TAO VERSION: 2.3.3
    ACE VERSION: 6.3.3

    HOST MACHINE and OPERATING SYSTEM:
       Linux red had
    TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
    COMPILER NAME AND VERSION (AND PATCHLEVEL):
    g++ - not sure of version but its a supported one.

    THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
    specific file, simply state which one]:

    dont have it here.
    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++)]:

    dont have it here.
    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
    (used by MPC when you generate your own makefiles):

    AREA/CLASS/EXAMPLE AFFECTED:
    Not a failure
    DOES THE PROBLEM AFFECT:
        EXECUTION?
    connections at runtime.



    SYNOPSIS:
    how to deal with misbehaving clients holding connections.

    DESCRIPTION:
    See above
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/tao-users/attachments/20160221/78e48ebc/attachment.html>


More information about the tao-users mailing list