View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 29 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Nov 16, 2005 6:42 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
I have just installed MythTV

I looked at syslog and mythbackend.log and I can't see why it crashes.

It can run approximatly for several hours before crashing.
Actually I started the box yesterday night to let it run all the night and this morning , it was up and running. I went to work (8:30 am) and came back today (5:30), and the frontend was not there anymore.
It's like it has exited.

I'm a newbie and I don't speak english fluently, but I tried to do my best and look at the forums to see similar problems. The only thing I saw that could be a problem was my chipset. (KT400). But the backend is still running. I can log in with ssh, use mythWeb. I also started a recording tonight through mythWeb and try to watch it in mythstream. I can open it in Window Media player. I have sound and video.

this is my config: (frontend and backend are on the same machine).
KnoppMyth R5A22
Ahanix D.Vine 4
gigabyte GA-7VAXP
Win TV 150
Maxtor DM 10 250 GB
1 GB RAM Elixir (I' ve tested it for more than 8 hours in memtest with success, no error).
MSI Nvidia FX5200 128 MB
Pioneer DVR-110D

Any help will be appreciated!!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 16, 2005 6:44 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
You can often view frontend errors by looking in the file ~mythtv/.xsession-errrors

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 16, 2005 6:45 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
I'm gonna look right now !


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 16, 2005 6:52 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
Nothing after 10:30 am this morning.

Code:
stream: start_time: -9223372036854.775 duration: -9223372036854.775 bitrate=638$
2005-11-16 10:30:13.820 AVFD: Opened codec 0x82e34e0, id(MPEG2VIDEO) type(Video)
2005-11-16 10:30:13.820 AVFD: Opened codec 0x82e2040, id(MP2) type(Audio)
2005-11-16 10:30:13.821 Opening audio device '/dev/dsp'.
2005-11-16 10:30:13.822 Opening OSS audio device '/dev/dsp'.
2005-11-16 10:30:14.026 SyncPositionMap liveTV, from Encoder: 5 entries
2005-11-16 10:30:14.274 Changing from None to WatchingLiveTV
2005-11-16 10:30:14.284 Realtime priority would require SUID as root.
2005-11-16 10:30:14.431 SyncPositionMap liveTV, from Encoder: 6 entries
2005-11-16 10:30:14.582 Video timing method: USleep with busy wait


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 16, 2005 9:36 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
Open an xterm and do df -h Note the cache size then do mythtv-setup and in general page ~2, set the cache 1 gig less than the cache value you got with df -h and try again. Also you may have to clean out some logs as when the error occurs the system can generate some large logs.

Mike


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 16, 2005 9:43 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
mjl,
the cache size I got from the command you gave me was 14 GB.
the cache size in general page 2 was 15 GB.

I changed it at 13 GB as you advice me. I hope it would help.
I will let it run all the night and tomorrow. I will see tomorrow when I'll come back from job.

thx


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 16, 2005 10:08 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Looks like the original of this got lost to an off topic post that Cecil cleaned up. Here is a little script to verify this:
Code:
root@black2:~# cat checkSize.sh
fatal () { echo "$*" ; exit 1 ; }
DB_BufferSize=$(mysql mythconverg -Bse \
"select data from settings where value = 'BufferSize'")
Real_BufferSize=$(df -B 1G /cache | awk '/\/cache/ {print $2}')
[ -z "$DB_BufferSize" ] && fatal "Could not read BufferSize from DB"
[ -z "$Real_BufferSize" ] && fatal "Could not get cache partition size"
echo "Size of /cache partiton is $Real_BufferSize Gb"
echo "BufferSize setting in DB is $DB_BufferSize Gb"
[ $DB_BufferSize -ge $Real_BufferSize ] &&
fatal "The BufferSize setting in the DB is too big for your partition!"
echo "That sounds pretty sane to me!"
exit 0
root@black2:~# ./checkSize.sh
Size of /cache partiton is 16 Gb
BufferSize setting in DB is 14 Gb
That sounds pretty sane to me!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2005 8:11 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
you can try running mythfrontend from an xterm window...often errors will be written to stdout and/or stderr (i.e. to the screen)

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2005 8:59 am 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
khrusher : I'm newbie. So just to be sure. I have to exit mythfrontend and start it from xterm? that's it? For now, I've changed to cache size. I'm waiting if it can fix the problem.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2005 9:12 am 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
tjc : I run the script you gave me. And I got.

Code:
Size of /cache partition is 16 Gb
BufferSize setting in DB is 13 Gb
That sounds pretty sane to me!


I'm so stupid, yesterday I looked at the "available value", so the problem doesn't come from the cache size. It was set to 15 GB and I have a 16 GB cache partition.(Not 14 GB).


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2005 9:37 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,

For grins, leave the mythtv-setup setting at 13g and try it. If it works try the 14g and then the 15g.

Mike


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2005 9:57 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
For now, it runs for 24 hours now without any crash.
I will let it run for the next 24 hours just to be sure.
I cross my finger.


something I'm wondering: with command dh -f, it's says 16 GB for the cache partition, with dh only, it says: 15750200

but 15750200 / 1024 / 1024 = 15 GB. Am I right?


Last edited by zetoune on Fri Nov 18, 2005 9:59 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2005 10:34 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
The difference is between decimal and real k/m/g.
    1000 vs. 1024 (2**10)
    1000000 vs. 1048576 (2**20)
    1000000000 vs. 1073741824 (2**30)

The script is very careful to use the same units.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2005 10:50 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
So I'm wrong when I divide by 1024. I have to divide by 1000.

I always thought:
1024k = 1M
1024M = 1G.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 18, 2005 10:01 am 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
frontend didn't crash but watching TV crashed.
now I'm trying frontend from xterm.
I'm gonna see.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 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