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

Wierd error #122

Open
Mat40 opened this issue Oct 17, 2022 · 3 comments
Open

Wierd error #122

Mat40 opened this issue Oct 17, 2022 · 3 comments

Comments

@Mat40
Copy link

Mat40 commented Oct 17, 2022

Hi i have sometimes a wierd error, the script start normaly but after X minutes/hours script broke and i have this error
image
image

@jellyton255
Copy link

Confirming this issue, it's incredibly annoying, it completely breaks the system and there are no obvious reasons for it occurring.

@Mat40
Copy link
Author

Mat40 commented Jan 8, 2023

I have solve this problem by download source code then go to src>server>utils>pool.ts
change from
pool: { max: 5, min: 0, acquire: 30000, idle: 60000, },
to
pool: { max: 350, min: 0, acquire: 220000, idle: 60000, },

And after this i have increased the connection setting on MariaDB as per below which I believe is excessively high but error never occur. Follow this link

max_user_connections=400
max_connections=800

@mikkel20088
Copy link

I'm now also having this issue, now trying to build my own using Mat's method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants