* adding ulimit check - only tested on Darwin