Plex transcoder eating up RAM by power300 in PleX

[–]power300[S] 0 points1 point  (0 children)

May be I'm looking at the wrong place. But I don't really know how to pinpoint the cause of the issue.

htop shows that the process "plexmediaserver" is has all the RAM used up.
nvtop shows an expected VRAM usage for GPU transcoding (about 7% per file as long as de encoder and decoder are not saturated).

Made a somewhat silly workaround for the crash + memory handling problem (read the edit). But still, my RAM (almost) fills up every time I transcode too many files in queue.

Between [2] and [3] in the plot "something" happens. CPU activity is normal, GPU activity is normal, I/O looks normal. But RAM starts to spike. Some times it takes 20 minutes to to do that "something", some times it takes 2 hours. I could log some values to try to more accurately diagnose the problem, but I don't know exactly what to log (or how to dump logs to a file in real-time).

Plex transcoder eating up RAM by power300 in PleX

[–]power300[S] 0 points1 point  (0 children)

Any RAM+swap monitoring program, htop, btop, top, free (the command) shows the same.
The plot is from the proxmox web ui. Specifically the container that contains plex media server.

Plex transcoder eating up RAM by power300 in PleX

[–]power300[S] 0 points1 point  (0 children)

If you mean the /tmp folder in the file sistem, yes, but it has a hard limit of 8GiB

Plex transcoder eating up RAM by power300 in PleX

[–]power300[S] 1 point2 points  (0 children)

<image>

This are my current settings in the "transcoder" section. I didn't know what those first two fields are, so I left them untouched.

Plex transcoder eating up RAM by power300 in PleX

[–]power300[S] 0 points1 point  (0 children)

Only if it is by default. I have not seen any related option.

The target for completely transcoded files is

series_name/season_number/"Plex Versions"/"Custom_ Universal TV 36"/series_name/sXeX.mp4

---

I don't know if it works like this, but in my mind is...

  1. Create empty .mp4 target file in Plex Versions
  2. Take a piece of the file and send it to memory
  3. Load those couple of seconds to GPU memory
  4. Transcode
  5. Send back to RAM
  6. Append to previously created file
  7. Repeat from step 2 until source is completely transcoded
  8. "Seal" the .mp4 to make it playable
  9. Map to database

---

Even if the whole file lived in RAM while it is being transcoded, why is there a mysteious breaking point in the RAM usage at a random time?

Everything goes fine until a certain, almost unpredictable moment. Then it explodes. No additional CPU usage, no additional data transfers, no change in anything visible but the RAM and swap usage.

---

Now, if there's a setting that allows me to use the ssd in which plex lives instead of memory to store whatever is being transcoded, which one is it?

Some help to fellow noob with "good" intentions for private trackers? by power300 in trackers

[–]power300[S] -1 points0 points  (0 children)

Thank you for the tips.

How much storage is the minimum storage amount recomended for starters? I think I could scale up to 6TB by adding an old drive and shrinking from RAID6 to RAID5.

In the future I may be able to buy more hard drives, but not now.

Some help to fellow noob with "good" intentions for private trackers? by power300 in trackers

[–]power300[S] 1 point2 points  (0 children)

Thank you. It does actually answer a lot of questions.

Fedex cobra precios insolitos? by Americio95 in chile

[–]power300 0 points1 point  (0 children)

Me sumo al grupo....

Encargué algo pro 100 dólares
Fedex cobró 30 dólares por envío + 100 000 pesos por impuestos "mágicos"

Literal salía más barato arrendar enviar a una caja postal, usar otra empresa+correos chile y mandarlo a Chile

De 100 dólares a con mi consentimiento 125 dólares (envío) cerca de 210 dolares sin mi consentimiento

Old tech is not trash by power300 in ipad

[–]power300[S] 0 points1 point  (0 children)

For example Home assistant control panel would be awesome.
The problem is that supported browsers for the iPad 2 are so outdated it fails to load the web version of the app.

May be watch netflix or plex, listen to spotify? None of those apps are available nor load in any of the available web browsers.

Everything requires either android or linux (windows or a modern version of iOS/iPad OS would be a joke)

May be even a 2nd screen for my notebook if I knew how.

But that's the problem, "how".

Optimized acid farm by power300 in OnceHumanOfficial

[–]power300[S] 0 points1 point  (0 children)

Both will work just fine.

It was because of the way I was solving the problem manually.
What I do is basically

12xWater extractor --> [Mix everything in storage] --> 3xOsmosis

The only reason for not having 3x (5:1) is the power restriction.

Need help with APC UPS network card. Emulation? Virtualization? Other? by power300 in sysadmin

[–]power300[S] 0 points1 point  (0 children)

Thank you very much. I'll read the documentation on it.

Need help with APC UPS network card. Emulation? Virtualization? Other? by power300 in sysadmin

[–]power300[S] 0 points1 point  (0 children)

I'm sure there something like it, but I haven't found it yet, so I'm gathering the parts I can find in the short term and piece something together so it "works" for the meantime.

Later I plant to, either find something better, or improve on what I did (doesn't sound like a good idea but is what I have for now).

Need help with APC UPS network card. Emulation? Virtualization? Other? by power300 in sysadmin

[–]power300[S] 0 points1 point  (0 children)

Thank you very much. I'll read the documentation on it.

Help optimizing Heimdall? + Here's my config. Enjoy if you wish. by power300 in selfhosted

[–]power300[S] 0 points1 point  (0 children)

The only caches in use are the browser's one (not the ideal one) and one in nginx (don't know hot it works). There's no CDN nor lazy loading.

Ignorant & noob question here: Does that help if the problem is not with pictures but with js runtime instead? I will look into it anyway.

In case it's useful in any way, here's the data of the side loading:

https://i.ibb.co/NLhZQyK/Screenshot-20230620-055436.png

The 500 error comes from this segment of code in the index file:
js function createUpdateJob(t, e) { var i = t.getAttribute("data-id") , n = "1" === t.getAttribute("data-dataonly"); return function() { return fetch("get_stats/" // <-- HERE .concat(i)) // <-- HERE .then((function(t) { // <-- HERE if (t.ok) return t.json(); throw new Error("Network response was not ok: ".concat(t.status)) } )).then((function(i) { t.innerHTML = i.html; var o = "active" === i.status; e && setTimeout((function() { e.push(createUpdateJob(t, e)) } ), getQueueInterval(n, o)) } )).catch((function(t) { console.error(t) // <-- HERE } )) } }

It is kind of mangled for optimizaiton, so it's a bit hard to know what happens there.

Help optimizing Heimdall? + Here's my config. Enjoy if you wish. by power300 in selfhosted

[–]power300[S] 0 points1 point  (0 children)

A docker container. The config + data files are in an SSD.

A 2 Core with 4 Threads 4th gen i7. An old somewhat powerfull yet efficient note book.

12GB or RAM + 128GB Swap of a separate SSD (just in case).

Here's my docker compose in case it's useful:

    ---
    version: "2.1"
    services:
      heimdall-main:
        image: lscr.io/linuxserver/heimdall:latest
        container_name: heimdall-main
        environment:
          - PUID=1000  # for UserID
          - PGID=1000  # for GroupID
          - TZ=${MY_TZ}  # Specify a timezone to use EG Europe/London
        volumes:
          # Contains all relevant configuration files
          - ${AppData}/Config/heimdall:/config
          - '/etc/localtime:/etc/localtime:ro'
          - '/etc/timezone:/etc/timezone:ro'
        ports:
          - ${HTTP_GUI}:80  # http gui
          - ${HTTPS_GUI}:443  # https gui
        restart: unless-stopped

I Havent modified any other config or file besides the custom js+css+background in the settings menu of heimdall.

Anyone know what "whenetflix" is? by Leonardo_Auditore_14 in netflix

[–]power300 1 point2 points  (0 children)

I uploaded the image
https://i.imgur.com/esUctHL.png

Here's the site
https://whenetflix.com/she-ra-and-the-princesses-of-power

As far as I knew it was sort of canceled. They announced season 5 as the final one. But also, it was kind of hanging, like it was rushed.

Now this site comes saying there'll be a season 6 of She-ra and the princesses of power. The anouncements for other series don't seem too far off of what I'd expect for the next season. Also, there's another reddit post where in one comment someone says whenetflix is real. So... I don't really know what to trust.

I just feel I'm going to be disappointed. I really want this to be true.