Bug #956

1-second events and avlib errors when recordings cannot be written

Added by John Brooks 8 months ago. Updated 5 months ago.

Status:Resolved Start date:09/12/2011
Priority:Normal Due date:
Assignee:John Brooks % Done:

100%

Category:Server Spent time: -
Target version:2.0.0-beta9.1
Release Blocker:No Affected Release:
Operating System:

Description

When the server fails to create the file for a recording, it enters a horrific loop of restarting the recording and failing every second, including lots of random and confusing avlib errors, CPU usage, and polluting the database with these useless 1-second-long events. This may also be a factor in causing video input corruption (#853).

This situation should be handled gracefully, without avlib errors, and without putting continuous events in the database that have no associated recording. Emitting an error event would be ideal, but that can be done under a separate bug if the log output can be improved. Retrying once per second is also non-ideal in the case of errors like these.

Reproduce:
  1. Set at least one device to continuous recording
  2. chmod 000 /var/lib/bluecherry/recordings/
  3. restart bluecherry
  4. Observe 1-second events and the spew in bluecherry.log

Related issues

related to Version 2 - Bug #965: Recording errors result in a continuous stream of useless... Resolved 09/26/2011

History

Updated by John Brooks 5 months ago

  • Status changed from New to Assigned
  • Assignee set to John Brooks
  • Target version changed from 2.x (Staging) to 2.0.0-beta9.1

Updated by John Brooks 5 months ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF