Apache(apache2)HTTP服务器在一段时间后停止接受连接并需要重新启动

时间:2018-10-09 14:56:21

标签: sockets http apache2 apache2.4

apache服务器用尽了所有服务器(直到ServerLimit),然后不再接受任何连接。

Slot PID    Stopping    Connections     Threads Async connections
                      total accepting busy    idle  writing keep-alive   closing
 0  23257   yes       1         no     0         0       0        0           0
 1  27271   no        0         yes    1        24       0        0           0
 2  24876   yes       2         no     0         0       0        0           0
 3  23117   yes       2         no     0         0       0        0           0
 4  22671   yes       1         no     0         0       0        0           0
 5  23994   yes       1         no     0         0       0        0           0
 6  25159   yes       1         no     0         0       0        0           0
 7  24604   yes       1         no     0         0       0        0           0
 Sum 8       7        9                1        24       0        0           0

正在接受的一个pid被杀死并重新启动以获取上面的状态报告。随着时间的流逝,此PID也会像其他PID一样结束。如何找出Apache在一段时间后停止接受连接的原因?超时设置为90秒。

其他信息:

Server Version: Apache/2.4.33 (Unix) OpenSSL/1.0.2o
Server Built: Apr 18 2018 10:56:21
Server loaded APR Version: 1.6.3
Compiled with APR Version: 1.6.3
Server loaded APU Version: 1.6.1
Compiled with APU Version: 1.6.1
Module Magic Number: 20120211:76
Hostname/port: localhost:8006
Timeouts: connection: 90    keep-alive: 5
MPM Name: event
MPM Information: Max Daemons: 8 Threaded: yes Forked: yes
Server Architecture: 64-bit

0 个答案:

没有答案