set worker procs based on cpu count