You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/07/22 06:14:33 UTC

[GitHub] [dubbo-go] wangxw666 opened a new issue #1337: shutdown signal with SIGHUP

wangxw666 opened a new issue #1337:
URL: https://github.com/apache/dubbo-go/issues/1337


   ```
   ShutdownSignals = []os.Signal{
   		os.Interrupt, os.Kill, syscall.SIGKILL,
   		syscall.SIGHUP, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGILL, syscall.SIGTRAP,
   		syscall.SIGABRT, syscall.SIGTERM,
   	}
   ```
   
   如果通过xshell终端,启动一个后台的进程。当关闭终端时会发送SIGHUP信号,导致dubbo-go执行了shutdown操作。这种场景是否合理?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] wangxw666 closed issue #1337: shutdown signal with SIGHUP

Posted by GitBox <gi...@apache.org>.
wangxw666 closed issue #1337:
URL: https://github.com/apache/dubbo-go/issues/1337


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] LaurenceLiZhixin commented on issue #1337: shutdown signal with SIGHUP

Posted by GitBox <gi...@apache.org>.
LaurenceLiZhixin commented on issue #1337:
URL: https://github.com/apache/dubbo-go/issues/1337#issuecomment-884700570


   是合理的,当Dubbogo 获取该signal后,会执行优雅下线相关的操作,例如unregister


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org