VPS侦探论坛

 找回密码
 注册
查看: 7723|回复: 1

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

[复制链接]
发表于 2010-10-14 22:54:46 | 显示全部楼层 |阅读模式

1 root      15   0  2152  668  580 S  0.0  0.1   0:00.26 init
5692 www       25  10  5876 1536 1168 S  0.0  0.3   0:00.02 pure-ftpd
5693 root      17   0  5740  532  280 S  0.0  0.1   0:00.00 pure-ftpd
7359 root      15   0  5740  604  376 S  0.0  0.1   0:00.21 pure-ftpd
9255 root      15   0  6452 1844  780 S  0.0  0.4   0:00.12 nginx
9749 root      15   0  1808  568  476 S  0.0  0.1   0:00.85 syslogd
9864 root      17   0  2828  868  700 S  0.0  0.2   0:00.00 xinetd
9883 root      15   0  9292 1900  816 S  0.0  0.4   0:00.05 sendmail
9891 smmsp     15   0  8240 1516  648 S  0.0  0.3   0:00.00 sendmail
9915 root      15   0  4488 1112  568 S  0.0  0.2   0:00.00 crond
9923 root      18   0  5668  716  436 S  0.0  0.1   0:00.00 saslauthd
9924 root      18   0  5668  444  164 S  0.0  0.1   0:00.00 saslauthd
11947 root      15   0 10020 2892 2344 S  0.0  0.6   0:00.03 sshd
12009 root      15   0  3708 1480 1244 S  0.0  0.3   0:00.00 bash
15545 root      15   0  2284 1016  820 R  0.0  0.2   0:00.00 top
18340 root      18  -4  2244  556  344 S  0.0  0.1   0:00.00 udevd
19678 root      18   0  7184 1064  664 S  0.0  0.2   0:00.01 sshd

是不是就一个进程太少了啊,怎么增加呢,求助
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-10-15 09:21:38 | 显示全部楼层

回复 1# 的帖子



修改nginx.conf ,找到worker_processes 修改后面的数值,重启nginx
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-17 03:05 , Processed in 0.034003 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表