Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

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:
  1. Log in to the cell.
  2. 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:  
  1. Run this command:

    su -

  2. 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.

  3. Open the /etc/pam.d/login file using a text editor and add this line:  

    session required pam_limits.so


  4. Run this command to restart the cell:

    service vmware-vcd restart

     
  5. Log out of the cell and log in again.
  6. Run this command to verify your changes:

    ulimit -n

Tags

access-userinterface  access-userinterface-fails  cannot-access-vcloud-userinterface

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.

Feedback

  • 3 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 3 Ratings
Actions
KB: