Open mwinkel-dev opened 1 year ago
Have not yet investigated and identified the root cause of this issue.
However, did notice that the behavior changed when pointed the test to a different mdsip
server. Must compare the configurations of the two servers to see why the above test fails on the first server but passes on the second server.
There is already a test case for this bug in the IDL test harness.
Checked the systemd
config files on the mdsip
server that fails the 64 concurrent connections test. No obvious limits spotted.
Also, PR #2644 made no difference in the limit.
Affiliation MIT PSFC
Version(s) Affected Definitely occurs in alpha, likely in stable too.
Platform Ubuntu 20, however surely applies to all platforms
Describe the bug Attempted to create 100 concurrent mdsip connections (aka sockets) and found that MDSplus only supports 64 concurrent connections. Although it is unlikely that any customers will need more than 64 concurrent connections, nonetheless MDSplus shouldn't crash.
To Reproduce Steps to reproduce the behavior:
This bug was found while testing the IDL API (however it likely exists in all APIs). Run the following program at the IDL prompt.
Note that it generates the following output.
Expected behavior Instead of crashing, MDSplus should instead display an error message that explains that the limit has been exceeded. And that error message should appear in all APIs (Python, Java, and so forth). Also would be good to determine what is causing the limit (conjecture is that it is in the C code in
mdsipshr
). And to decided whether the limit should be increased, reduced or left as is.Screenshots n/a
Additional context n/a