随着零交通接触Apache(隐藏在Nginx和Varnish后面),内存使用量上升到总共10 GB。 它被设置为使用Event MPM。 这些统计是当服务器几乎完全空闲的时候:
CPU usage 0% user, 0% kernel, 0% IO, 100% idle. ps faux | grep httpd root 3385 0.0 0.0 112640 964 pts/0 S+ 14:43 0:00 \_ grep --color=auto httpd root 676 0.0 0.3 705268 29824 ? Ss Oct21 0:03 /usr/sbin/httpd -DFOREGROUND apache 2888 0.0 0.1 292972 14464 ? S 14:33 0:00 \_ /usr/sbin/httpd -DFOREGROUND apache 2889 0.0 0.1 294148 14236 ? S 14:33 0:00 \_ /usr/sbin/httpd -DFOREGROUND apache 2890 0.0 0.2 1321996 21216 ? Sl 14:33 0:00 \_ /usr/sbin/httpd -DFOREGROUND apache 2891 0.0 0.2 1059852 21224 ? Sl 14:33 0:00 \_ /usr/sbin/httpd -DFOREGROUND apache 2893 0.0 0.2 1256460 21220 ? Sl 14:33 0:00 \_ /usr/sbin/httpd -DFOREGROUND apache 3262 0.0 0.2 1125388 21216 ? Sl 14:37 0:00 \_ /usr/sbin/httpd -DFOREGROUND ps -eLf | grep 676 | wc -l 113 ps -eLf | grep 2888 | wc -l 2 ps -eLf | grep 2889 | wc -l 2 ps -eLf | grep 2890 | wc -l 28 ps -eLf | grep 2891 | wc -l 28 ps -eLf | grep 2893 | wc -l 28 ps -eLf | grep 3262 | wc -l 28
在configuration方面,不知道什么是有益的分享。 事件被激活,并使用默认线程设置(centos 2.4.6)。 没有使用事件MPM之前,我不确定这是标准的内存使用情况,或者如果它是一个问题的指示…它似乎(很高)…
如果您认为其他configuration设置将是有益的地方让我知道,我会提供。