set hard rlimit as well to prevent crash on linux
Merge pull request #534 from joshrowley/patch-rlimit-linux

set hard rlimit as well to prevent crash on linux