aws / amazon-ssm-agent

An agent to enable remote management of your EC2 instances, on-premises servers, or virtual machines (VMs).
https://aws.amazon.com/systems-manager/
Apache License 2.0
1.04k stars 323 forks source link

not clean /var/lib/amazon/ssm/i-*/session/orchestration/* #356

Closed okovallevi9 closed 3 years ago

okovallevi9 commented 3 years ago

foldes with sesseon logs in /var/lib/amazon/ssm/i-/session/orchestration/ not clean up I can't remove this foldes manualy rm: cannot remove '-*/Standard_Stream/ipcTempFile.log': Operation not permitted Version 3.0.529.0 Somebody can help?

ferkhat-aws commented 3 years ago

You can configure the session log retention time by following these directions: https://github.com/aws/amazon-ssm-agent/blob/mainline/README.md#runtime-configuration You can set it to 0 to remove the logs immediately after a session is terminated. Closing.