我有一个使用express和redis的节点应用程序.在我们的开发服务器上,经过一些使用后节点开始使用100%的cpu.应用程序仍然响应,但top报告节点使用100%.在重新启动节点之前,cpu不会丢弃.
我没有把它钉在导致它的任何特定路线或功能上.
诊断此问题的最佳方法是什么?
我用v8-profiler查看了node-inspector,它给了我同样的错误,这里报告了 https://github.com/dannycoates/v8-profiler/issues/10
debugging node.js express
debugging ×1
express ×1
node.js ×1