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
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,091
Threads: 957
Joined: May 2006
#21
2023-03-29, 01:52 PM (This post was last modified: 2023-03-29, 01:57 PM by mvallevand.)
I saved the logs so I guess I did accidentally hit F5 Looking at the log I am not sure it entered the plugin because I seemed to be navigating the guide and watching Live TV.

Code:
2023-03-21 13:40:19.328    [DEBUG][93]    OnKeyDown() called: F5 (116)
2023-03-21 13:40:19.365    [DEBUG][93]    skin file? /opt/nextpvr/system/data/skin/Default/Pictures/pictures.xml
2023-03-21 13:40:19.458    [DEBUG][93]    LoadList()@1
2023-03-21 13:40:19.755    [DEBUG][93]    LoadList()@2
2023-03-21 13:40:19.755    [DEBUG][93]    OnKeyDown() done. Took 427.4304 ms
2023-03-21 13:40:19.778    [DEBUG][93]    skin filename: ../_Common/folder_pic.png
2023-03-21 13:40:19.778    [DEBUG][93]    skin resource directory: /opt/nextpvr/system/data/skin/Default/Pictures/

2023-03-21 13:40:19.778    [DEBUG][93]    calculated resource directory: /opt/nextpvr/system/data/skin/Default
2023-03-21 13:40:19.932    [DEBUG][97]    Preloaded: /var/opt/nextpvr/media/shows/¡Despierta América!.fanart.jpg
...
2023-03-21 13:49:51.777    [DEBUG][97]    Preloaded: /var/opt/nextpvr/media/shows/Zulu.landscape.jpg

Martin
djenson
Offline

Junior Member

United Kingdom
Posts: 31
Threads: 5
Joined: Jul 2023
#22
2024-01-28, 12:49 AM
Also having this issue. Its causing massive UI slowdowns when using uiclient.

This is a Debian 12 install running though proxmox. NPVR was installed using the script nextpvr-helper. 

P


Attached Files Thumbnail(s)
   

.zip   logs-20240128-0042.zip (Size: 1,011.66 KB / Downloads: 1)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#23
2024-01-28, 12:54 AM
What processor is in your machine? If it's a slower machine, you might want to go to Settings->General and set 'Generate Thumbnails' to 'None'.
djenson
Offline

Junior Member

United Kingdom
Posts: 31
Threads: 5
Joined: Jul 2023
#24
2024-01-28, 12:58 AM (This post was last modified: 2024-01-28, 01:01 AM by djenson.)
(2024-01-28, 12:54 AM)sub Wrote: What processor is in your machine? If it's a slower machine, you might want to go to Settings->General and set 'Generate Thumbnails' to 'None'.

Hi sub. Its currently assigned 3 cores of an i5-8500. Im not seeing anything above 30% CPU. take a look at this graph of the maximum (not average) cpu usage. Its memory thats causing the issue. On my Windows install, i never saw anything over 400MB, while this is eating up the whole 6GB i've assigned it, then consuming all of swap too! (edit: i dont think its eating all of swap thats my misinterpretation of VIRT in htop)


Attached Files Thumbnail(s)
   
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,091
Threads: 957
Joined: May 2006
#25
2024-01-28, 01:00 AM
Perhaps you don't give enough virtual memory to NextPVR, using thumbnails and timing files as you are will take extra memory. Not sure how to read that either NextPVRServer is only taking 510MB and the green part of the graph is 898M. The red is kernel threads so not sure how that relates to NextPVR.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#26
2024-01-28, 01:06 AM
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?
djenson
Offline

Junior Member

United Kingdom
Posts: 31
Threads: 5
Joined: Jul 2023
#27
2024-01-28, 01:06 AM
(2024-01-28, 01:00 AM)mvallevand Wrote: Perhaps you don't give enough virtual memory to NextPVR, using thumbnails and timing files as you are will take extra memory.  Not sure how to read that either NextPVRServer is only taking 510MB and the green part of the graph is 898M.  The red is kernel threads so not sure how that relates to NextPVR.

Martin

Im able to throw more memory at it if i need to, but the processes on the windows machine did never even get to 1GB of memory usage. You're saying using 5.8GB of memory is a normal thing for nextPVR? (VM assigned 6GB, plain debian used 220MB, was bare install. Only other installed packages are parted and htop)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#28
2024-01-28, 01:10 AM
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.
djenson
Offline

Junior Member

United Kingdom
Posts: 31
Threads: 5
Joined: Jul 2023
#29
2024-01-28, 01:11 AM
(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.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,091
Threads: 957
Joined: May 2006
#30
2024-01-28, 01:11 AM
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
« 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 on Ubuntu 24.04 Server Running, Web interface not so much JeffH 15 528 2025-06-11, 05:43 PM
Last Post: mvallevand
  NextPVR can't open RAI (Italian main TV channels) links f2fg 17 3,693 2025-03-29, 10:15 AM
Last Post: alice_anto
  Guide data issue using NextPVR in a Proxmox LXC njc 10 1,257 2025-03-23, 01:40 PM
Last Post: njc
  NextPVR oddly limited to 7 tuners DaVinylSmith 4 657 2025-02-12, 02:49 PM
Last Post: DaVinylSmith
  NextPVR webserver not starting, prevents client from starting homemaisonbaile 28 1,993 2025-02-04, 05:23 PM
Last Post: mvallevand
  NextPVR 7 looses recordings after post processing ballfam 15 1,084 2024-12-20, 03:23 AM
Last Post: ballfam
  Colossus 2 and nextpvr Iriman 53 5,625 2024-12-16, 02:32 AM
Last Post: ehfortin
  NextPVR user1232 1 381 2024-11-09, 11:21 AM
Last Post: mvallevand
  How does NextPVR separate TV from VOD ? FrankBKK 8 1,053 2024-10-30, 06:17 AM
Last Post: sub
  NextPVR i.mjh.nz [Failed: Recording interrupted] Nzbaxterman 6 884 2024-10-29, 11:44 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode