You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The memory usage of the syslog-ng process increases with every syslog-ng-ctl reload indefinitely.
It seems like that this is not a memory leak, but the botocore python library is caching some session related data.
The following python snippet also reproduces something similar, but the memory usage stops after 5-10 "reloads":
fromboto3importSession, clientwhileTrue:
input(": ")
# This does not "leak"# c = client("s3")# c.close()s=Session()
c=s.client("s3")
c.close()
The caching happens around the Session object, if we create the client directly, the memory usage problem does not happen.
AxoSyslog
Version of AxoSyslog
4.8.1
Issue
Failure
The memory usage of the
syslog-ng
process increases with everysyslog-ng-ctl reload
indefinitely.It seems like that this is not a memory leak, but the
botocore
python library is caching some session related data.The following python snippet also reproduces something similar, but the memory usage stops after 5-10 "reloads":
The caching happens around the
Session
object, if we create the client directly, the memory usage problem does not happen.This might be related: boto/boto3#3614
The text was updated successfully, but these errors were encountered: