-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
bugSomething isn't workingSomething isn't working
Description
AxoSyslog
Version of AxoSyslog
4.8.1
Issue
Failure
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":
from boto3 import Session, client
while True:
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.
This might be related: boto/boto3#3614
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working