标签: not-responding

Apache 随机停止提供 HTTPS,但 HTTP 工作正常

我们在 Windows Server 2012 上有这个 Apache:

Server version: Apache/2.4.9 (Win32) Apache Lounge VC10 Server built: Mar 17 2014 10:48:43

大多数情况下,它运行良好,但有时(随机,每周 cca 3-4 次),它停止在端口 443 上提供 HTTPS,但继续在端口 80 上提供 HTTP。当它停止提供 HTTPS 时,解决问题的唯一方法是重新启动 Apache。

这似乎与这里的问题完全相同:Apache 停止响应 http 请求——https 继续工作,除了在我们的例子中是 HTTPS 停止工作,而 HTTP 是一直工作的那个。

我们启用了 trace6 级别的详细信息,以获取有关正在发生的事情的一些好的信息。但是,日志是空的:

...
[Sat Mar 21 07:51:50.577373 2015] [ssl:debug] [pid 3356:tid 2540] ssl_engine_io.c(999): [client ...:16529] AH02001: Connection closed to child 137 with standard shutdown (server ...:443)
[Sat Mar 21 07:54:21.936742 2015] [ssl:info] [pid 4760:tid 432] AH01914: …
Run Code Online (Sandbox Code Playgroud)

http https not-responding windows-server-2012 apache-2.4

6
推荐指数
1
解决办法
8990
查看次数

在短暂而强烈的“流量浪潮”之后,Apache 没有响应并且没有任何记录

我的 apache 以 0.05 的服务器负载持续提供大约 300 个请求/秒(2 兆字节/秒)的服务。

问题是,我的服务架构导致在特定时刻获得巨大流量(例如 300-500 人在几秒钟内被重定向到某个使用 JavaScript 的页面)。

在如此短的流量跳跃之后,apache 变得无响应(在 firefox 中大约 30 秒后连接重置)而没有记录任何内容。Apache 被冻结,直到 apache2 重新启动程序。

冻结时,它甚至无法在没有 PHP 或 SQL 连接的情况下提供简单的 HTML 文件(但存在 apache2 进程)

我尝试了不同的 prefork 设置,从 50 到近 1000 个空闲工人,最大客户端限制为 10000,但没有任何帮助。

除了不记录任何内容之外的另一个症状是,在冻结前的那一刻,apache 状态模块显示(在它变得无响应之前的最后一次)几乎每个进程都在等待连接:

__R_R_______R__RR______R___R________________RR_______R______R___
_________R__________R_________________________R________CR___R___
___________R__________________________C__WR__R________________R_
Run Code Online (Sandbox Code Playgroud)

但在正常的、不那么繁重的工作中,它显示:

C___R___K_C___C___C_____KK______R___C_C_R______C__K___C________K
____C__KR_RR__C___K___KK_C__R__K__C_CK__RC___CR___R__K__C__R____
___KR____C_____R______R______K__R_______KC__C_K__R____C_______R_
Run Code Online (Sandbox Code Playgroud)

syslog 也没有给出任何内容。我的机器有 64GB 内存,从不超过 0.1 的负载

not-responding apache-2.2

5
推荐指数
1
解决办法
8491
查看次数

服务器停止响应

突然没有明显的原因,我的服务器停止响应。这就是我在 /var/log/messages 中找到的内容 它是什么?

    Apr 29 13:40:47 stephan kernel: ------------[ cut here ]------------
    Apr 29 13:40:47 stephan kernel: WARNING: at lib/list_debug.c:56 __list_del_entry+0x82/0xd0()
    Apr 29 13:40:47 stephan kernel: Hardware name: S5520SC
    Apr 29 13:40:47 stephan kernel: list_del corruption. next->prev should be ffff880c86f92000, but was ffff880c86f92800
    Apr 29 13:40:47 stephan kernel: Modules linked in: nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack iptable_filter ip_tables bonding ip6t_REJECT nf_conntrack_ipv6 nf_defr$
    Apr 29 13:40:47 stephan kernel: Pid: 66, comm: kswapd1 Not tainted 3.0.0+ #1
    Apr 29 13:40:47 stephan kernel: Call …
Run Code Online (Sandbox Code Playgroud)

linux centos not-responding

2
推荐指数
1
解决办法
1742
查看次数