Memory leak when connect
fails with exception AuthenticationFailed
#318
Labels
bug
Something isn't working
connect
fails with exception AuthenticationFailed
#318
Every time a connection is attempted and fails with
AuthenticationFailed
, the memory used by the process increases.For example, running this code:
With a scylla node that requires authentication, this will repeatedly fail with the error message
('Unable to connect to any servers', {'10.11.12.3:9042': AuthenticationFailed('Remote end requires authentication')})
and the process will continue to increase its memory usage (on my machine it gets to around 1GB of memory usage in 2 minutes).This is not happening in case the connection fails for another reason like, for example,
ConnectionRefusedError
.Trying to debug the issue with
Pympler
, I can see all the objects of basic types increasing at each reconnection:The text was updated successfully, but these errors were encountered: