![]() |
|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
What are your Wiz.Bin and JVM used memory sizes.
I currently have a server that took between 1/2 and 1 hour to boot and allow my HD300s to connect. Current memory usage: JVM Heap Size (Used/Total/Max): 2093MB/2218MB/3818MB which is approximately what it had 7 minutes after boot as I remember but here is three hours earlier then now: MemStats: Used=2146MB Total=2156MB Max=3817MB. I suspect the large memory usage and slow boot is because of the large Wiz.bin.
Backed up Wiz.bins after upgrading and their sizes and ages: Wiz.bin.SageTV V9.0.8.429 - 12/4/2016 - 173,655KB Wiz.bin.SageTV V9.0.11.483 - 1/1/2017 - 258,315KB Wiz.bin.SageTV V9.0.12.504 - 1/27/2017 - 454,636KB current Wiz.bak - 2/1/2017 - 851,624KB current Wiz.bin - 2/2/2017 - 858,395KB This server has 17,544 recordings So I got curious what my other servers have:
So what are your usages?
__________________
"Keep your goals away from the trolls" Last edited by BobPhoenix; 02-02-2017 at 08:45 PM. Reason: Added favorites |
#2
|
|||
|
|||
Yeah. Those are huge wiz.bin sizes. Mine is about 50MB if I remember correct. Not sure how many recordings. This is after 8 years of use and 4TB of current recordings.
Part of what makes wiz.bin larger is that it stores the full path (twice actually for photos) to all of the media files so if you have a lot and in particular if your import paths are lengthy there couod be a lot of data there. It also stores all of the camera settings, etc. for photos. Did you add new media directories or move where it was stored when those large increases happened? |
#3
|
||||
|
||||
Wow...those are the largest Wiz.bin sizes I have ever seen.
![]() I'm pretty curious myself, so go ahead and post your log here from when it starts up and I'll help you figure it out (the one with 17k recordings).
__________________
Jeffrey Kardatzke Founder of SageTV |
#4
|
|||
|
|||
Quote:
Quote:
Question will this property entry increase the number of logs kept? Code:
num_logfiles_to_keep=4
__________________
"Keep your goals away from the trolls" |
#5
|
|||
|
|||
It wouldn't boot. I had to use an older version of the wiz bin for it to load. Used the 400MB version to boot with. Hope this will tell you what you need.
Was too big to post even zipped so hope you can get them from this drop box link: https://www.dropbox.com/s/x9av2gysqn...izbin.zip?dl=0
__________________
"Keep your goals away from the trolls" |
#6
|
|||
|
|||
Don't have the 1st boot where I waited over an hour for the "Sage waiting for GC to free up some memory usage" to disappear. But attached is the second and final attempt with the 800MB wiz.bin file. I have now started over and have deleted the wiz bin and properties files and let them get recreated. So if you want reboots and such it would have to be with my 300+MB Windows install. Sorry about that but after using the 400MB wiz.bin I only had 5 days in the schedule and it wouldn't update. So since I was going to do this anyway I did it earlier then planned. I did back the files up so I can do a quick switch back if needed but it wouldn't be this weekend.
__________________
"Keep your goals away from the trolls" |
#7
|
|||
|
|||
After moving the entire server folder to a safe location and starting completely from scratch with an empty appdata folder I have logs from that boot up at the drop box link if that would help: https://www.dropbox.com/s/kdjt4u8omy...ratch.zip?dl=0
Note it created a Wiz.bin of 110MB but after a restart of the docker it is now down to 55MB in size so as of right now I would say a reinstall fixed my problem on the 800MB server. I can't really start over again on my Windows server that has 300MB+ Wiz.bin as it has recordings made from v6 of Sage. So no metadata in the file to read and with EPG updates allot of the airingIDs on the media files no longer match any more. So they would loose the metadata if I started from scratch. However I should be able to reinstall v7 sage and restore an old backup of the wiz.bin - I think anyway. Then upgrade. However I was planing on switching that one to linux and I would just start it from scratch and record the same shows as the old Windows server. The Windows server would become a view only server with no recording done so no need for EPG. At least that is my plan.
__________________
"Keep your goals away from the trolls" |
#8
|
||||
|
||||
From the 400MB version, the clear offender is the Agent table:
Sat 2/4 0:53:15.733 [main@3cd1a2f1] Wizard loading main index for Agent bytes=393150292 I have never seen anything like that happen before...that would never happen under normal SageTV usage (i.e. creating Favorites, SageTV's automatic creation of Agents). There's definitely something funky at work here...and since you mentioned the anti-favorite plugin, that'd be my first guess (although i don't know exactly how it works). If you set the property: dump_db_on_startup=true Then it'll write out a text file that contains the information (not complete info, but good for debugging) of the entire database so you can see why there's so many agents in the database. For clarification..Agents map to Favorites as well as being automatically created by SageTV internally as part of Intelligent Recording analysis. Also, how many Favorites does SageTV say you have? And the 800MB DB has the same issue, but twice as bad: Sat 2/4 0:43:54.649 [main@3cd1a2f1] Wizard allocating table for Agent of size 7876642 Sat 2/4 0:43:54.671 [main@3cd1a2f1] Wizard loading main index for Agent bytes=771916253 There's almost 8 million Agents in your database...that's just crazy. ![]() And you were correct about the num_logfiles_to_keep setting controlling how many log files SageTV will keep.
__________________
Jeffrey Kardatzke Founder of SageTV |
#9
|
||||
|
||||
Quote:
How many anti-favorites do you have? I have about 10 and my wiz.bin is not that large.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#10
|
|||
|
|||
Quote:
Quote:
And just so you both know I have almost identical plugins installed on all of my servers except for the one I started over. On that one I have the following: Commercial Detector, Jetty, SageTV Web server, Comskip, Encoder Names & Restart from Setup. I kept them to a minimum so far. On the Windows v9 server that is misbehaving I have: Anti-Favorites, Commercial Detector, Complementary Metadata, Comskip, CPU meter, Encoder Names, Disk Usage, Java Heap, Restart from setup, Jetty, SageTV Web server, Phoenix core, SageX. On the working 7.1.9 server has more because I used to use it for playback as well: Anti-Favorites, BluRay/DVD external, Commercial Detector, Complementary Metadata, Comskip, CPU Meter, Encoder Names, Disk Usage, Java Heap, Restart from setup, Signal Strengh on OSD, BMT, Jetty, SageTV Web server, Phoenix core and SageX. What it looks like to me is that each time I installed a new version of V9 server it duplicated+ the data in the Wiz.bin for the Agents at least. It may have started in v7 before I converted to the linux server as I don't have any wiz.bin's less than 173MB for v9. I do have a backup from 4/24/2016 with a Wiz.bin when it was on windows of 76MB but I don't have any backups from Windows any sooner or the initial from linux any more.
__________________
"Keep your goals away from the trolls" |
#11
|
||||
|
||||
Just wondering which anti-favorites plugin you're using.
Favorite Excluder (Anti-Favorites) Anti-Favorites for Dummies John |
#12
|
|||
|
|||
Anti-Favorites for Dummies
__________________
"Keep your goals away from the trolls" |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Major Memory leak (Mapped File memory) during SageTV recordings | bradvido | SageTV Software | 21 | 11-26-2011 09:24 PM |
wiz.bin typical average and max sizes | Nelbert | SageTV Software | 8 | 01-06-2011 06:23 PM |
Alter font sizes. | sfag | SageTV Software | 1 | 01-29-2009 08:05 AM |
How to measure fan sizes? | SprDtyF350 | The SageTV Community | 2 | 11-18-2005 08:18 PM |
File sizes? | rtmoore4 | SageTV Recorder Software | 6 | 03-05-2003 04:39 PM |