aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-04-09 01:38:34 +0200
committerAnders Svensson <[email protected]>2013-04-10 12:50:39 +0200
commitc609108ce017069a77708f80dae9e89c45ff222d (patch)
treec9fb31ef4b7ce04b94833cfe02fcab14ed00b7fe /lib/common_test
parent157886e6b69e9c7cf1e0e6f8ea932a82b810ea12 (diff)
downloadotp-c609108ce017069a77708f80dae9e89c45ff222d.tar.gz
otp-c609108ce017069a77708f80dae9e89c45ff222d.tar.bz2
otp-c609108ce017069a77708f80dae9e89c45ff222d.zip
Fix watchdog table leak
A service process maintains a table keyed on watchdog process pids. When a watchdog process dies the corresponding entry should be removed but this was broken in commit f115a9f7, causing entries with watchdog state DOWN to accumulate. Watchdog processes die as a result of diameter:remove_transport/2, or when a peer reestablishes a connection in the listening case. Neither is typically a frequent occurrence. The fault manifests itself in the return value of diameter:service_info(SvcName, transport), which displays entries for watchdog processes that are no longer alive.
Diffstat (limited to 'lib/common_test')
0 files changed, 0 insertions, 0 deletions