|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
||||
|
||||
Agreed! I look forward to SJQ4 so I donated to get my license file all ready for the beta.
__________________
Server - unRAID 6.1.3: VM-Windows7 with Sage 7.1.9 - 2xHDHomeRun 1xHDHomeRun Prime - Xeon E3-1230, SUPERMICRO MBD-X9SCM-F MB, RAM 16 GB, HD 14TB Clients: 2xHD100, 1xHD200 and 1xHD300 |
#22
|
|||
|
|||
Quote:
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#23
|
|||
|
|||
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#24
|
|||
|
|||
Quote:
|
#25
|
|||
|
|||
Quote:
Now I'm starting to wonder just what's causing the OOM exceptions. If I exhaust again then I will strip back to a fresh install of 7.0.23 and see what happens. I really don't want to have to do this, but I can't file a bug report based on the current state of my server so...
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#26
|
|||
|
|||
I am running basically the same ones you are except v3 of SJQ. I also have the mobile web ui installed. I also stripped down. Had a bunch installed before. I will also be doing a fresh install this weekend from WHS to Win7 64 bit fresh install but copying over wiz.bin.
|
#27
|
|||
|
|||
On a related note I see a memory leak in the SageTVServiceControl app.
Here is what I sent on a support ticket: "The service control app appears to have a memory leak. On my Windows 7 x64 system I left it up in an RDP session for over a day now and Task Manager has the memory use for the process (SageTVServiceControl.exe *32) at 1,716,964K. Appears to only be a problem with Win7 x64 because this didn't happen with WinXP (32 bit). I have UAC turned OFF...". I also noted that this machine has 6GB of memory in my submission. |
#28
|
|||
|
|||
I think i might be running into the same issue. A memory leak that is exhausting my heap. I discovered this because sjq v3 wasnt processing new jobs (hadn't been for a couple days). I went to investigate and could not log in to the web ui. Looked at my heap usage and i was maxed out (used/total/max = 450ish/779/779). The service was consuming about 980mb. I tried to stop the service using the control applet but that did not work. Needed to stop the exe's in task manager to get things back. Restarted sage and things seem better... but this morning the service is up to using 850mb again (and my heap is 356/571/779).
Looking in the sagetv.log i see where exit is called then its starts stopping plugins, it gets through a couple then it calls stop on jetty and it doesnt call stop on anything after that (and there are definitely other plugins installed)... so perhaps its a memory leak in jetty. After trying to stop the service the correct way i was very patient with it (i waited about 2 min before killing the process manually). Code:
Thu 12/9 21:39:57.581 [main@a9ae05] Sage.exit() called. Thu 12/9 21:39:57.581 [main@a9ae05] Stopping all core plugins Thu 12/9 21:39:57.581 [main@a9ae05] Calling stop on plugin: Custom Events Thu 12/9 21:39:57.581 [main@a9ae05] Calling stop on plugin: Sage Artifact Delete (SAD) Thu 12/9 21:39:57.581 [main@a9ae05] Calling stop on plugin: SageMyMovies API Thu 12/9 21:39:57.582 [main@a9ae05] Calling stop on plugin: SageAlert Thu 12/9 21:39:57.603 [main@a9ae05] Calling stop on plugin: Jetty Web Server EDIT: i just disabled all plugins restarted the service and we will see what my heap does (just after restart its 223/429/779)
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer Last edited by razrsharpe; 12-10-2010 at 07:35 AM. |
#29
|
|||
|
|||
Quote:
|
#30
|
|||
|
|||
Quote:
Since my currently used heap was not at or near the max (first number vs third number) i did not have memory leak. They said the behavior that i was seeing (log gagging on stopping jetty gracefully, not able to access sjq web app) was an indication that the problem resides with that plugin... My jetty request log had no entries for about 36 hours (usually its filled with sjq requests) so it looks like for some reason jetty crashed silently and it took me a while to find it... I'll post over there just to give jreichen a heads up (don't know how useful that will be since the only jetty logs i have are the request logs which will indicate when it stopped working but not why).
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer Last edited by razrsharpe; 12-10-2010 at 03:48 PM. |
#31
|
|||
|
|||
Right now I see 300/771/779. But if I'm recording from the HDPVR, a PVR-250 and watching an HDPVR recording simultaneously, then that's when the total starts creeping oh so close to max. When I had a bunch of other plugins installed that's when I ran out of memory - unfortunately the stack traces dumped 3GB of OOM exception logs in about 8 minutes and so I had to stop Sage and wipe the logs. Uninstalling a lot of plugins seems to have got things under control, but not completely (used = 771 vs. max = 779). It seems during peak usage (multiple recordings + viewing on an HD200) is when things start creeping close to the trouble area. If I manage to get by that peak time then by morning the numbers seems to return to about what they are right now. I can easily get used up over 450 by simply starting to view an HDPVR recording on my HD200 (stock theme with a few mods like SRE and SJQ UI mods, 24 hr clock mod, comskip playback). Should the core be grabbing 150+ MB of heap just to do playback of a H.264 recording?
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#32
|
|||
|
|||
Quote:
I need to retrieve the actual length of a recording since there is a difference between sage and the actual. The .cmd below in my groovy script runs the VB script to adjust the edl file based on the differences in duration. Here is my groovy script I am using to launch comskip (I have the executable set to "script:C:\comskip.groovy" Code:
Object mediaFile = MediaFileAPI.GetMediaFileForID(SJQ4_METADATA.get("SJQ4_ID").toInteger()) Integer duration = MediaFileAPI.GetFileDuration(SJQ4_METADATA.get("SJQ4_ID").toInteger()) String file = SJQ4_METADATA.get("SJQ4_PATH") + SJQ4_METADATA.get("SJQ4_LAST_SEGMENT") Process cmd = "C:/comskip/RunComSkip.cmd \"${file}\" ${duration}".execute() cmd.waitFor() return cmd.exitValue() I never see comskip run in task manager. The sjq agent log file has: Code:
2010-12-17 08:27:06,756 INFO [Exe]: Received task 19 of type 'COMSKIP' from 192.168.0.30:23347... 2010-12-17 08:27:06,756 INFO [192_168_0_30-23347-19]: Starting process runner for: Task[id=COMSKIP, reqRes=100, maxInst=1, sched=ON, maxTime=6000, maxTimeRatio=1.0, rc=0-0, exe=script:C:\comskip\comskip.groovy, exeArgs="$SJQ4_PATH\$SJQ4_LAST_SEGMENT", test=C:\comskip\comskip_test.groovy, testArgs=ts] 2010-12-17 08:27:06,756 INFO [ProcessRunner]: Converted '"$SJQ4_PATH\$SJQ4_LAST_SEGMENT"' to '"C:\Videos\BurnNotice-OutoftheFire-6217748-0.ts"' 2010-12-17 08:27:08,084 INFO[ListenerClient]: Disconnected from 192.168.0.30:23347 2010-12-17 08:27:28,553 WARN [ProcessRunner]: isActive(SJQ4Task-192.168.0.30-23347-19) = true; [SJQ4Task-192.168.0.30-23347-19] 2010-12-17 08:28:28,554 WARN [ProcessRunner]: isActive(SJQ4Task-192.168.0.30-23347-19) = true; [SJQ4Task-192.168.0.30-23347-19] 2010-12-17 08:29:28,554 WARN [ProcessRunner]: isActive(SJQ4Task-192.168.0.30-23347-19) = true; [SJQ4Task-192.168.0.30-23347-19] 2010-12-17 08:30:28,554 WARN [ProcessRunner]: isActive(SJQ4Task-192.168.0.30-23347-19) = true; [SJQ4Task-192.168.0.30-23347-19] 2010-12-17 08:31:28,555 WARN [ProcessRunner]: isActive(SJQ4Task-192.168.0.30-23347-19) = true; [SJQ4Task-192.168.0.30-23347-19] Code:
2010-12-17 08:27:06,741 INFO [TaskQueue]: Running queue processor now! 2010-12-17 08:27:06,756 INFO [TaskQueue]: Assigned task 19 of type 'COMSKIP' to Client[host=htpc.meisners.net:23344,state=ONLINE,lastUpdate=Fri Dec 17 08:27:06 EST 2010] 2010-12-17 08:27:06,756 INFO[ListenerClient]: Disconnected from htpc.meisners.net:23344 2010-12-17 08:27:07,069 INFO[Listener]: Received connection from: /192.168.0.30 2010-12-17 08:27:08,069 ERROR [Handler]: IOError java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.refill(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.read(Unknown Source) at java.io.DataInputStream.readUnsignedShort(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.readUnsignedShort(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.readUTF(Unknown Source) at java.io.ObjectInputStream.readUTF(Unknown Source) at com.google.code.sagetvaddons.sjq.listener.Handler.run(Handler.java:62) at java.lang.Thread.run(Unknown Source) 2010-12-17 08:27:08,069 INFO[Listener]: Received connection from: /192.168.0.30 2010-12-17 08:27:08,069 INFO [Handler]: CMD: LOGTEST :: PEER: /192.168.0.30 2010-12-17 08:27:08,084 INFO [Handler]: CMD: QUIT :: PEER: /192.168.0.30 2010-12-17 08:27:08,381 INFO[Listener]: Received connection from: /192.168.0.30 |
#33
|
|||
|
|||
Quote:
Quote:
Code:
videoframe/disable_timescaling_on_seek=true
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#34
|
|||
|
|||
I saw that, and put it into sage.properties, but it didn't fix the skew for me.
|
#35
|
|||
|
|||
Something just dawned on me. Do I need to set disable_timescaling_on_seek=true BEFORE a recording is made?
I only tried setting it and playing back a video that was comskip'd. |
#36
|
|||
|
|||
i dont know but i dont think so... because it only effects the playback of the media, not the creation of the edl
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#37
|
||||
|
||||
Quote:
Did you recycle SageTV Service (if in service mode) and/or client? Are not a lot of the .properties only read at startup? or need to be made while SageTV is down for it to be actually taken? |
#38
|
|||
|
|||
I run SageTV in non-service mode...only interactively.
I did find that if I made the change with STV running, I lost it. So I shut Sage down, made the change and restarted. That's how I ended up testing it. If this is workign for others, I will give it another shot. |
#39
|
|||
|
|||
Quote:
Quote:
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#40
|
|||
|
|||
Quote:
Code:
String file = SJQ4_METADATA.get("SJQ4_PATH") + SJQ4_METADATA.get("SJQ4_LAST_SEGMENT") String file = SJQ4_METADATA.get("SJQ4_PATH") + "\\" + SJQ4_METADATA.get("SJQ4_LAST_SEGMENT") Quote:
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Microsoft Abandons Drive Extender Technology for Vail | kevine | General Discussion | 53 | 12-09-2010 04:28 PM |
SJQv4: Design Discussion | Slugger | SageTV v7 Customizations | 26 | 10-18-2010 08:22 AM |
Geeks and Geek Squad/Consumer Technology woes featured on 60 Minutes tonight | Steve2112 | The SageTV Community | 23 | 02-26-2007 04:14 PM |