message: serv->task_worker_num > SW_CPU_NUM * SW_MAX_WORKER_NCPU
diff: @@ -254,6 +254,11 @@ static int swServer_start_check(swServer *serv)
  swWarn("onFinish is null");
  return SW_ERR;
  }
  + if (serv->task_worker_num > SW_CPU_NUM * SW_MAX_WORKER_NCPU)
  + {
  + swWarn("serv->task_worker_num > %d, Too many processes, the system will be slow", SW_CPU_NUM * SW_MAX_WORKER_NCPU);
  + serv->task_worker_num = SW_CPU_NUM * SW_MAX_WORKER_NCPU;
  + }
  }
  //check thread num
  if (serv->reactor_num > SW_CPU_NUM * SW_MAX_THREAD_NCPU)
  