This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 138
Problem with nested connections to a unix domain socket #146
Comments
I was able to reproduce with a simple class and a stack of scripts: Put the scripts in a directory in your path.
|
At the moment we do not have cycles to investigate this, the recursive scenario is far beyond the traditional usage of ng. PRs are still gladly accepted :-) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I use NG to traverse a tree where the recursion is implemented by invoking a wrapper script as a subprocess at each node of the tree. The wrapper script detects when it's launched from the command line and starts the NG server. Each nested invocation of the script then takes the other path and runs the NG client connecting back to the server for each of its children. My current traversal goes 4 deep.
Works fine with the server listening on TCP, but throws the exception below when using a unix domain socket. It does seem to be a timing issue as on a loaded machine the NG server might throw one or two exceptions per thousand nodes while on an otherwise idle machine I'll see ~50 per thousand.
I will work up an example I can share, but it will take me a while.
I've tried various combinations of:
RHEL 6/7
JDK 8/10
JNA 4.4.0/4.5.1
The text was updated successfully, but these errors were encountered: