Commit 191a459
Allow ports to be reused in gloo
Summary:
ProcessGroupGloo and gloo seem to be opening and closing sockets without allowing the port to be reused. We see this issue pop up in larger training jobs "Address already in use" and we assume it to be because all the ephemeral ports are exhausted.
This diff allows ports to be reused, we see a reduced number of ports being in `TIME_WAIT` state.
context: https://fb.workplace.com/groups/319878845696681/permalink/5988899781205532/
another issue: https://fb.workplace.com/groups/319878845696681/permalink/958768178474408/
Differential Revision: D44029927
fbshipit-source-id: 45e7305df8c5fae764a5d93478ac007f604be7dd1 parent 56b221c commit 191a459
2 files changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
104 | 114 | | |
105 | 115 | | |
106 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
0 commit comments