Extending OS X Lion's Maxfiles Limit for Neo4J
Posted on: Feb 25 2012
After upgrading to Neo4j 1.6 today I got this warning when starting the server:
Detected a limit of 512 for maximum open files.
A limit of 40000 is suggested instead and a quick look on Google suggests the use of launchctl limit or ulimit -n. However the results I found were split between how Linux deals with this issue (ulimit -n) and pre Lion fixes that involve using unlimited as the hard limit (which hasn't worked since Leopard).