Hi,
I just upgraded to docker 1.10 and got struct with an issue where I'm not able to create large number of containers. I believe docker is either hanging or crashing as soon as number of containers are reaching more than 500. When I debug /var/log/messages I found that its giving resource unavailability issue on the same machine where I used to create around 1200 containers successfully.
When I studied I found that there has been an introduction of TasksMax flag which sets number of threads to 512 by default but this flag is not supported by CentOS 7 or any OS versions running 3.10.xxx and giving following error:
[/etc/systemd/system.conf:58] Unknown lvalue 'TasksMax' in section 'Manager'
Kindly suggest a way forward because it completed stopped our operation and we are not able to proceed with a high number of containers. I tried to remove TasksMax from docker.service file still there is no success. Here is the detail of docker:
[root@p4029667 log]# docker info
Containers: 442
Running: 401
Paused: 0
Stopped: 41
Images: 30
Server Version: 1.10.0-rc3
Storage Driver: devicemapper
Pool Name: docker-253:1-538163109-pool
Pool Blocksize: 65.54 kB
Base Device Size: 10.74 GB
Backing Filesystem: xfs
Data file: /dev/vg-docker/data
Metadata file: /dev/vg-docker/metadata
Data Space Used: 34.29 GB
Data Space Total: 536.9 GB
Data Space Available: 502.6 GB
Metadata Space Used: 299.7 MB
Metadata Space Total: 4.295 GB
Metadata Space Available: 3.995 GB
Udev Sync Supported: true
Deferred Removal Enabled: true
Deferred Deletion Enabled: true
Deferred Deleted Device Count: 0
Library Version: 1.02.107-RHEL7 (2015-10-14)
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
Volume: local
Network: bridge null host
Kernel Version: 3.10.0-123.20.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 24
Total Memory: 188.7 GiB
Name: p4029667.pubip.serverbeach.com
ID: GYAC:IFA4:2ZBZ:FYMM:GT5G:CIIF:WSMY:3FVS:FZBU:B7LN:4WSQ:ZB6I
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Following is the info related to version:
root@p4029667 log]# docker version
Client:
Version: 1.10.0-rc3
API version: 1.22
Go version: go1.5.3
Git commit: 08c24cc
Built: Tue Feb 2 22:54:00 2016
OS/Arch: linux/amd64
Server:
Version: 1.10.0-rc3
API version: 1.22
Go version: go1.5.3
Git commit: 08c24cc
Built: Tue Feb 2 22:54:00 2016
OS/Arch: linux/amd64
Hi,
I just upgraded to docker 1.10 and got struct with an issue where I'm not able to create large number of containers. I believe docker is either hanging or crashing as soon as number of containers are reaching more than 500. When I debug /var/log/messages I found that its giving resource unavailability issue on the same machine where I used to create around 1200 containers successfully.
When I studied I found that there has been an introduction of TasksMax flag which sets number of threads to 512 by default but this flag is not supported by CentOS 7 or any OS versions running 3.10.xxx and giving following error:
[/etc/systemd/system.conf:58] Unknown lvalue 'TasksMax' in section 'Manager'Kindly suggest a way forward because it completed stopped our operation and we are not able to proceed with a high number of containers. I tried to remove TasksMax from docker.service file still there is no success. Here is the detail of docker:
Following is the info related to version: