question

Upvotes
Accepted
36 0 2 4

Inactive client connections to sink daemon

Currently I'm not able to connect to the DACS daemon server anymore (AuthorizationConnection.CONNECTION_DOWN). From what I've read this is because the maximum number of connections has been reached. One solution would be to increase the maximum number of clients.

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

However a lot of these clients are inactive. While testing with the application I logged on a couple of times without logging out. Is there any way to log out the inactive connections? Or maybe some setting to make sure these connections will be remove automatically due to inactivity?

DACSopen-dacs
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
11.5k 16 7 10

@gerard

The DACS team confirm that there is no other alternative except to increase max number of clients. in the dacs.snkd configuration file.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
36 0 2 4

@Wasin Waeosri

Ok, so I can't fix this from my application. However there does seem to be some kind of timeout from the server side. I noticed all active connections disappeared yesterday. Do you know the default time for such a timeout? It seems to be at least a couple of day.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

@gerard

Could you please let me know the version of the DACS server and DACS snkd that your are using?

Click below to post an Idea Post Idea