티스토리 뷰
반응형
I needed to edit /usr/lib/systemd/system/mysqld.service
and add
LimitNOFILE=infinity
LimitMEMLOCK=infinity
Then run systemctl daemon-reload
and systemctl restart mysql.service
.
Now the variable is capped at 65536
for some reason unknown, but I can live with that for now.
Found this at http://unix.stackexchange.com/questions/152186/mysql-max-open-files-more-than-1024#answer-157910
출처: http://dba.stackexchange.com/questions/86987/mysql-open-files-limit-cannot-change-this-variable
ulimit 명령도 필요없는 듯...
반응형
'Database > MySQL' 카테고리의 다른 글
[MySQL] 원격지 접속 설정 (0) | 2016.12.19 |
---|---|
[MySQL] 테이블 생성 및 계정 할당 (0) | 2016.12.19 |
[MySQL] password 변경 (0) | 2016.12.19 |
[MySQL] mysql consol 연결 (0) | 2016.12.19 |
[MySQL] error 2006 - MySQL server has gone away (0) | 2016.10.11 |
댓글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Ignoring CMAKE_OSX_SYSROOT value
- CMAKE_OSX_SYSROOT
- noipath
- 센트6
- lvremove
- _stats
- fielddata=true
- virtualbox
- vgcreate
- firewall-cmd service
- linux
- CLion
- update
- aix compile
- yum
- aix ld
- _status
- 디스크 추가
- 파티션 추가
- postgresql11
- pfctl
- fielddata
- lvm 늘리기
- pf.anchors
- firewalld
- mirrorlist
- ld 옵션
- install
- physicaldisk
- 물리디스크
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
글 보관함