Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Accessing the vCloud Director user interface fails with the error: Cannot open connection - Too many open files (1036219)
Symptoms
- Cannot access the vCloud Directory console
- Accessing the vCloud Director user interface fails
- You see these error:
-
- Internal error
- Cannot open connection - Too many open files
- In the vCloud Directory logs, you see the error:
java.io.IOException: Too many open files
Resolution
This issue may occur if the open files limit in vCloud Director is insufficient.
To see the current limit for a cell:
- Log in to the cell.
- Run this command:
ulimit -n
If the command returns 1024 or less, you must increase the open files limit.
To increase the open files limit:
- Run this command:
su -
- Open the /etc/security/limits.conf file and ensure that it includes the following lines:
* soft nofile 65535
* hard nofile 65535
If not, add these lines.
- Open the /etc/pam.d/login file using a text editor and add this line:
session required pam_limits.so
- Run this command to restart the cell:
service vmware-vcd restart
- Log out of the cell and log in again.
- Run this command to verify your changes:
ulimit -n
Tags
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

