• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • The forum software that supports hummy.tv has been upgraded to XenForo 2.0!

    This is a major upgrade which changes the look and feel of the forum somewhat but brings a host of improvements too. Please bear with us as we continue to tweak things and report any issues or suggestions in Site/Forum Issues.

[webif] Web Interface 1.2.x

I've done the same here but I don't recall seeing any failures.
I could send you a debugging version if you experience them fairly often.
A watched pot never boils and a watched program never fails!
I haven't seen any failures since turning on the debugging - failures have always been rare and unpredictable and only spotted when detectads doesn't start when expected
 
A watched pot never boils and a watched program never fails!
I haven't seen any failures since turning on the debugging - failures have always been rare and unpredictable and only spotted when detectads doesn't start when expected
Having said I have seen no failures it actually failed during the night
Code:
Mon May  2 03:08:56 2016 Event - [/media/My Video/Blue Murder/Blue Murder_20160502_0215.hmt]
        [CLOSE_WRITE,CLOSE]
Mon May  2 03:09:06 2016 Event - [/media/My Video/Blue Murder/Blue Murder_20160502_0215.hmt]
        [CLOSE_WRITE,CLOSE]
Mon May  2 03:09:17 2016 Event - [/media/My Video/Blue Murder/Blue Murder_20160502_0215.hmt]
        [CLOSE_WRITE,CLOSE]
Mon May  2 03:09:26 2016 Event - [/media/My Video/Blue Murder/Blue Murder_20160502_0215.hmt]
        [CLOSE_WRITE,CLOSE]
Mon May  2 03:09:32 2016 Event - [/media/My Video/Blue Murder/Blue Murder_20160502_0215.nts]
        [CLOSE_WRITE,CLOSE]
Mon May  2 03:09:32 2016 Event - [/media/My Video/Blue Murder/Blue Murder_20160502_0215.ts]
        [CLOSE_WRITE,CLOSE]
Mon May  2 03:09:32 2016 Event - [/media/My Video/Blue Murder/Blue Murder_20160502_0215.hmt]
        [CLOSE_WRITE,CLOSE]
Mon May  2 03:09:37 2016 End: 1462154972 (5726b6dc)
Mon May  2 03:09:37 2016 Now: 1462154977 (5726b6e1)
Mon May  2 03:09:37 2016 Directory entries: 10
Mon May  2 03:09:37 2016 Spawning thread [aa_setencflag].
Mon May  2 03:09:37 2016 Spawning thread [auto-unprotect].
Mon May  2 03:09:37 2016 Spawning thread [autotrigger].
Mon May  2 03:09:37 2016 Spawning thread [flatview].
Mon May  2 03:09:37 2016 Spawning thread [radio_mp3].
Mon May  2 03:09:37 2016 Spawning thread [rm_detectads].
Mon May  2 03:09:37 2016 Spawning thread [rslog].
02/05/2016 03:09:38 : -stop {/media/My Video/Blue Murder/Blue Murder_20160502_0215}
Mon May  2 03:09:38 2016 <- /mod/etc/recmon.d/aa_setencflag -stop "/media/My Video/Blue Murder/Blue Murder_20160502_0215" = 0
Mon May  2 03:09:38 2016 Spawning thread [webiflog].
Mon May  2 03:09:39 2016 <- /mod/etc/recmon.d/radio_mp3 -stop "/media/My Video/Blue Murder/Blue Murder_20160502_0215" = 0
Mon May  2 03:09:39 2016 <- /mod/etc/recmon.d/webiflog -stop "/media/My Video/Blue Murder/Blue Murder_20160502_0215" = 0
02/05/2016 03:09:39 detectads: -stop {/media/My Video/Blue Murder/Blue Murder_20160502_0215}
Mon May  2 03:09:39 2016 <- /mod/etc/recmon.d/rm_detectads -stop "/media/My Video/Blue Murder/Blue Murder_20160502_0215" = 0
Mon May  2 03:09:40 2016 Event - [/media/My Video/ [FlatView]/Blue Murder_20160502_0215.ts]
        [CREATE]
Mon May  2 03:09:40 2016 Event - [/media/My Video/ [FlatView]/Blue Murder_20160502_0215.nts]
        [CREATE]
Mon May  2 03:09:40 2016 Event - [/media/My Video/ [FlatView]/Blue Murder_20160502_0215.hmt]
        [CREATE]
Mon May  2 03:09:40 2016 Start: 1462151707 (5726aa1b)
Mon May  2 03:09:40 2016 Now: 1462154980 (5726b6e4)
Mon May  2 03:09:40 2016 Time mismatch.
Mon May  2 03:09:40 2016 Event - [/media/My Video/ [FlatView]/Blue Murder_20160502_0215.loc]
        [CREATE]
Mon May  2 03:09:40 2016 Event - [/media/My Video/ [FlatView]/Blue Murder_20160502_0215.info]
        [CREATE]
Mon May  2 03:09:40 2016 Event - [/media/My Video/ [FlatView]/Blue Murder_20160502_0215.info]
        [CLOSE_WRITE,CLOSE]
02/05/2016 03:09 - FV: +++ Adding Blue Murder_20160502_0215
Mon May  2 03:09:40 2016 <- /mod/etc/recmon.d/flatview -stop "/media/My Video/Blue Murder/Blue Murder_20160502_0215" = 0
Mon May  2 03:09:41 2016 <- /mod/etc/recmon.d/autotrigger -stop "/media/My Video/Blue Murder/Blue Murder_20160502_0215" = 0
Mon May  2 03:09:42 2016 <- /mod/etc/recmon.d/rslog -stop "/media/My Video/Blue Murder/Blue Murder_20160502_0215" = 0
Mon May  2 03:09:51 2016 Event - [/media/My Video/Blue Murder/Blue Murder_20160502_0215.hmt]
        [CLOSE_WRITE,CLOSE]
Mon May  2 03:09:52 2016 Event - [/media/My Video/Blue Murder/Blue Murder_20160502_0215-crop.nts]
        [CLOSE_WRITE,CLOSE]
Mon May  2 03:09:52 2016 Event - [/media/My Video/Blue Murder/Blue Murder_20160502_0215-crop.hmt]
        [CLOSE_WRITE,CLOSE]
Mon May  2 03:09:52 2016 Event - [/media/My Video/Blue Murder/Blue Murder_20160502_0215-crop.ts]
        [CLOSE_WRITE,CLOSE]
Mon May  2 03:09:52 2016 Event - [/media/My Video/Blue Murder/Blue Murder_20160502_0215.hmt]
        [CLOSE_WRITE,CLOSE]
Mon May  2 03:09:52 2016 Event - [/media/My Video/Blue Murder/Blue Murder_20160502_0215.hmt]
        [CLOSE_WRITE,CLOSE]
Mon May  2 03:09:52 2016 Event - [/media/My Video/Blue Murder/Blue Murder_20160502_0215.ts]
        [MOVED_FROM]
Mon May  2 03:09:52 2016 Directory entries: 10
Mon May  2 03:09:52 2016 Spawning thread [aa_setencflag].
So it failed before writing the next expected Spawning thread [auto-unprotect]. message

aa_setencflag does nothing other than logging its calling argument
Code:
#!/mod/bin/jimsh

puts "[clock format [clock seconds] -format "%d/%m/%Y %H:%M:%S"] : $argv"
return
There have been numerous previous successful occasions where all the routines have been spawned for the MOVED_FROM event so it is not obvious what failed this time

I hope this help identifies where additional Catch protection might be needed
 

peterworks

Ye Olde Bowler
ian_j not sure how you got on with resetnew. However I had this a while ago and have implemented the following (with thanks to MymsMan)
A quick way of automating resetting the counts would be to edit /mod/var/spool/cron/crontabs/root using the file editor on the diagnostics page
Code:
52 * * * * diag resetnew >/dev/null 2>&1
That would reset the counts hourly at 52 mins past the hour.