Skip to content

Conversation

@danielbotros
Copy link
Member

No description provided.

s.logger.Infof("Stopping %s", SubsysName)

// Send SIGUSR1 first to request stack trace dump before shutdown.
if err := utils.SignalForStackTrace(s.cmd.Process.Pid); err != nil {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realize this PR is in draft, but just a note that we'll only want to send SIGUSR1 if a restart of the part was requested from app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants