canal 启动会过段时间后无缘无故自动停掉
example.log
2024-01-26 19:50:25.715 [Thread-6] INFO c.a.otter.canal.instance.core.AbstractCanalInstance - stop CannalInstance for null-example
2024-01-26 19:50:25.782 [Thread-6] INFO c.a.otter.canal.instance.core.AbstractCanalInstance - stop successful....
canal.log
2024-01-26 19:50:25.708 [Thread-6] INFO com.alibaba.otter.canal.deployer.CanalStarter - ## stop the canal server
2024-01-26 19:50:25.709 [Thread-7] INFO c.a.o.c.c.rabbitmq.producer.CanalRabbitMQProducer - ## Stop RabbitMQ producer##
2024-01-26 19:50:25.782 [Thread-6] INFO com.alibaba.otter.canal.deployer.CanalController - ## stop the canal server[172.16.0.236(172.16.0.236):11111]
2024-01-26 19:50:25.787 [Thread-6] INFO com.alibaba.otter.canal.deployer.CanalStarter - ## canal server is down.
Canal在解析binlog时可能会消耗大量内存,如果配置的JVM堆内存过小,可能导致OOM(Out Of Memory)错误。检查canal-server启动日志以及系统日志中是否有相关异常信息,并尝试适当增大JVM堆内存。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。