Generalize ulimit limitation