metalnx-web
metalnx-web copied to clipboard
connections aren't closed on CAT_INVALID_USER
metalnx doesn't always close failed connections immediately. Our dev irods database was effectively DOS'd by metalnx creating too many connections. A lot (possibly all) of the connections which don't get cleared up have fail with CAT_INVALID_USER, something like
Dec 9 05:39:18 pid:1948 NOTICE: Agent process 21497 started for puser=rods and cuser=rods from 172.27.84.193
Dec 9 05:39:18 pid:21497 NOTICE: rsAuthCheck: chlCheckAuth status = -827000
Dec 9 05:39:18 pid:21497 ERROR: [-] iRODS/server/api/src/rsAuthResponse.cpp:74:rsAuthResponse : status [CAT_INVALID_USER] errno [] -- message []
Dec 9 09:22:56 pid:1948 NOTICE: Agent process 21497 exited with status 24576
note that a connection which has clearly failed is open for 4 hours, when it should have been closed immediately.
Worth noting the CAT_INVALID_USER was triggered by the fact that I didn't notice the jobs config, so as a side point, could the entries in metalnx.properties be documented please?