set max allowed process.