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

Huge load on instance and multiple DB connections when adding project or amending project settings #801

Open
PeteDraper opened this issue Apr 23, 2024 · 2 comments
Labels

Comments

@PeteDraper
Copy link

PeteDraper commented Apr 23, 2024

Studio name: Ryff
Kitsu version: 0.19.25
Production type: TV Show

recently have noticed that when creating a project, the instance goes absolutely crazy (see screenshot of the box's htop) and hangs for a lot of people (about 20 connected at any time) and often kicks them out and/or the api can't be found.

We have around 50 open projects and about 3x as many closed ones. It often takes about 15 mins for the postgres to settle down and allow people back in or to perform at normal speeds.

Am using the default postgres settings (should I increase the number of connections? - default is 30 with overflow of 60)

I should also mention that up until the last month we didn't have this issue. Amending any of the project's settings like adding Automations and Team Members is causing the same large load on the system for several minutes; not as many connections but still a substantial load.

Our database is quite large - last backup was a 150Mb gz file so am not sure if the size of our DB is the issue (edited: incorrectly mentioned 150Gb, not Mb)

Note that this issue is only occurring when creating the project or amending the project's settings

Screenshot 2024-04-22 at 18 09 19
  • OS: osx
  • Browser chrome
@PeteDraper PeteDraper added the bug label Apr 23, 2024
@NicoPennec NicoPennec transferred this issue from cgwire/kitsu Apr 23, 2024
@NicoPennec NicoPennec removed their assignment Apr 23, 2024
@PeteDraper
Copy link
Author

adding Team members from previous project also causes overload in connections and immediate boot out to login screen

@frankrousseau
Copy link
Contributor

Do you have any errors in the error logs?

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

No branches or pull requests

3 participants