Opened 17 years ago
Closed 17 years ago
#2035 closed patch (fixed)
The backend does not detect when a transcoding job has died
Reported by: | Owned by: | cpinkham | |
---|---|---|---|
Priority: | minor | Milestone: | 0.20 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Every now and again the mythtranscode process will die - if it dies on a recording it is usually repeatable.
The problem is the backend still thinks there is a transcoding job in progress and will not start any new jobs.
Ideally the backend should detect that the process has died, mark it as failed, and move on to the next job.
A related issue is that the when the transcoding process has died it is not possible to delete the job in mythfrontend - the only options are to "stop" or "pause", neither of which do anything in this situation.
Workaround - deleting the recording will also delete the transcoding job and the backend will move on to the next job.
Running svn trunk 10407.
Nick
Attachments (1)
Change History (6)
comment:1 Changed 17 years ago by
Status: | new → assigned |
---|
Changed 17 years ago by
Attachment: | transcode_jobqueue_status.diff added |
---|
comment:2 Changed 17 years ago by
Type: | defect → patch |
---|
If the myth_system call returns anything different than "MYTHSYSTEMEXITEXECL_ERROR", "MYTHSYSTEMEXITCMD_NOT_FOUND" or "TRANSCODE_EXIT_RESTART" and mythtrancode wasn't succesful the status isn't changed.
Easiest way to reproduce should be killing mythtranscode.
Attached patch fixes the problem.
comment:3 Changed 17 years ago by
Milestone: | → 0.21 |
---|
comment:4 Changed 17 years ago by
Milestone: | 0.21 → 0.20 |
---|
Messed this up yesterday, meant to set the milestone to 0.20 since we have a patch now.
comment:5 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I need some more info on this one. Can you send me the mythbackend logs from when this happens? Since you say it is usually repeatable, run mythbackend with the "-v jobqueue" command line option and it should give some more useful debug info. Attach the logs starting at the point you can see mythtranscode running until the point where it looks like mythtranscode has died and myth isn't detecting it. Attach the log here and I'll take a look.