Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service hangs when concurrent large response send which trigger multiple reconnect #55

Open
freedai opened this issue Dec 22, 2020 · 0 comments

Comments

@freedai
Copy link

freedai commented Dec 22, 2020

opendxl client stop working and hangs there when concurrent responses have message size larger than messageSizeLimit( default to 1048576)
From debug message it blocked on:

{"written_at": "2020-12-22T15:38:47.859Z", "written_ts": 1608651527859996160, "type": "log", "msg": "disconnect on <dxlclient.client.DxlClient object at 0x7f141e1c7e50>, True", "logger": "dxlclient.client", "thread": "Thread-20", "level": "INFO", "module": "client", "line_no": 140, "filename": "client.py"}
{"written_at": "2020-12-22T15:38:47.860Z", "written_ts": 1608651527860232960, "type": "log", "msg": "Unexpected disconnect with result code 1", "logger": "dxlclient.client", "thread": "Thread-20", "level": "ERROR", "module": "client", "line_no": 150, "filename": "client.py"}
{"written_at": "2020-12-22T15:38:47.860Z", "written_ts": 1608651527860377088, "type": "log", "msg": "Waiting for thread pool completion...", "logger": "dxlclient.client", "thread": "Thread-20", "level": "INFO", "module": "client", "line_no": 581, "filename": "client.py"}

Once this happened, following request got 'unable to locate service for request (-2147483647)'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant