在 100% CPU 加载下锁定
作者: ollm创建于 2021年12月22日更新于 2025年7月31日
标签bugawaiting feedback
Hi. During the last month, I am having a problem with running a Ratchet server in a production environment. Suddenly, the process goes from normally using 0-1% of a CPU core to 98-100%, the websocket server still working but it takes longer to respond. This happens in a variety of ways, sometimes it takes a few hours to happen and others it takes days/weeks. When it enters this state, it does not exit again until I kill the process and supervisor starts a new one. I am also checking the logic of my application so that it is not a problem on my part.
内容来源: ratchetphp/Ratchet