cpu 占用爆满,网页无法正常关闭 #588
yyhgithup0
started this conversation in
Show and tell
Replies: 1 comment 4 replies
-
"其中的一个cpu核" 是服务器还是用户端? 你的pywebio应用的逻辑里是不是包含了 while True 死循环? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
您好,我使用的是阿里云的2核2g的云服务器,把pywebio放在上面运行,过几天后有人用基本上会出现 其中的一个cpu核 占用爆满,后台查看后发现是有些网页无法正常关闭(我猜是因为某些原因导致cpu爆满,然后才使得网页无法正常关闭)。想问一下 如果我想设置成网页链接时间限制比如1小时,到时间就强制关闭该网页,以尝试解决cpu爆满问题,请教一下 该怎么设置,谢谢
Beta Was this translation helpful? Give feedback.
All reactions