gaia-pipeline / gaia

Build powerful pipelines in any programming language.
Apache License 2.0
5.19k stars 245 forks source link

The loading time for all peiplines in dashboard page is high #314

Closed RamuRChenchaiah closed 2 years ago

RamuRChenchaiah commented 2 years ago

Hi There A quick context:

  1. we have around 9 pipelines. The dashboard page or the settings page takes around 30secs to load the details. Same behaviour when we click on a pipeline.
  2. we have upgraded the vm to 4vCPU/8GB RAM from 2vCPU/4GB RAM, but the response is same.

Any thoughts on how to solve this please?

Thank you.

Skarlso commented 2 years ago

I have 11 pipelines, they load instantly.

Do you have any more data on the pipelines? How many jobs, settings, etc?

Skarlso commented 2 years ago
free -mh
              total        used        free      shared  buff/cache   available
Mem:          3.8Gi       509Mi       350Mi       110Mi       2.9Gi       2.9Gi
Swap:            0B          0B          0B

cpuv:

CPU(s):              2
On-line CPU(s) list: 0,1
Thread(s) per core:  1
Core(s) per socket:  2
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               85
Model name:          Intel Xeon Processor (Skylake, IBRS)
Stepping:            4
CPU MHz:             2100.000
BogoMIPS:            4200.00
RamuRChenchaiah commented 2 years ago

Thank you @Skarlso

Please find below details: We have at an average 12 jobs per pipeline. I have also verified that the ulimit is set to unlimited for all users.

Skarlso commented 2 years ago

I mean, do they have some special attributes? Like, there are a gazillion steps in them or many settings perhaps?

RamuRChenchaiah commented 2 years ago

Nope,not that many steps :) These jobs have less data to handle too.

Skarlso commented 2 years ago

Super weird. I'll try to recreate some more. What browser are you using? I'm using chrome.

RamuRChenchaiah commented 2 years ago

Please note that we use Firefox 97.0 (64-bit) MacOS Monterey 12.1 Thanks

Skarlso commented 2 years ago

@RamuRChenchaiah So I tested this on various pipelines and with firefox and chrome and my deployment is loading fine.

Can you please check here: https://gaia.cronohub.org user test password password123. And see how fast it loads?

Skarlso commented 2 years ago

Please ping me when you can check it. I disabled the user in the meantime. :)