Created attachment 1375 [details] 卡顿bug详情 Manufacturer: LENOVO Product Name: ThinkSystem ST45 V3 使用了AMD和Inter的两款CPU,尝试了龙蜥8.9和8.10,均出现这个问题。其中龙蜥8.10尝试了anck-5.10和rhck-4.18两款内核。均有此问题。最终变更系统为银河麒麟V10,问题解决。 1.直接访问后端,无故障,可以一直循环请求。 while true; do curl http://127.0.0.1:8405/api/org/enterpriseaccountnoauth/geticp?enterprise_code=dda49c8f984d49e4a1ac0eb205bc771b; done 2.nginx配置 listen 80 location ~ /api/org { proxy_pass http://localhost:8405; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection keep-alive; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } 循环调用nginx代理,出现问题。无论是编译安装nginx,还是rpm安装nginx,使用epoll事件请求或poll事件请求都会卡住。最后只能更换麒麟OS,问题解决。 while true; do curl http://127.0.0.1/api/org/enterpriseaccountnoauth/geticp?enterprise_code=dda49c8f984d49e4a1ac0eb205bc771b; done 调用卡顿,使用strace跟踪,发现系统调用会频繁自动卡顿在epoll或poll事件。具体详情,见附件。