java.io.IOException: Too many open files
This error can occur on some versions of Debian Linux (for example Ubuntu). The workaround is to add the following 2 lines after the comments, but before the rest of the script in the file /etc/init.d/tomorrowstart, then restart: