docker-containerd experiences growing RSS/memory consumption when `docker exec` calls are run
Issue
- When using Docker as provided by Red Hat, we observe memory consumption in the form of growth in Resident-Set-Size (RSS) for the
docker-containerd
process. - Specifically, containers have
exec
called on them frequently, which is frequent in scenarios when using the following in your environment:- Docker healthchecks
- OpenShift
livenessProbe
orreadinessProbe
where an arbitrary command is passed instead ofhttp
ortcp
, such ascurl
orping
. - Any facility that frequently calls
docker exec
from either the command line or via the Docker API.
Environment
- Red Hat Enterprise Linux 7 running Red Hat provided Docker
- Red Hat OpenShift Container Platform 3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.