Skip to content

pm2发送重启信号后项目依然没有重启 #1202

@274153705

Description

@274153705

DESC

ENV

OS Platform:

Node.js Version:

ThinkJS Version:

code

pm2 sendSignal SIGUSR2 pm2.json

error message

PM2 error: Unknown process name

more description

按照官方文档的项目重启,发送SIGUSR2信号到项目里面,但是还是重启不了,pm2.log显示如下

PM2        | [2018-06-30 04:28:31] PM2 log: App [sf_answer] with id [1] and pid [7995], exited with code [0] via signal [SIGINT]
PM2        | [2018-06-30 04:28:31] PM2 log: pid=7995 msg=process killed
PM2        | [2018-06-30 04:28:31] PM2 log: Starting execution sequence in -fork mode- for app name:sf_answer id:1
PM2        | [2018-06-30 04:28:31] PM2 log: App name:sf_answer id:1 online
PM2        | [2018-07-02 16:14:05] PM2 error: Unknown process name

出现了一个错误

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions