Skip to content

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

@freedai

Description

@freedai

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)'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions