tengine
tengine copied to clipboard
kernel: dh895xcc 0000:60:00.0: Process nginx exit with orphan rings
Ⅰ. Issue Description
QAT_Engine-1.5.0 ,QAT驱动:QAT.L.4.23.0-00001,OpenSSL 1.1.1w
./sbin/nginx -c ./conf/nginx.conf
pstack 19641
Thread 2 (Thread 0x7f37d49b5700 (LWP 19642)):
#0 0x00007f37d7ee34ed in __lll_lock_wait () from /lib64/libpthread.so.0
#1 0x00007f37d7ededcb in _L_lock_883 () from /lib64/libpthread.so.0
#2 0x00007f37d7edec98 in pthread_mutex_lock () from /lib64/libpthread.so.0
#3 0x00007f37d68806cf in qat_timer_poll_func (ih=
Ⅱ. Describe what happened
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
- If applicable, add nginx debug log doc.
Ⅵ. Environment:
- Tengine version (use
sbin/nginx -V
): Tengine version: Tengine/2.4.0 nginx version: nginx/1.22.1 built by gcc 4.8.5 built with OpenSSL 1.1.1w 11 Sep 2023 TLS SNI support enabled configure arguments: --prefix=/home/test/third/tengine --with-openssl-async --with-openssl=/usr/local/openssl - OS (e.g. from /etc/os-release): CentOS Linux release 7.5
- Kernel (e.g.
uname -a
): 5.10 - Others:
这个stack不完整,退出的信号量?
还有exit具体指的是core dump ?
如果是core了 提供完整的stack trace以及debug级别的error log。
这个stack不完整,退出的信号量?
还有exit具体指的是core dump ?
如果是core了 提供完整的stack trace以及debug级别的error log。
没有core, 卡在__lll_lock_wait函数这里了,并且/var/log/messages出现nginx exit with orphan rings日志。
@lianglli 上面这个问题可稳定复现,启动tengine就会卡主。辛苦帮忙看下或者复现哪里异常导致的?
参考一下:Ice Lake SSL/TLS加速实践 https://openanolis.cn/sig/crypto/doc/390714951012679780
参考一下:Ice Lake SSL/TLS加速实践 https://openanolis.cn/sig/crypto/doc/390714951012679780
@lianglli 卡在问题看着是qat engine代码问题。辛苦看下https://github.com/alibaba/tengine/issues/1932 这个问题。