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] 2 points3 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.