Allow configuration of number of open files

The default of 2048 is not sufficient for all configurations
and is currently hardcoded into the init script