C9Glax / tranga

Docker-Container to monitor (Manga) Scanlation-Sites for download new chapters.
GNU General Public License v3.0
156 stars 15 forks source link

[It broke]: Performance problems on startup #240

Closed ElryGH closed 2 months ago

ElryGH commented 2 months ago

What is broken?

If you start the container with like 200 mangas you get a starting list of those hundreds to check. This basically makes the entire machine unusable and goes on for atleast 1 hour, would it be possible to check the manga in the list in an interval and not all at once ?

Log-output

No response

Additional stuff

image image image

ElryGH commented 2 months ago

If the container starts up get a list of all manga and then maybe scan them in an 1 minute interval so they dont like block the machine for a solid hour cuz as soon as one is done the next scans.

Im also confused by the amount of chrome instances you spawn or why it takes nearly 100% of my cpu

ElryGH commented 2 months ago

There also seems to be a memory leak or something like that, cuz the memory used seems to steadily increase till it eats up all ram on the machine: image

ElryGH commented 2 months ago

As info that is a very strong vps with EPYC 7401P

ElryGH commented 2 months ago

image This is only tranga

ElryGH commented 2 months ago

This has to be some sort of memory leak or other unwanted side effect of chromium

ElryGH commented 2 months ago

Even after Tranga is done, there is still like 50 chromium procresses running eating like 1gb ram and 40% cpu on all 4 cores

ElryGH commented 2 months ago

@C9Glax

C9Glax commented 2 months ago

Don't @ me. Will look when I have time.

C9Glax commented 2 months ago

Okay, I found an instance, where a page/tab would not be closed when it did not load correctly. Also moved to a singular Chromium instance. 2dac5db4da6313bd2b6b225856c05e6c8a14f280 lmk if this fixes the issue