使用Lighttpd V1.4.54 + openssl V1.1.1g观察到GUI缓慢

问题描述

我们将Lighttpd V1.4.54与OpenSSL V1.1.1g一起用于我们的接入点GUI。登陆第一页(仪表盘)时观察到GUI缓慢。在Lighttpd中启用以下配置以获取更多详细信息。

server.errorlog,accesslog.filename,debug.log-request-handling.


It is observed that more than 100 sock fd in the listening state and gets accepted in fdevent_accept_listenfd() from connection_accept() in the network_server_handle_fdevent().

所有连接请求进入读取状态,并在一段时间后进入错误状态(来自Lighttpd调试日志)。

发布时,来自Web浏览器的Inspect element(f12)显示有限的请求。

日志摘要以供参考:

2020-10-23 09:30:13: (connections.c.1313) state at exit: 13 handle-req 
2020-10-23 09:30:13: (connections.c.1236) state at enter 14 req-start 
2020-10-23 09:30:13: (connections.c.1244) state for fd 14 req-start 
2020-10-23 09:30:13: (connections.c.1244) state for fd 14 read 
2020-10-23 09:30:13: (connections.c.1313) state at exit: 14 read 
2020-10-23 09:30:13: (connections.c.1236) state at enter 15 req-start 
2020-10-23 09:30:13: (connections.c.1244) state for fd 15 req-start 
2020-10-23 09:30:13: (connections.c.1244) state for fd 15 read 
2020-10-23 09:30:13: (connections.c.1313) state at exit: 15 read 
2020-10-23 09:30:13: (connections.c.1236) state at enter 17 req-start 
2020-10-23 09:30:13: (connections.c.1244) state for fd 17 req-start 
2020-10-23 09:30:13: (connections.c.1244) state for fd 17 read 
2020-10-23 09:30:13: (connections.c.1313) state at exit: 17 read 
2020-10-23 09:30:13: (connections.c.1236) state at enter 18 req-start 
2020-10-23 09:30:13: (connections.c.1244) state for fd 18 req-start 
2020-10-23 09:30:13: (connections.c.1244) state for fd 18 read 
.
.
.
2020-10-23 09:31:02: (connections.c.1313) state at exit: 132 read 
2020-10-23 09:31:02: (connections.c.1236) state at enter 133 req-start 
2020-10-23 09:31:02: (connections.c.1244) state for fd 133 req-start 
2020-10-23 09:31:02: (connections.c.1244) state for fd 133 read 
2020-10-23 09:31:02: (connections.c.1313) state at exit: 133 read 
2020-10-23 09:31:02: (connections.c.1236) state at enter 134 req-start 
2020-10-23 09:31:02: (connections.c.1244) state for fd 134 req-start 
2020-10-23 09:31:02: (connections.c.1244) state for fd 134 read 
2020-10-23 09:31:02: (connections.c.1313) state at exit: 134 read

数据包捕获显示了这段时间内浏览器和Lighttpd之间连续的Client Hello,Server Hello和Change Cipher Spec数据包。 Lighttpd V1.4.45 + OpenSSL V1.1.1g不会发生相同的问题

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)