{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/22659","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/22659/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/22659/comments","events_url":"https://api.github.com/repos/docker/docker/issues/22659/events","html_url":"https://github.com/docker/docker/issues/22659","id":154217450,"number":22659,"title":"docker devicemapper data file size increasing exponentially","user":{"login":"manojakondi","id":15820209,"avatar_url":"https://avatars.githubusercontent.com/u/15820209?v=3","gravatar_id":"","url":"https://api.github.com/users/manojakondi","html_url":"https://github.com/manojakondi","followers_url":"https://api.github.com/users/manojakondi/followers","following_url":"https://api.github.com/users/manojakondi/following{/other_user}","gists_url":"https://api.github.com/users/manojakondi/gists{/gist_id}","starred_url":"https://api.github.com/users/manojakondi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manojakondi/subscriptions","organizations_url":"https://api.github.com/users/manojakondi/orgs","repos_url":"https://api.github.com/users/manojakondi/repos","events_url":"https://api.github.com/users/manojakondi/events{/privacy}","received_events_url":"https://api.github.com/users/manojakondi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/area/storage/devicemapper","name":"area/storage/devicemapper","color":"FBCA04"},{"url":"https://api.github.com/repos/docker/docker/labels/version/1.8","name":"version/1.8","color":"ededed"},{"url":"https://api.github.com/repos/docker/docker/labels/version/unsupported","name":"version/unsupported","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-05-11T11:09:58Z","updated_at":"2016-07-09T03:58:39Z","closed_at":null,"body":"I'm running a several docker containers as Web Servers on different servers. But on one server, the size of \"data\" file under devicemapper folder is increasing exponentially. It has consumed 40GB of total 50GB available under 2 days. But on the other servers with same docker configuration, I didn't find any problem. Only on this one. The logs that are being generated by Webserver are consuming only 400MB. Can any one help me solve this?\r\n\r\n```\r\n# docker version\r\nClient:\r\n Version:      1.8.2-el7\r\n API version:  1.20\r\n Package Version: docker-1.8.2-10.el7.x86_64\r\n Go version:   go1.4.2\r\n Git commit:   a01dc02/1.8.2\r\n Built:\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.8.2-el7\r\n API version:  1.20\r\n Package Version:\r\n Go version:   go1.4.2\r\n Git commit:   a01dc02/1.8.2\r\n Built:\r\n OS/Arch:      linux/amd64\r\n\r\n```\r\n\r\n```\r\n# docker info\r\nContainers: 1\r\nImages: 69\r\nStorage Driver: devicemapper\r\n Pool Name: docker-253:4-262147-pool\r\n Pool Blocksize: 65.54 kB\r\n Backing Filesystem: extfs\r\n Data file: /dev/loop0\r\n Metadata file: /dev/loop1\r\n Data Space Used: 41.6 GB\r\n Data Space Total: 107.4 GB\r\n Data Space Available: 10.45 GB\r\n Metadata Space Used: 24.77 MB\r\n Metadata Space Total: 2.147 GB\r\n Metadata Space Available: 2.123 GB\r\n Udev Sync Supported: true\r\n Deferred Removal Enabled: false\r\n Data loop file: /opt/docker/devicemapper/devicemapper/data\r\n Metadata loop file: /opt/docker/devicemapper/devicemapper/metadata\r\n Library Version: 1.02.107-RHEL7 (2015-12-01)\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 3.10.0-327.10.1.el7.x86_64\r\nOperating System: Red Hat Enterprise Linux Server 7.2 (Maipo)\r\nCPUs: 2\r\nTotal Memory: 3.695 GiB\r\nWARNING: bridge-nf-call-iptables is disabled\r\nWARNING: bridge-nf-call-ip6tables is disabled\r\n```\r\n\r\n```\r\n# df -h\r\nFilesystem                         Size  Used Avail Use% Mounted on\r\n/dev/mapper/rootvg-root            1.9G  474M  1.4G  26% /\r\ndevtmpfs                           1.9G     0  1.9G   0% /dev\r\ntmpfs                              1.9G   16K  1.9G   1% /dev/shm\r\ntmpfs                              1.9G   57M  1.8G   4% /run\r\ntmpfs                              1.9G     0  1.9G   0% /sys/fs/cgroup\r\n/dev/mapper/rootvg-usr             3.8G  1.7G  2.0G  46% /usr\r\n/dev/sda1                          190M  128M   49M  73% /boot\r\n**/dev/mapper/datavg-datalv           50G   40G  9.5G  81% /opt**\r\n/dev/mapper/rootvg-home            1.9G  112M  1.7G   7% /home\r\n/dev/mapper/rootvg-tmp             1.9G   23M  1.8G   2% /tmp\r\n/dev/mapper/rootvg-var             9.5G  1.5G  7.6G  16% /var\r\n/dev/mapper/rootvg-opt             4.7G  346M  4.1G   8% /opt\r\ntmpfs                              379M     0  379M   0% /run/user/1596800068\r\ntmpfs                              379M     0  379M   0% /run/user/0\r\ntmpfs                              379M     0  379M   0% /run/user/1596900577\r\n```\r\n\r\nIf you see the size of /opt here, 81% of the total space is being used in it.\r\n\r\nMy docker files are being saved under /opt. Please see the details of `/opt/docker/devicemapper/devicemapper/` below\r\n\r\n```\r\n# du -sh *\r\n39G     data\r\n24M     metadata\r\n```\r\n\r\nCan any one explain what is causing the issue and how to solve this?"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/231513454","html_url":"https://github.com/docker/docker/issues/22659#issuecomment-231513454","issue_url":"https://api.github.com/repos/docker/docker/issues/22659","id":231513454,"user":{"login":"ksylvan","id":1226059,"avatar_url":"https://avatars.githubusercontent.com/u/1226059?v=3","gravatar_id":"","url":"https://api.github.com/users/ksylvan","html_url":"https://github.com/ksylvan","followers_url":"https://api.github.com/users/ksylvan/followers","following_url":"https://api.github.com/users/ksylvan/following{/other_user}","gists_url":"https://api.github.com/users/ksylvan/gists{/gist_id}","starred_url":"https://api.github.com/users/ksylvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksylvan/subscriptions","organizations_url":"https://api.github.com/users/ksylvan/orgs","repos_url":"https://api.github.com/users/ksylvan/repos","events_url":"https://api.github.com/users/ksylvan/events{/privacy}","received_events_url":"https://api.github.com/users/ksylvan/received_events","type":"User","site_admin":false},"created_at":"2016-07-09T03:58:38Z","updated_at":"2016-07-09T03:58:38Z","body":"I'm following the docker development flow here, nothing more:\r\n\r\nhttps://docs.docker.com/opensource/project/set-up-dev-env/\r\n\r\nAfter \"make shell\" and making the binaries in the container and starting \"docker daemon\", I do: \"make rpm\" and space runs out due to /var/lib/docker/volumes filling up. "}}
{"actor":{"display_login":"ksylvan"}}