NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 3 4 5 6 7 … 34 Next »
nextpvr process consumes all ram

 
  • 0 Vote(s) - 0 Average
nextpvr process consumes all ram
djenson
Offline

Junior Member

United Kingdom
Posts: 31
Threads: 5
Joined: Jul 2023
#31
2024-01-28, 01:13 AM
(2024-01-28, 01:10 AM)sub Wrote: Where are your channels coming from, and how many are there?

The most memory intensive stage is when you're updating the EPG, but I wouldn't expect it to be using more than about 1GB.

Channels are coming from a HDHomeRun tuner. There is 108 channels added in nextpvr, 133 available from the tuner.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#32
2024-01-28, 01:17 AM
(2024-01-28, 01:11 AM)djenson Wrote:
(2024-01-28, 01:06 AM)sub Wrote: In the screenshot, it was generating thumbnails at the time. Is it related to this? ie, is it fine when this isn't happening?

Any particular screen, or activity happening at the time?

This is while there are 3 ongoing recordings, and a recording being played on android TV though UIclient. 

Situations like this were common on the windows install and as i say, that never even touched 1GB (and i'm including the separate ffmpeg processes) 

The only difference here is that there is no hardware acceleration. This should only make the CPU work harder i would have thought, and it is not reaching 30% 

I can try disabling the thumbnails, but thats going to take time to report back for the existing recordings to finish and more to start.
Yeah, I'd try without thumbs enabled.
djenson
Offline

Junior Member

United Kingdom
Posts: 31
Threads: 5
Joined: Jul 2023
#33
2024-01-28, 01:18 AM
(2024-01-28, 01:11 AM)mvallevand Wrote: I am not saying it is normal I already posted my htop picture, but ffmpeg can use a lot of memory https://stackoverflow.com/questions/6528...the-memory  If you don't need thumbs and timing files turn them off.  I queue thumbnail and timing generation to my overnight EPG update.

How ffmpeg works in Windows bare metal and Linux VM will be quite different too.  Sub does reduce the CPU but can't control memory.

Martin

I dont think a 60Mb/s 4k H265 video is comparable to 3 x 5Mb/s H264 streams. Thumbs and timing files are almost essential.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,120
Threads: 957
Joined: May 2006
#34
2024-01-28, 01:20 AM
What I am saying is ffmpeg memory is not controlled. If they are essential try bare metal or queue them.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#35
2024-01-28, 01:20 AM
(2024-01-28, 01:18 AM)djenson Wrote:
(2024-01-28, 01:11 AM)mvallevand Wrote: I am not saying it is normal I already posted my htop picture, but ffmpeg can use a lot of memory https://stackoverflow.com/questions/6528...the-memory  If you don't need thumbs and timing files turn them off.  I queue thumbnail and timing generation to my overnight EPG update.

How ffmpeg works in Windows bare metal and Linux VM will be quite different too.  Sub does reduce the CPU but can't control memory.

Martin

I dont think a 60Mb/s 4k H265 video is comparable to 3 x 5Mb/s H264 streams. Thumbs and timing files are almost essential.
Still worth trying without these, so you can determine if that is the cause of your problem.
djenson
Offline

Junior Member

United Kingdom
Posts: 31
Threads: 5
Joined: Jul 2023
#36
2024-01-28, 01:33 AM
(2024-01-28, 01:20 AM)sub Wrote:
(2024-01-28, 01:18 AM)djenson Wrote:
(2024-01-28, 01:11 AM)mvallevand Wrote: I am not saying it is normal I already posted my htop picture, but ffmpeg can use a lot of memory https://stackoverflow.com/questions/6528...the-memory  If you don't need thumbs and timing files turn them off.  I queue thumbnail and timing generation to my overnight EPG update.

How ffmpeg works in Windows bare metal and Linux VM will be quite different too.  Sub does reduce the CPU but can't control memory.

Martin

I dont think a 60Mb/s 4k H265 video is comparable to 3 x 5Mb/s H264 streams. Thumbs and timing files are almost essential.
Still worth trying without these, so you can determine if that is the cause of your problem.

Don't know if this is any clue for you. One of the 3 recordings just finished. There was a drop from 5.7GB to 5.62, before going back up to 5.7GB. Its like theres some other process trying to steal all the memory. When you sort by memory useage, it is not ffmpeg thats using the memory, its the actual NPVR server.


Attached Files Thumbnail(s)
       
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,120
Threads: 957
Joined: May 2006
#37
2024-01-28, 01:39 AM
I know sub tries and manage thumbs CPU maybe that impacts things.

A proper test would be to see what happens when you kill all fffmpeg tasks, you can regenerate thumbs via the UI.

Martin
djenson
Offline

Junior Member

United Kingdom
Posts: 31
Threads: 5
Joined: Jul 2023
#38
2024-01-28, 01:43 AM
(2024-01-28, 01:39 AM)mvallevand Wrote: I know sub tries and manage thumbs CPU maybe that impacts things.

A proper test would be to see what happens when you kill all fffmpeg tasks, you can regenerate thumbs via the UI.

Martin

Just stopped all recordings. all ffmpeg procs gone. memory usage still there. ffmpeg /thumb generation is not the issue here.


Attached Files Thumbnail(s)
   
djenson
Offline

Junior Member

United Kingdom
Posts: 31
Threads: 5
Joined: Jul 2023
#39
2024-01-28, 01:52 AM
Just restarted the VM. Thumb generation disabled. Memory usage is just going up and up. No processes expect for NPVR.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,120
Threads: 957
Joined: May 2006
#40
2024-01-28, 01:53 AM (This post was last modified: 2024-01-28, 01:58 AM by mvallevand.)
Try bare metal too and maybe give NextPVR 2GB.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR can't open RAI (Italian main TV channels) links f2fg 18 3,766 2025-07-05, 10:10 AM
Last Post: alice_anto
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 1 67 2025-07-03, 12:12 AM
Last Post: mvallevand
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 0 38 2025-07-03, 12:02 AM
Last Post: Siftingice
  NextPVR on Ubuntu 24.04 Server Running, Web interface not so much JeffH 15 551 2025-06-11, 05:43 PM
Last Post: mvallevand
  Guide data issue using NextPVR in a Proxmox LXC njc 10 1,286 2025-03-23, 01:40 PM
Last Post: njc
  NextPVR oddly limited to 7 tuners DaVinylSmith 4 674 2025-02-12, 02:49 PM
Last Post: DaVinylSmith
  NextPVR webserver not starting, prevents client from starting homemaisonbaile 28 2,062 2025-02-04, 05:23 PM
Last Post: mvallevand
  NextPVR 7 looses recordings after post processing ballfam 15 1,115 2024-12-20, 03:23 AM
Last Post: ballfam
  Colossus 2 and nextpvr Iriman 53 5,735 2024-12-16, 02:32 AM
Last Post: ehfortin
  NextPVR user1232 1 391 2024-11-09, 11:21 AM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode