Hourly gaps in recording

Gilera

Young grasshopper
Apr 30, 2019
78
21
Australia
I have recently discovered a weird thing happening where 2 out of my 5 cameras show a 6 second gap in the recordings every hour.
I am running Blue Iris in a VM under Proxmox.
The 2 cameras in question happen to both be my Dahua 5442 cameras. This may be just a coincidence. The 3 other cameras are all different - 1 is a different model Dahua.
The gaps occur on one camera at 46 minutes and 47 seconds past the hour then the other one shortly after at 47 minutes and 56 seconds past the hour. Both have a gap of about 6 seconds and then start recording again.
All recordings go directly to an attached HDD which is passed through to the Windows VM. Continuous recording with oldest recordings automatically being deleted.
The gaps occur in both the UI3 and the console but strangely they only show up in the UI3 timeline as gaps. The console timeline is continuous but when it plays past that time the footage is missing for those 6 seconds.
I have BI logs turned on but nothing shows at those times.
I'm on Version 5.9.8.5

Any ideas what might be causing this?
 
Database Compact/reindex actions might explain this (they typically execute for only a few seconds, and recording is paused during the operator), but they don't typically run hourly, and are not camera-specific. Furthermore, they insert a 'reindexing' entry into the messages log.

If you have the Compact/reindex action checked on the Settings > Storage tab, you might try disabling it as an experiment.

The Database Compact/reindex action can be issued on-demand via an HTTP interface command (see below). Executing this command on a schedule is the only way I can think of for performing it hourly. Say via Task Scheduler, or an action set in Blue Iris settings > Schedule > Execute action set each X minutes.

/admin?db=rebuild, compact, maintain, status Initiates the specified database operation.
 
Last edited: