简体   繁体   English

Apache错误日志-服务器超载?

[英]Apache error log - server overloaded?

maybe some expert can help me with this problem: I am getting the following error on the Apache log, this happens mostly when traffic is high and every one-two minutes but the rest of the day it happens every 5-10 minutes too. 也许有些专家可以帮助我解决这个问题:我在Apache日志上收到以下错误,该错误通常发生在流量很高且每隔一两分钟出现一次的情况下,而在其余时间中也每隔5-10分钟发生一次。 I have a 32 cores server with 128gb ram, using mpm event Apache 2.4 with keepalive on and maxclients 3000. This is only for Apache, I am connecting to a remote MySQL dedicated server. 我有一个具有128gb ram的32核服务器,使用带有keepalive的mpm事件Apache 2.4和maxclients3000。这仅适用于Apache,我正在连接到远程MySQL专用服务器。

[Wed May 18 09:04:23.304162 2016] [core:error] [pid 14427:tid 109067598780160] [client 223.227.170.67:15501] AH00524: Handler for (null) returned invalid result code 70007, referer: https:$
[Wed May 18 09:08:48.716167 2016] [core:error] [pid 23012:tid 109067562034944] [client 103.246.201.7:20716] AH00524: Handler for (null) returned invalid result code 70007, referer: https:/$
[Wed May 18 09:11:33.056162 2016] [core:error] [pid 11230:tid 109067733079808] [client 103.246.201.58:16297] AH00524: Handler for (null) returned invalid result code 70007, referer: https:$
[Wed May 18 09:12:19.544211 2016] [core:error] [pid 16838:tid 109067831011072] [client 103.246.200.28:47581] AH00524: Handler for (null) returned invalid result code 70007, referer: https:$
[Wed May 18 09:13:27.176166 2016] [core:error] [pid 14427:tid 109067831084800] [client 103.246.201.25:32601] AH00524: Handler for (null) returned invalid result code 70007, referer: https:$
[Wed May 18 09:14:38.224143 2016] [core:error] [pid 11230:tid 109067697231616] [client 223.227.170.67:15410] AH00524: Handler for (null) returned invalid result code 70007, referer: https:$
[Wed May 18 09:15:21.600233 2016] [core:error] [pid 14427:tid 109067705698048] [client 103.246.200.31:60991] AH00524: Handler for (null) returned invalid result code 70007, referer: https:$
[Wed May 18 09:16:42.652179 2016] [core:error] [pid 9205:tid 109067659392768] [client 103.246.201.37:14295] AH00524: Handler for (null) returned invalid result code 70007, referer: https:/$
[Wed May 18 09:19:06.356158 2016] [core:error] [pid 9205:tid 109067740841728] [client 103.246.201.4:21377] AH00524: Handler for (null) returned invalid result code 70007, referer: https://$
[Wed May 18 09:19:10.388161 2016] [core:error] [pid 11230:tid 109067705874176] [client 103.246.200.5:29111] AH00524: Handler for (null) returned invalid result code 70007, referer: https:/$
[Wed May 18 09:27:51.292172 2016] [core:error] [pid 11230:tid 109067598817024] [client 103.246.200.37:31527] AH00524: Handler for (null) returned invalid result code 70007, referer: https:$
[Wed May 18 09:29:15.904172 2016] [core:error] [pid 23917:tid 109067616036608] [client 103.246.201.44:41459] AH00524: Handler for (null) returned invalid result code 70007, referer: https:$

The 'referer' is not just one file, it seems it's happening randomly on any page of my website. “引荐来源”不仅是一个文件,而且似乎是在我网站的任何页面上随机发生的。 I don't think I have a lot of traffic to think that the server is overloaded, but I can't find a way to fix this. 我认为我没有太多流量可以认为服务器过载,但是我找不到解决此问题的方法。 Any idea about where to start searching for this problem? 关于从哪里开始搜索此问题的任何想法? Thanks in advance. 提前致谢。

MaxClients is unreasonably high. MaxClients太高了。 Lower it to, say, 100. If you need more scaling, add more machines, plus a load balancer in front of them. 将其降低到100。如果需要更多扩展,请添加更多计算机,并在它们前面添加负载均衡器。 And use "round-robin". 并使用“循环”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM