lisk-sdk: error: Forever detected script was killed by signal: SIGKILL

Received error error: Forever detected script was killed by signal: SIGKILL

While synchronizing with network. Occurs randomly with first release of 0.2 testnet.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 22 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Just encountered this issue. Dropping the -w flag seems to have fixed it. Hope this gives clues to what could be causing it.

Just encountered this issue. Dropping the -w flag seems to have fixed it. Hope this gives clues to what could be causing it.

We were getting this error too and could fix it by dropping -w, but we later realised that we actually did a silly mistake of keeping our Forever logs in the same folder as our project files and obviously Forever started and wrote into log files and that means log file changed and Forever was watching it treating it as a project file so if it changes, it will restart the node. It’s probably a silly mistake but I thought I will mention it here anyways so that others don’t have forever logs or other logs/files which will change when project is running, but it’s not a project file so shouldn’t lead to restarting the node and project itself.

Just came here to say that this was exactly my issue. Consider adding a .foreverignore (identical to .gitignore) to your app directory.

Just encountered this issue. Dropping the -w flag seems to have fixed it. Hope this gives clues to what could be causing it.

We were getting this error too and could fix it by dropping -w, but we later realised that we actually did a silly mistake of keeping our Forever logs in the same folder as our project files and obviously Forever started and wrote into log files and that means log file changed and Forever was watching it treating it as a project file so if it changes, it will restart the node. It’s probably a silly mistake but I thought I will mention it here anyways so that others don’t have forever logs or other logs/files which will change when project is running, but it’s not a project file so shouldn’t lead to restarting the node and project itself.

Hello until now i still meet this error with nodejs: error: Forever detected script was killed by signal: SIGKILL How to fix it?