# Open files limit error

**URL:** <https://forums.suse.com/t/open-files-limit-error/10353>\
**Category:** Rancher 1.x\
**Created:** [May 9, 2018, 9:43am UTC](https://forums.suse.com/t/open-files-limit-error/10353 "2018-05-09T09:43:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adarsh](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/adarsh/32/3781_2.png) [@adarsh](https://forums.suse.com/u/adarsh)\
**Post date:** [May 9, 2018, 9:43am UTC](https://forums.suse.com/t/open-files-limit-error/10353/1 "2018-05-09T09:43:31Z")

</div>

I am using 1.6.16, I have deployed around 20 containers in single server and getting following error while deploying further container through catalogs

Expected state running but got error: open /etc/resolv.conf: too many open files

Docker is configured with default ulimit of 1024:65000, I guess its not an issue since it will only limit the process inside the an individual container. What can be the issue?

---

<div class="post-metadata">

**Author:** ![adarsh](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/adarsh/32/3781_2.png) [@adarsh](https://forums.suse.com/u/adarsh)\
**Post date:** [May 10, 2018, 7:36am UTC](https://forums.suse.com/t/open-files-limit-error/10353/2 "2018-05-10T07:36:04Z")

</div>

Its giving an error like below for some of the containers. Does this mean docker is unable to extract images too? I am just wondering is it due to the ulimit settings of the server or the ulimit settings in docker. I started to get this issues from 1.6.16 version of rancher only.

Get http://%2Fvar%2Frun%2Fdocker.sock/v1.22/images/tempimage.com/take/wordpress:latest/json: dial unix /var/run/docker.sock: socket: too many open files
