io.lettuce.core.RedisCommandExecutionException: MISCONF Errors writing to the AOF file: No space lef

异常信息:

Caused by: io.lettuce.core.RedisCommandExecutionException: MISCONF Errors writing to the AOF file: No space left on device
        at io.lettuce.core.ExceptionFactory.createExecutionException(ExceptionFactory.java:135)
        at io.lettuce.core.ExceptionFactory.createExecutionException(ExceptionFactory.java:108)
        at io.lettuce.core.protocol.AsyncCommand.completeResult(AsyncCommand.java:120)
        at io.lettuce.core.protocol.AsyncCommand.complete(AsyncCommand.java:111)
        at io.lettuce.core.protocol.CommandHandler.complete(CommandHandler.java:646)
        at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:604)
        at io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:556)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)

 

问题原因就是服务器磁盘空间不足

在根目录下执行:du --max-depth=1 -h 命令,查询每个占用的空间io.lettuce.core.RedisCommandExecutionException: MISCONF Errors writing to the AOF file: No space lef_第1张图片

可以看到home 目录占用的18g,最终查找是nacos的日志占用了15g,清空日志文件,问题解决

由于nacos 的conf目录下的nacos-logback.xml日志配置文件配置的文件总大小很大,该小就可以了

你可能感兴趣的:(问题记录)