supervisor中的minfds及minprocs参数用途
使用supervison启动es时,总是启动失败,报
ERROR: [1] bootstrap checks failed [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
需要在/etc/supervisord.conf配置中修改
minfds= …
使用supervison启动es时,总是启动失败,报
ERROR: [1] bootstrap checks failed [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
需要在/etc/supervisord.conf配置中修改
minfds= …
$ vim ~/.tmux.conf
set -g prefix C-a
unbind C-b
bind C-a send-prefix
set-window-option -g automatic-rename off
set-option -g allow-rename off
1.查看prefix现有绑定键:
tmux show-options -g | grep prefix
2.要 …
…1、首先,得定位问题,查,到底是哪些进程或线程打开了大量的连接(scoket)没有关闭
lsof -n | awk ‘{print $2}’ | sort | uniq -c | sort -nr | more
3、查看当前进程相关的连接
lsof | grep pid
4、jps查看当前java进程的状态
jps
5、查看当前进程属于哪个应用
ps -ef | grep …
查看版本 lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
备份 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
需要修改bionic …
…行末:$
行首:^
空格:\s
行末空格:\s+$
行首空格:^\s+
删除行尾多个空格 : %s/\s+$//g
删除行首多个空格 : %s/^ +//g
删除空行::g/^$/d
set fenc=utf-8
set fencs=utf-8,usc-bom,euc-jp,gb18030,gbk,gb2312,cp936
set nocompatible
set history=50 …