Open DACS connection problem

I am having connection issue to the Open DACS daemon server. My test is based on the Content Based Subscriber tutorial. After 1-2 successful connections, I will start getting AuthorizationConnection.CONNECTION_DOWN which rejects my connection and it will work again after a few minutes. For all the successful connections, I am properly closing the connection after the entitlement check is completed. What could be rejecting the new connection? Is there a connection limit? Should I just keep my connection open at all time in my application (Open DACS client)? Please advise.

Tagged:

Best Answer

  • @kenny.ma


    It sound like some issue on dacs sink daemon. You may check DACS_MAX_SNKD_CLIENTS parameter which set in dacs.env used by your dacs daemon. Default seems to be 8 and if you share the dacs daemon with other users it might reach the max client.

    # Define the number of Sink Clients that can attach to the dacs.snkd
    DACS_MAX_SNKD_CLIENTS=8; export DACS_MAX_SNKD_CLIENTS

Answers

  • zoya faberov
    zoya faberov ✭✭✭✭✭

    Hi Kenny,

    OpenDACS Java, right?

    Do you see the same connection issue if you just re-run OpenDACS Tutorial#4, 3 or 4 times in a row?

    (I am not seeing it this way)