微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决使用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 举报,一经查实,本站将立刻删除。