Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 오블완
- 티스토리챌린지
- intellij
- jar 배포
- pinpoint
- 개발 어렵당.ㅠ
- formik
- 노드간 통신
- ㅉ때
- Ingress Controller Fake
- hbase 저장공간 설정
- save/update
- 플루터
- UnsupportedOperationException
- Loki 로그
- Armeria
- 월급루팡 일지
- LPOS
- OIDC
- 7879
- fake jwt
- pinpoint 2.5.3
- R2DBC Paging
- 애자일 싫타
- reids
- jsonMarshaller
- RedirectService
- nGinder
- 핀포인트
- 논블록킹 성능
Archives
- Today
- Total
대머리개발자
Possibly consider using a shorter maxLifetime value. 본문
728x90
실상 예외는 아니고 경고다.
개발서버에서 해당 로그가 계속 로깅되고 있어서 확인!s
DB의 wait_timeout 보다 짧게 설정하면 된다고 하는데 계속해서 해당 로그가 발생한다.
설정을 시도 하는 과정에서 몇 가지 삽질..
히카리의 maxLifeTime은 아래와 같이 5분 미만이면 기본값으로 설정된다.
: HikariPool-1 - maxLifetime is less than 30000ms, setting to default 1800000ms.
빠른 테스트를 하려고 설정을 낮게 해보려다...왜 설정이 안 먹는지 부터해서 삽질 작렬!!
wait_timeout을 전역으로 설정할수 없다면 세션으로 설정 가능!!
hikari:
max-lifetime: 305000
##idle-timeout: 10000
connection-timeout: 10000
validation-timeout: 10000
connection-init-sql: set wait_timeout = 320
OK!
connection has passed maxLifetime
thanks a lot
https://jaehoney.tistory.com/337
HikariCP 커넥션 누수 해결기 (Session wait_timeout 적용!)
HikariCP 커넥션 누수 해결기 (Session wait_timeout 적용!) 아래의 에러가 뜨면서 커넥션 연결이 실패하는 이슈가 발생했다. the last packet successfully received from the server was 30,035 milliseconds ago. 조금더 로그를
jaehoney.tistory.com
728x90
'개발이야기 > 예외' 카테고리의 다른 글
jpa 다중 DB 설정 시 마주하는 오류 (1) | 2024.04.08 |
---|---|
http1.1 get은 브라우저가 캐쉬를 하네.ㅎㄷㄷ (0) | 2023.11.01 |
[레디스] ERR unknown command `LPOS` (0) | 2023.10.13 |
간만에 mybatis 힘들구만 (1) | 2023.10.10 |
Jasypt 복호화 이슈 (In centos7) (0) | 2023.09.11 |