[root@bogon default]# ps aux | grep "nginx: worker process" | awk '{print $1}'
root
root
root
root
root

[root@bogon default]# vi /etc/nginx/nginx.conf

user root root;                # 这个用户要和上面的用户保持一致
worker_processes auto;

worker_rlimit_nofile 51200;

 

相关文章:

  • 2022-12-23
  • 2022-01-19
  • 2021-12-31
  • 2021-07-31
  • 2021-10-12
  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2021-10-03
  • 2021-09-19
  • 2022-12-23
相关资源
相似解决方案