dubbo Dubbo应用运行一段时间后(服务也在一直被调用、消费),突然Dubbo应用自己调用DubboShutdownHook 停止了应用,

t2a7ltrp  于 2022-10-21  发布在  其他
关注(0)|答案(3)|浏览(995)
  • I have searched the issues of this repository and believe that this is not a duplicate.

Ask your question here

[checkout-service:30881] 2022-01-06 16:39:55.475 INFO 6563 [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent] org.apache.dubbo.registry.nacos.NacosRegistry - [DUBBO] Notify urls for subscribe url provider://xxxx/tech.goose.checkout.api.config.GooseCheckoutFacade?anyhost=false&application=checkout&bind.ip=xxxx
[checkout-service:30881] 2022-01-06 16:40:16.860 INFO 6563 [NettyServerWorker-8-1] o.a.d.remoting.transport.netty4.NettyServerHandler - [DUBBO] The connection of /172.31.7.2:51934 -> /172.31.15.173:20880 is established., dubbo version: 2.7.14, current host: 172.17.0.1
[checkout-service:30881] 2022-01-06 16:40:16.882 INFO 6563 [NettyServerWorker-8-1] o.a.d.remoting.transport.netty4.NettyServerHandler - [DUBBO] The connection of /172.31.7.2:51934 -> /172.31.15.173:20880 is disconnected., dubbo version: 2.7.14, current host: 172.17.0.1
[checkout-service:30881] 2022-01-06 16:40:18.043 INFO 6563 [NettyServerWorker-8-2] o.a.d.remoting.transport.netty4.NettyServerHandler - [DUBBO] The connection of /172.31.37.115:16684 -> /172.31.15.173:20880 is established., dubbo version: 2.7.14, current host: 172.17.0.1
[checkout-service:30881] 2022-01-06 16:40:18.046 INFO 6563 [NettyServerWorker-8-2] o.a.d.remoting.transport.netty4.NettyServerHandler - [DUBBO] The connection of /172.31.37.115:16684 -> /172.31.15.173:20880 is disconnected., dubbo version: 2.7.14, current host: 172.17.0.1
[checkout-service:30881] 2022-01-06 16:40:26.052 INFO 6563 [NettyServerWorker-8-3] o.a.d.remoting.transport.netty4.NettyServerHandler - [DUBBO] The connection of /172.3 1.15.173:52996 -> /172.31.15.173:20880 is established., dubbo version: 2.7.14, current host: 172.17.0.1

[checkout-service:30881] 2022-01-06 16:40:37.183 INFO 6563 [SpringContextShutdownHook] org.apache.dubbo.config.DubboShutdownHook - [DUBBO] Run shutdown hook now., dubbo version: 2.7.14, current host: 172.17.0.1
[checkout-service:30881] 2022-01-06 16:40:37.184 INFO 6563 [SpringContextShutdownHook] org.apache.dubbo.registry.nacos.NacosRegistry - [DUBBO] Unregister: dubbo://xxxxx/tech.goose.checkout.api.pay.GooseCheckoutPayFacade?anyhost=false&application=checkout&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=tech.goose.checkout.api.pay.GooseCheckoutPayFacade&methods=getPaymentMethodList,exchangeRate,pay&pid=6563&release=2.7.14&retries=-1&service.name=ServiceBean:/tech.goose.checkout.api.pay.GooseCheckoutPayFacade&side=provider&timeout=60000&timestamp=1641458393593, dubbo version: 2.7.14, current host: 172.17.0.1
[checkout-service:30881] 2022-01-06 16:40:37.190 INFO 6563 [SpringContextShutdownHook] org.apache.dubbo.registry.nacos.NacosRegistry - [DUBBO] Unsubscribe: provider://xxxxx/tech.goose.checkout.api.pay.GooseCheckoutPayFacade?anyhost=false&application=checkout&bind.ip=xxxxx=20880&category=configurators&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=tech.goose.checkout.api.pay.GooseCheckoutPayFacade&methods=getPaymentMethodList,exchangeRate,pay&pid=6563&qos.enable=false&release=2.7.14&retries=-1&service.name=ServiceBean:/tech.goose.checkout.api.pay.GooseCheckoutPayFacade&side=provider&timeout=60000&timestamp=1641458393593, dubbo version: 2.7.14, current host: 172.17.0.1
[checkout-service:30881] 2022-01-06 16:40:37.190 INFO 6563 [Exporter-Unexport-thread-1] o.a.dubbo.registry.integration.RegistryProtocol - [DUBBO] Waiting 10000ms for registry to notify all consumers before unexport. Usually, this is called when you use dubbo API, dubbo version: 2.7.14, current host: 172.17.0.1
[checkout-service:30881] 2022-01-06 16:40:37.191 INFO 6563 [SpringContextShutdownHook] org.apache.dubbo.registry.nacos.NacosRegistry - [DUBBO] Unregister: dubbo://xxxxx/tech.goose.checkout.api.config.GooseCheckoutFacade?anyhost=false&application=checkout&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=tech.goose.checkout.api.config.GooseCheckoutFacade&methods=savePaymentAccount,getPaymentRadioCurrencies,savePaymentRadio,getPaymentChannelDtos,getPaymentRadio,getPaymentAccountDtos,savePaymentMethod&pid=6563&release=2.7.14&retries=-1&service.name=ServiceBean:/tech.goose.checkout.api.config.GooseCheckoutFacade&side=provider&timeout=60000&timestamp=1641458394436, dubbo version: 2.7.14, current host: 172.17.0.1
[checkout-service:30881] 2022-01-06 16:40:37.198 INFO 6563 [SpringContextShutdownHook] org.apache.dubbo.registry.nacos.NacosRegistry - [DUBBO] Unsubscribe: provider://xxxxx/tech.goose.checkout.api.config.GooseCheckoutFacade?anyhost=false&application=checkout&bind.ip=xxxxx&bind.port=20880&category=configurators&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=tech.goose.checkout.api.config.GooseCheckoutFacade&methods=savePaymentAccount,getPaymentRadioCurrencies,savePaymentRadio,getPaymentChannelDtos,getPaymentRadio,getPaymentAccountDtos,savePaymentMethod&pid=6563&qos.enable=false&release=2.7.14&retries=-1&service.name=ServiceBean:/tech.goose.checkout.api.config.GooseCheckoutFacade&side=provider&timeout=60000&timestamp=1641458394436, dubbo version: 2.7.14, current host: 172.17.0.1
[checkout-service:30881] 2022-01-06 16:40:37.199 INFO 6563 [Exporter-Unexport-thread-1] o.a.dubbo.registry.integration.RegistryProtocol - [DUBBO] Waiting 10000ms for registry to notify all consumers before unexport. Usually, this is called when you use dubbo API, dubbo version: 2.7.14, current host: 172.17.0.1
[checkout-service:30881] 2022-01-06 16:40:37.199 INFO 6563 [SpringContextShutdownHook] o.a.dubbo.registry.support.AbstractRegistryFactory - [DUBBO] Close all registries [nacos://xxxxx:8848/org.apache.dubbo.registry.RegistryService?application=checkout&check=false&dubbo=2.0.2&id=panel&interface=org.apache.dubbo.registry.RegistryService&password=xxx&pid=6563&qos.enable=false&release=2.7.14&timestamp=1641458393592&username=nacos, nacos://xxxxxxxxxxxxxxx/org.apache.dubbo.registry.RegistryService?application=checkout&check=false&dubbo=2.0.2&id=k8s&interface=org.apache.dubbo.registry.RegistryService&password=xxx&pid=6563&qos.enable=false&release=2.7.14&timestamp=1641458393587&username=xxx], dubbo version: 2.7.14, current host: 172.17.0.1

u59ebvdq

u59ebvdq1#

这应该不会是dubbo自己调用的,是java进程遇到错误退出了,然后才调用的dubbo hook函数,建议仔细检查一下是否有错误日志

epfja78i

epfja78i2#

不是的,错误日志文件里面都没有记录输出

bsxbgnwa

bsxbgnwa3#

不是的,错误日志文件里面都没有记录输出

能构建一个可复现的demo吗

相关问题