|
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 |
#261
|
|||
|
|||
Quote:
|
#262
|
|||
|
|||
Yes, lobs.db is used by SJQ. That's how H2 stores CLOB columns and CLOB columns is what's used to store task output. 10GB is crazy unless your tasks are dumping tonnes of output (and I mean tonnes) and the tasks are failing. By default, failed tasks will retain their output for 21 days (so as to allow time for investigation, if necessary). Successful tasks retain output for 7 days and skipped tasks for 1 day. That's all configurable in the SJQ plugin config options. I'd be having a look at the contents of some of those files, what process/task is dumping that quantity of output? Hopefully, you're not just toasting off that directory? I would assume that would corrupt your H2 database and then who knows what happens in that case. For me, my lobs.db dir contains 14KB of data in it, I've seen it get up to 500KB, but then it cleans itself up. 10GB is beyond comprehension (to me).
__________________
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... |
#263
|
|||
|
|||
Is the groovy script you're using named with a .GROOVY extension (as opposed to .groovy)? If so, change the case and see if that fixes it up.
__________________
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... |
#264
|
||||
|
||||
Quote:
__________________
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 |
#265
|
|||
|
|||
Stop Sage completely. Delete *.db.* (files and dirs) in the plugins/sjq/ dir, restart Sage. (You will lose all settings/config/task assignments/etc.)
__________________
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... |
#266
|
||||
|
||||
Just to be clear, when I said I deleted the lobs.db directory it was at the SageTV/SageTV level and not the plugins/sjq/ directory. Could this mean something else is wrong?
__________________
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 |
#267
|
|||
|
|||
Quote:
You should see a folder under plugins/sjq named lobs.db - that's the folder where SJQ stores task output and I'd be shocked if that ever reached 10GB. I'm not the provider of the H2 db plugin, I just use it. It was there before I started SJQv4, which probably means at least one other plugin is using an H2 database for something and is probably what's filling your disk.
__________________
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... |
#268
|
|||
|
|||
Tasks dissappear from queued/completed tasks
I've noticed that when going through the queued and completed tasks using the SJQ UI plugin that the entries will sometimes just disappear. It usually happens when scrolling up/down using the mouse wheel and it has persisted from initial install across several restarts of the SageTV service and client. It doesn't seem to affect task execution, but when it happens I have to back out of the current menu then re-enter it causing it to refresh. I made a viedeo screen cap of what is happening and through it up on a box at school. http://web.eecs.utk.edu/~rdeaver1/fi...s_Disapear.avi (~2.5MB)
I didn't see this listed as a current issue on the google code site for SJQ and couldn't find any issues re SJQ UI on tmiranda's google code site so I thought I would bring this up here to see if anyone else is seeing this or if slugger/tmiranda already know about it before logging it. If needed I can provide logs, just let me know which logs you want |
#269
|
|||
|
|||
Best to ticket it. Tom will need the UI logs (sageclient_0.txt). Add the link to the screencast, etc. in the ticket. Thanks.
__________________
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... |
#270
|
|||
|
|||
The file name is comskip_test.groovy. I downloaded the file from the user guide site unmodified. I changed the extension for the script to uppercase, It did not help.
|
#271
|
|||
|
|||
I'm starting to run out of ideas. For some reason, Sage doesn't appear to be loading the groovy jar file at start up. Enable Sage debug logging, if not already on. At the start of the sage log file (sagetv_0.txt) it will list all of the jar files it's loaded into its classpath. Does the groovy jar get listed? The problem is that the JRE is not loading the groovy jar and therefore doesn't recognize groovy as a supported scripting language. Get Sage/the JRE to load that jar file properly and the problem should be fixed. Why isn't the jar being loaded? That's the real mystery. The SageTV classpath from the sage debug log might start to lead us to an answer...
__________________
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... |
#272
|
||||
|
||||
I had a similar issue when I first set this up. For me the solution had to do with using lower case for the groovy extension in both the SJQ4 configuration and in Windows. To change the case in Windows you have to first change it to a completely different name and then back with the correct case.
|
#273
|
|||
|
|||
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 |
#274
|
|||
|
|||
I posted a bug on the SJQ google code site and provided a log. Hopefully it won't be too hard for Tom to sort out, and if more than one person is seeing it maybe duplicating the issue won't be to hard
|
#275
|
|||
|
|||
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... |
#276
|
||||
|
||||
I'm running into a lot of queue management issues, I have to restart sage fairly often (once a day or so) and of coarse everything it was working on just stops. This is where V3 worked more the way I'd like, just scanning the recording directory and queuing up anything that didn't pass the test (existance of a comskip output file in my case). In v4 is there a way to restart whatever was being worked on rather than having to re-add the jobs manually?
Also, has anyone gotten the v3 'search and destroy' method up and running? |
#277
|
|||
|
|||
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... |
#278
|
||||
|
||||
Well I 'm having a lot of problems with Sage that have started recently, running out of memory, directv serial control issues, etc... once I track down the problem it'll be stable....
I was sorta hoping sjq4 would 'log' where it's at somewhere, what job has started, etc, and simply clear that or over-write it when task is completed sucessfully, checking that list and restarting anything there before starting new tasks.... oh well. I think I'm going to try and get the old v3 version of doing things up and running. I believe you wrote up a quick example... I'll try that first. One additional question: I'd like to do a channel test and skip if it matches the recording.... I've tried several things but I obviously just don't get it.... Any help appreciated! |
#279
|
||||
|
||||
I'll investigate, but not until the weekend. Thanks for the log file and video!
__________________
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. |
#280
|
|||
|
|||
Quote:
Quote:
Quote:
So you'll want to use something like: Code:
if(!(AiringAPI.GetAiringChannelName(mediaFile) =~ /HBO.*|SHOW.*|PPV.*|WPBS/)) { // This block is entered only if the channel callsign of the media file does not match the given regex }
__________________
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 |
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) | cslatt | SageTV Customizations | 48 | 06-11-2012 10:44 AM |
SJQv4: Technology Preview | Slugger | SageTV v7 Customizations | 39 | 12-17-2010 01:17 PM |
SageTV Plugin Developers: Any way to see stats for your plugin? | mkanet | SageTV Software | 4 | 12-12-2010 10:33 PM |
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin | deria | SageTV Customizations | 447 | 12-11-2010 07:38 PM |
SJQv4: Design Discussion | Slugger | SageTV v7 Customizations | 26 | 10-18-2010 08:22 AM |