For those of you with an active dpeloyment of VMware’s vCloud Director (vCD) or those looking into deploying it, I would like to point out an important thing to check on your Red Hat vCD cells. From: http://www.vmware.com/support/vcd/doc/rel_notes_vcloud_director_101.html
“Too many open files” errors
vCloud Director can require high open file limits. Make sure that every cell in your vCloud Director environment allows processes to open more than 1024 files. To see what the current limit is for a cell, log in to the cell, and type ulimit -n. If it says 1024 or less, then take the following steps to increase the open files limit:
- Type su -.
- Edit /etc/security/limits.conf and make sure it includes the following lines:
* soft nofile 65535
* hard nofile 65535
- Edit /etc/pam.d/login to include the following line:
session required pam_limits.so
- Type the following command to restart the cell:
service vmware-vcd restart
- Log out of the cell and log back in.
- Type ulimit -n to verify your changes.
© 2011, Steve Flanders. All rights reserved.