Projects tigase _server server-core Issues #1551
Limit of stream management queue size is too small (#1551)
Andrzej Wójcik (Tigase) opened 1 month ago

In some cases, ie. joined many active MUC rooms, current limit on no. of items in stream management queue for a single connection (2000) is too small and causes disconnections.

It would be desirable to create a burst period and burst period limit ration, allowing temporary (in the burst period) limit to be multiplied by burst ratio.

Assuming limit of 2000 packets with burst of 10 seconds and ratio of 20 it would allow for a period of 10 seconds to have up to 40000 unacked packets. As ratio and period would be configurable, it would allow us to have more flexible limits.

Andrzej Wójcik (Tigase) added "Related" tigase/_clients/beagle-im#633 1 month ago
Andrzej Wójcik (Tigase) changed state to 'In Progress' 1 month ago
Previous Value Current Value
Open
In Progress
Referenced from commit 1 month ago
Andrzej Wójcik (Tigase) changed state to 'In QA' 1 month ago
Previous Value Current Value
In Progress
In QA
Andrzej Wójcik (Tigase) changed fields 1 month ago
Name Previous Value Current Value
Assignee
andrzej.wojcik
wojtek
Andrzej Wójcik (Tigase) commented 1 month ago

I've made changes we discussed (related to my findings about SM queue) and I've deployed them at tigase.org installation.

Wojciech Kapcia commented 4 weeks ago

Could you add delay to make sure that possible error would have a chance to be delivered? (I'm still facing issues so not sure if it was caused by this)

Currently, on tigase.org we don't have debug logs (maybe we should change defaults for logback, which should be more efficient?) so it's not possible to check if it was triggered.

Wojciech Kapcia changed fields 4 weeks ago
Name Previous Value Current Value
Assignee
wojtek
andrzej.wojcik
Wojciech Kapcia commented 4 weeks ago

From todays tests: when using Psi+ with or without StreamManagement enabled I'm getting disconnected as well (and Psi+ shows TLS error):

Imagen PNG.png

Quite possibly there is a problem with encryption/closing connection but for that we should enable logs on the server.

issue 1 of 1
Type
Task
Priority
Normal
Assignee
Version
none
Sprints
n/a
Customer
n/a
Iterations
Issue Votes (0)
Watchers (3)
Reference
tigase/_server/server-core#1551
Please wait...
Page is in error, reload to recover