我在IBM云上有一个节点应用程序,它每次都会崩溃,而且大部分时间它没有运行,我甚至将每个实例的内存增加到一个gb,我如何诊断哪里问题是?这是我的manifest.yml。因此,我必须不断检查应用程序并进行手动重启
applications:
- instances: 1
timeout: 600
name: TicketSokoChatbot
buildpack: sdk-for-nodejs
command: npm start
memory: 1024M
random-route: true
这是错误:
an instance of the app crashed: Instance never healthy after 1m0s: Failed to make TCP connection to port 8080: connection refused; process did not exit