티스토리 뷰
커스터마이징을 해보자...
vim /etc/sysctl.conf
fs.file-max = 65535
일시적인 방법
ulimit -n 65535
리부팅 해야 함 밑에껀
vi /etc/security/limits.conf
nginx soft nofile 10000
nginx hard nofile 30000
vi /usr/local/nginx/conf/nginx.conf
# set open fd limit to 30000
worker_rlimit_nofile 30000;
# nginx -t
2010/11/01 17:07:46 [info] 9520#0: the configuration file /etc/nginx/nginx.conf syntax is ok
2010/11/01 17:07:46 [info] 9520#0: the configuration file /etc/nginx/nginx.conf was tested successfully
/etc/init.d/nginx restart
참고
http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=talkbox&wr_id=1049836
'Linux' 카테고리의 다른 글
httpd.conf (아파치 설정 옵션) 정리 (0) | 2015.06.12 |
---|---|
로컬 백업스크립트 예제 (tar) (0) | 2015.06.12 |
httperf (웹 성능 퍼포먼스 테스팅) (0) | 2015.06.12 |
mod_url 장애건 (FLOODING 루프현상) (0) | 2015.06.12 |
[alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of (0) | 2015.06.12 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- OpenVPN
- 리눅스
- IPSEC
- galera
- pptp
- HAProxy
- ntp
- kvm
- 베이어다이나믹
- WAF
- cURL
- php
- MySQL
- 인증서
- softether
- GeoIP
- NGINX
- ssh
- mariadb
- L2TP
- centos8
- glusterfs
- yum
- Apache
- iptables
- gitlab
- centOS7
- mod_security
- SSL
- virtualbox
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함