乳扇
ELK学习笔记之Noshardavailable报错
0x00 概述
研发反馈skywalking突然⽆法使⽤,查看⽇志发现
2020-10-1914:25:32,712 - org.apache.llector.cache.caffeine.rvice.ServiceNameCacheCaffeineService -82494825 [grpc-default-executor-149] ERROR [] - No shard available for [get [rvice_name][type][-87]: routing [ org.elasticarch.action.NoShardAvailableActionException: No shard available for [get [rvice_name][type][-87]: routing [null]]
傍晚的近义词at org.elasticarch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.perform(TransportSingleShardAction.java:209) ~[elasticarch-5.5.0.jar:5.5.0]
at org.elasticarch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.start(TransportSingleShardAction.java:186) ~[elasticarch-5.5.0.jar:5.5.0]
汗字组词
兴奋的拼音是什么at org.elasticarch.action.support.single.shard.TransportSingleShardAction.doExecute(TransportSingleShardAction.java:95) ~[elasticarch-5.5.0.jar:5.5.0]
at org.elasticarch.action.support.single.shard.TransportSingleShardAction.doExecute(TransportSingleShardAction.java:59) ~[elasticarch-5.5.0.jar:5.5.0]
at org.elasticarch.action.support.TransportAction.doExecute(TransportAction.java:146) ~[elasticarch-5.5.0.jar:5.5.0]
公羊兔at org.elasticarch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:170) ~[elasticarch-5.5.0.jar:5.5.0]
at org.elasticarch.action.ute(TransportAction.java:142) ~[elasticarch-5.5.0.jar:5.5.0]
错误关键字 No shard available for
后汉书的作者
0x01 磁盘写满
经过搜索发现,该类报错⼀般是磁盘慢导致的,通过命令df -h发现,存储数据/data⽬录使⽤量正常,但是es7的安装⽬录/app已经写满;
排查发现,安装⽬录内es7的⽇志⽂件过多,导致/app⽬录被写满,删除部分过期⽇志后,集群恢复正常;
0x02 总结
除了ES数据存储⽬录需要保持⾜够的使⽤空间,ES⾃⼰的运⾏⽇志也需要有⾜够的磁盘空间,以上两个任意1个磁盘空间满了,都会包磁盘不⾜的错误;
注意在es有⼤量业务的情况下,es⾃⾝也会产⽣⼤量⽇志,需要注意磁盘清理或者配置监控。
自制营养土>年会游戏