mdavidsaver
mdavidsaver
Would you be so kind as to extend my clearly inadequacy test case? https://github.com/mdavidsaver/p4p/blob/936b12a978d68ce4153c83c73cc313e74ec0473d/src/p4p/test/test_gw.py#L55
@simon-ess Can you check to see if any of your gateway processes have duplicate TCP connections open? eg. does `netstat -tpn | grep ` show duplicates in the `Foreign Address`...
> * `LimitNOFILE=27` As I think about it, this number may be too low to be realistic. My usual local test gateway configuration with two `"servers":[` and one `"clients":[` has...
I happened to notice one FD leak due to my misunderstanding of the python sqlite3 API. `sqlite3.Connection.__exit__()` does *not* `close()`. https://github.com/mdavidsaver/p4p/blob/a03400e4f4e89202d45991eb37c0258b6e2497dc/src/p4p/gw.py#L174 https://docs.python.org/3/library/sqlite3.html#how-to-use-the-connection-context-manager This should be fixed by 70b030de2f30cf690bb317429f59bd092e65420e. However, I...
https://github.com/mdavidsaver/pvxs/commit/c2e5fdca551a701e238ff34d76bddc7766254f2e avoids a possible FD leak, if an async `connect()` fails. Logged as `Unable to begin connecting`.
@simon-ess Have you been able to update and/or observed any more instances of FD exhaustion?
> * If one requests a large number then in general the gateway becomes unresponsive for a time Have you any idea what is happening while this is happening? I'm...
> ... by modifying the allowed number of file descriptors. @simon-ess I am confused. From https://github.com/epics-base/p4p/issues/139#issuecomment-2031322542 I understood that you were no longer observing FD exhaustion errors. Has this changed...
eg. With pvagw running with ~ the example config one a single host I observe: 1. a baseline FD usage of 31. 2. If I launch 100 IOCs behind this...
> * If one requests a large number then in general the gateway becomes unresponsive for a time > ... allowing for the 60 second garbage collection period for unused...