dianso 发表于 2010-10-14 22:54:46

为什么nginx进程这么少,求助啊

1 root      15   02152668580 S0.00.1   0:00.26 init
5692 www       25105876 1536 1168 S0.00.3   0:00.02 pure-ftpd
5693 root      17   05740532280 S0.00.1   0:00.00 pure-ftpd
7359 root      15   05740604376 S0.00.1   0:00.21 pure-ftpd
9255 root      15   06452 1844780 S0.00.4   0:00.12 nginx
9749 root      15   01808568476 S0.00.1   0:00.85 syslogd
9864 root      17   02828868700 S0.00.2   0:00.00 xinetd
9883 root      15   09292 1900816 S0.00.4   0:00.05 sendmail
9891 smmsp   15   08240 1516648 S0.00.3   0:00.00 sendmail
9915 root      15   04488 1112568 S0.00.2   0:00.00 crond
9923 root      18   05668716436 S0.00.1   0:00.00 saslauthd
9924 root      18   05668444164 S0.00.1   0:00.00 saslauthd
11947 root      15   0 10020 2892 2344 S0.00.6   0:00.03 sshd
12009 root      15   03708 1480 1244 S0.00.3   0:00.00 bash
15545 root      15   02284 1016820 R0.00.2   0:00.00 top
18340 root      18-42244556344 S0.00.1   0:00.00 udevd
19678 root      18   07184 1064664 S0.00.2   0:00.01 sshd

是不是就一个进程太少了啊,怎么增加呢,求助

licess 发表于 2010-10-15 09:21:38

回复 1# 的帖子

修改nginx.conf ,找到worker_processes 修改后面的数值,重启nginx
页: [1]
查看完整版本: 为什么nginx进程这么少,求助啊