Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HikariPool-1 - Unusual system clock change detected, soft-evicting connections from pool

Tags:

hikaricp

My application use Spring boot and hikaricp. It occurs this errors: HikariPool-1 - Unusual system clock change detected, soft-evicting connections from pool

Please help me fix it!

like image 711
user2862013 Avatar asked Oct 17 '25 03:10

user2862013


1 Answers

Two recommendations. One, make sure you are using the latest version of HikariCP. Two, configure the computer to sync time from a NTP server.

Newer versions of HikariCP will only evict connections when backward time motion is detected. But will still log a warning for large forward leaps. Large forward leaps often occur on laptops that go into sleep mode or VMs that are suspended and resumed.

like image 172
brettw Avatar answered Oct 19 '25 11:10

brettw



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!