Node.js app has periodic slowness and/or timeouts (does not accept incoming requests)

前端 未结 7 464
眼角桃花
眼角桃花 2021-01-30 02:08

This problem is killing the stability of my production servers.

To recap, the basic idea is that my node server(s) sometimes intermittently slow down, sometimes resultin

7条回答
  •  野的像风
    2021-01-30 03:04

    Is "--nouse-idle-connection" a mistake? do you really mean "--nouse_idle_notification".

    I think it's maybe some issues about gc with too many tiny objects. node is single process, so watch the most busy cpu core is much important than the load. when your program is slow, you can execute "gdb node pid" and "bt" to see what node is busy doing.

提交回复
热议问题