- 博客(3)
- 收藏
- 关注
原创 linux句柄问题(too many open file)
系统设置的最大文件句柄数 ulimit -n,是默认值1024 临时:ulimit -n 655350 永久设置: vim /etc/security/limits.conf 在最后加入 soft nofile 655350 hard nofile 655350 查看 ulimit -a ulimit -n 655350 vim /etc/security/limits.conf 在最后加入 soft nofile 655350 hard nofile 655350 vim /etc/sec
2020-05-24 17:37:58
566
原创 Elasticsearch线程池调整
1、临时调整线程池 curl -XPUT ‘192.168.2.24:9201/_cluster/settings’ -d ‘{ “transient”: { “threadpool.index.type”: “fixed”, “threadpool.index.size”: 1000, “threadpool.index.queue_size”: 10000 } }’
2020-05-24 17:34:51
1266
原创 Elasticsearch分片修复
一、分片修复 // 查看es健康值 curl -XGET http://192.168.2.24:9201/_cluster/health?pretty // 查看es集群信息 curl ‘192.168.2.24:9201/_nodes/process?pretty’ // 查看UNASSIGNED分片状态信息 curl -XGET http://192.168.2.24:9201/_cat/shards|grep UNASSIGNED // 处理UNASSIGNED分片 curl -XPOST ‘192
2020-05-24 17:32:14
853
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅