疑难杂症

Linux运维常用问题处理 收集
4 天前

Elasticsearch 集群的分片总数达到了上限(1000 个),无法再创建新索引

疑难杂症  

报错信息 status=400: validation_exception this action would add [2] total shards, but this cluster currently has [1000]/[1000] maximum shards open 解决方案 # 1. 查看当前索引和分片占用情况 curl -s 'http://ES_HOST:9200/…

1 年前

cifs文件系统上遇到file lock

疑难杂症  

使用场景 把NAS共享,挂载到Linux上,cifs格式,然后将svn检出到共享,希望定时把共享的资源上传到SVN 在共享目录中拉取SVN时报错 svn: E200033: Another process is blocking the working copy database, or the underlying filesystem does not support file locking…

2 年前

内网服务器偶现网络异常的问题解决办法

疑难杂症  

业务场景 内网服务器端口正常监听,ping正常,偶现socket连接失败,没有回包 解决办法 关闭net.ipv4.tcp_timestamps 关于net.ipv4.tcp_timestamps 详解 net.ipv4.tcp_timestamps 是Linux内核中开启TCP时间戳选项的内核参数,默认值为1(开启)。 开启后TCP报文会携带时间戳,核心作用是实现TCP窗口扩大和防止序列号回绕(…