You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2022/01/22 15:35:00 UTC

[jira] [Created] (HADOOP-18091) S3A auditing leaks memory through ThreadLocal references

Steve Loughran created HADOOP-18091:
---------------------------------------

             Summary: S3A auditing leaks memory through ThreadLocal references
                 Key: HADOOP-18091
                 URL: https://issues.apache.org/jira/browse/HADOOP-18091
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/s3
    Affects Versions: 3.3.2
            Reporter: Steve Loughran
            Assignee: Steve Loughran


{{ActiveAuditManagerS3A)) uses thread locals to map to active audit spans, which (because they are wrapped) include back reference to the audit manager instance and the config it was created with.

these *do not* get cleaned up when the FS instance is closed.

if you have a long lived process creating and destroying many FS instances, then memory gets used up. l



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org