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

Webserver: High memory usage (Possible memory leak?) #34

Open
LabodiDavid opened this issue Feb 18, 2025 · 1 comment
Open

Webserver: High memory usage (Possible memory leak?) #34

LabodiDavid opened this issue Feb 18, 2025 · 1 comment

Comments

@LabodiDavid
Copy link

I'm using the quay.io/invidious/youtube-trusted-session-generator:webserver docker image on a Debian 12 host.
After a 14 day uptime, the docker image is using about 3GB of RAM.

Here is the top command output from the container:

Image

I have managed to limit the container's RAM to prevent usages like this.

My current docker-compose configuration:

version: "3.2"
services:
  yt-trusted-session-generator:
    container_name: youtube-trusted-session-generator
    image: quay.io/invidious/youtube-trusted-session-generator:webserver
    network_mode: "bridge"
    ports:
      - 2334:8080
    mem_limit: 512m
@unixfox unixfox changed the title High memory usage (Possible memory leak?) Webserver: High memory usage (Possible memory leak?) Feb 20, 2025
@unixfox
Copy link
Member

unixfox commented Feb 20, 2025

Probably yes but only in webserver mode, in one shot mode (default mode) it's not an issue :).

Moreover, this script will soon stop working because youtube is planning on migrating to two types of potoken, one that is tied to the videoID. Hence why this script won't work anymore.

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

2 participants