cleanup doc
cleanup
clean up rlimit infinity handling