View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Jun 04, 2004 6:19 pm 
Offline
Joined: Mon May 24, 2004 10:52 am
Posts: 11
I am having a wierd problem with my setup (.15.1, knoppmyth backend with 2 pvr250).

If both pvr's are recording, and I am watching a previous recording on the xbox frontend, and it hits a time on a hour or half hour where the recordings need to complete, the backend crashes.

It doesn't crash if the frontend isn't watching a recording. I'm at a loss for what to do next. If there is a way to get more debug information or logging tell me how and I'll do it!

I have attached my mythbackend log, if there is something else that would help diagnose I would appreciate it!!

2004-06-03 18:21:26 MainServer::HandleAnnounce FileTransfer
2004-06-03 18:21:26 adding: xbox.localdomain.local as a remote file transfer
2004-06-03 18:30:00 Changing from RecordingOnly to None
2004-06-03 18:30:00 Changing from RecordingOnly to None
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
Starting up as the master server.
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
Attempting to initialize DCT
Attempting to initialize DCT
Reading current channel
2004-06-03 18:32:59 mythbackend version: 0.15.20040525-1 www.mythtv.org
2004-06-03 18:32:59 Enabled verbose msgs : important general
Changing from channel 12 to channel 38
Reading current channel
Changing from channel 47 to channel 361
2004-06-03 18:33:01 Found changes in the todo list.
Success!
361
Success!
38


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 04, 2004 8:12 pm 
Offline
Joined: Mon Feb 02, 2004 11:06 am
Posts: 24
I dont know if this applies to you or not, but when I have commercial flagging turned on and have two tuners that just finished a recording, the backend will crash everytime when the flagging operation starts. I think there is a conflict when more than one tuner is in the box.

Try disabling commercial flagging. Like I said, it may not apply to your problem, but it worked for me.

-S


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 04, 2004 9:03 pm 
Offline
Joined: Mon May 24, 2004 10:52 am
Posts: 11
Ok, I turned it off, will report back if it clears the problem or not.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 07, 2004 1:59 am 
Offline
Joined: Fri Apr 16, 2004 2:41 pm
Posts: 15
Same problem here. With two tuners (on .14 .15 and .15.1) mythbackend sometimes crashes after two programs finish recording at the same time. With commercial flagging turned off, the problem is fixed. I'm thinking that with flagging turned on (and with two cards) there are two flagging processes going at the same time and perhaps they load the system too much.

However, I love the commercial flagging so I setup a cron job to run the commercial flagging program.

Here is what I've done:

As root: crontab -e
Added this line to the end: 10,40 * * * * /usr/bin/mythcommflag --quiet --sleep
Quit and Save ("ESC" ":" "wq")

mythcommflag checks for all unflagged files and flags them sequentially. I have this running on the 10s and 40s of the hour as I seem to have a lot of things going on at the 5s and 35s of the hour.
I'll post after a week or so to see is this fixes the stability issue.

HTH


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 07, 2004 6:51 am 
Offline
Joined: Mon May 24, 2004 10:52 am
Posts: 11
I turned off my commercial flagging also and have not had a crash since. I just went and added the mythcommflag to the cron.daily but this is a much more elegant solution!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 07, 2004 8:30 am 
Offline
Joined: Mon Feb 02, 2004 11:06 am
Posts: 24
Eric,

Thanks for that cron job suggestion, I will be trying this tonight for sure!

Perhaps this should be added to the commercial flagging options screen? I'm sure many people have had this same problem in the past.

Cheers,
-S


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 07, 2004 3:12 pm 
Offline
Joined: Fri Apr 16, 2004 2:41 pm
Posts: 15
snaef999 wrote:
Eric,

Thanks for that cron job suggestion, I will be trying this tonight for sure!

Perhaps this should be added to the commercial flagging options screen? I'm sure many people have had this same problem in the past.

Cheers,
-S


No problem, I hope it works for you. I don't know that they would add it as an option to the mythtv UI as I think the crashing is just a bug. Perhaps not enough testing is happening with dual cards...but I don't really know.

My assumption is that the recording processes don't know about each other. And since the flagging takes a bit of CPU power, when two or more are running, they may cause some problems. I am totally guessing though as I don't know how this function really works.

By running mythcommflag, I do know that the flagging of files is happening one file at a time and perhaps the problem can be avoided this way.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 09, 2004 7:31 am 
Offline
Joined: Sat May 22, 2004 1:42 pm
Posts: 49
I'm experiencing something similar to what's described in this thread and am going to try this solution as well..

Out of curiosity, how many backend processes do you guys normally see?

I'm seeing ~ 14 on my box and wonder if that's normal... (I see the same number of mysql processes as well)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 09, 2004 8:03 am 
Offline
Joined: Fri Apr 16, 2004 2:41 pm
Posts: 15
scottf wrote:
I'm experiencing something similar to what's described in this thread and am going to try this solution as well..

Out of curiosity, how many backend processes do you guys normally see?

I'm seeing ~ 14 on my box and wonder if that's normal... (I see the same number of mysql processes as well)


Sounds about right, I have 13 going when I just checked


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu