Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? #3978

Closed
2 tasks done
hmortensen2 opened this issue Nov 4, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@hmortensen2
Copy link

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

Get this error on some of my devices. Seems to be a problem with the ping call from uptime kuma. Please investigate.

👟 Reproduction steps

Occurs in my running of uptime kuma

👀 Expected behavior

successful ping

😓 Actual Behavior

error message as above

🐻 Uptime-Kuma Version

Version: 1.19.6

💻 Operating System and Arch

docker

🌐 Browser

Version 118.0.5993.120

🐋 Docker Version

dont know

🟩 NodeJS Version

don't know

📝 Relevant log output

AP Third FLoor New	Down	2023-11-04 14:10:29	Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
ovif ip camera	Down	2023-11-04 14:10:29	Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
pfsense	Down	2023-11-04 14:10:22	Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
nas 1	Down	2023-11-04 14:10:21	Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
AP Third FLoor New	Up	2023-11-04 14:02:28	
AP Third FLoor New	Down	2023-11-04 13:59:12	Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
ovif ip camera	Up	2023-11-04 13:56:52	
ovif ip camera	Down	2023-11-04 13:53:29	Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
ovif ip camera	Up	2023-11-04 13:21:46	
ovif ip camera	Down	2023-11-04 13:18:34	Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
@hmortensen2 hmortensen2 added the bug Something isn't working label Nov 4, 2023
@CommanderStorm
Copy link
Collaborator

CommanderStorm commented Nov 5, 2023

There may be multiple reasons for this behaviour.

  • How many monitors do you have
  • what is their composition
  • what does your storage system under uptime-kuma look like
  • how much cpu has your server and are there any noisy neighbours

the v2 release does fix most of these issues by allowing for mariadb as another storage option (plus a few misc. performance optimisations, like #2750 or #3515).

@CommanderStorm
Copy link
Collaborator

Potential Duplicates: #2324 #1219

@louislam louislam closed this as completed Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants