check that ulimit -n works, before running anything