一直在尝试把一个小型 Node.js 服务部署到一台便宜的 VPS 上,但一直遇到一个奇怪的问题:应用在本地运行正常,但在服务器上几分钟后会随机停止响应。没有崩溃日志,CPU 和 RAM 看起来也正常。有人遇到过类似情况或知道我应该先检查什么吗?
Original
Been trying to deploy a small Node.js service on a cheap VPS and keep hitting a weird issue: the app runs fine locally, but on the server it randomly stops responding after a few minutes. No crash logs, CPU and RAM look normal. Anyone run into something similar or know what I should check first?