hezean / sustc

Template for project 2 of SUSTech Principles of Database Systems (CS307 / CS213), 23 fall semester.
http://172.18.34.154
MIT License
22 stars 9 forks source link

Why the HikariPool-1 - Connection is not available #77

Closed alkane7 closed 8 months ago

alkane7 commented 8 months ago

Related module

Database

What happened

image

What you expected to happen

When I start benchmark, it will show this message. How can I solve it? Thank u!

How to reproduce

No response

Anything else

No response

sses7757 commented 8 months ago

@alkane7 It may be caused by several reasons. I can only list a few here according to my limited experience. If none of them works, you may consult TA or SA at lab class.

  1. Database connection configuration at application.yml is incorrect or your user do not have enough privileges.
  2. Forgetting to release connections or similar resources. The HikariPool is limited to 10 connections.
  3. Your created database has a smaller connection limitation.
sses7757 commented 8 months ago

@alkane7 If you still have this error, you may continue to discuss this framework issue in discussion #83 together with other students with similar problems.