Error - Too many open files

Please edit your /etc/security/limits.conf and add

* soft nofile 65536
* hard nofile 65536

Note this will require a machine reboot to take effect.