Cassandra 4.0.1 can't be started using 'cassandra -f' command on MAC OSX

Solution 1:

The error is here: Too many open files <- you need to increase the limit on the number of open files. This could be done with ulimit command and make it permanent as described in this answer.