Skip to content

Instantly share code, notes, and snippets.

@jacking75
Last active December 21, 2023 09:18
Show Gist options
  • Save jacking75/7f45ed006cecaffd44b95049a5f8611c to your computer and use it in GitHub Desktop.
Save jacking75/7f45ed006cecaffd44b95049a5f8611c to your computer and use it in GitHub Desktop.

리눅스 설정 확인할 것

서버를 사용 전에 ulimit와 prelimit 값을 최적화 한다

머신의 리소스 사용 한계 보기와 설정은 ulimit로 한다
그러나 위와 별도로 프로세스 별로 리소스 사용한도가 다르다
프로세스 별로는 prlimit 명령어로 사용한다.

아래는 SubProxy 라는 이름이 붙는 프로세스의 최대 오픈 파일 수를 65535로 늘리고 있다

prlimit --nofile=65535 --pid=`pgrep -f SubProxy`

영상 강의


기본 사용

Shell

Ubuntu

CentOS, Rocky

활용

ssh

Server Network

System Util

Rsync

systemd

Tmux

sftp

rsyslog

유틸리티

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment