View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon May 08, 2006 11:50 am 
Offline
Joined: Thu Sep 22, 2005 12:05 pm
Posts: 45
Location: Northern Kentucky
I'd like to be able to use mythweb on a remote frontend so I can stream some shows and not tax the cpu on the backend.

When I try to access mythweb on the remote frontend, I get this:

Database Error

Can't connect to the database server. Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [#2002]


Is there any way to configure mythweb to connect to a remote mysql server?


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 09, 2006 12:55 pm 
Offline
Joined: Thu Sep 22, 2005 12:05 pm
Posts: 45
Location: Northern Kentucky
So basically the answer to my own question is to make my remote frontend a slave backend as well.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 09, 2006 7:14 pm 
Offline
Joined: Tue Nov 22, 2005 7:57 pm
Posts: 295
Location: Auckland, New Zealand
Are you actually talking about mythweb? Why run mythweb on a remote frontend with mythfrontend already working?

_________________
HP VL400 (PIII 866), Skystar2 2.6D, PVR350, Nvidia FX5200, 384MB, 200GB, KnoppMyth R5.5


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 10, 2006 2:28 pm 
Offline
Joined: Thu Sep 22, 2005 12:05 pm
Posts: 45
Location: Northern Kentucky
The original goal was to be able to stream recordings from the remote frontend. The load on the backend was pretty high and streaming from it was causing allot of rebuffering. I assumed the rebuffering was caused by the high load of the backend (normaly com flagging) because I was getting the same results from watching a stream at a remote location as well as on the same local network. I figured I could use the frontend to do the streams.

The vlc process thats spawns when you start a stream eats up allot of system resources. My overall goal was to offload some of the work to a different machine. But now I see that I should still use mythweb on the master backend for two reasons. When I'm using mythweb on the frontend (with /myth mounted via nfs), I'm getting an error when vlc tries to play the file. I could have worked on this a little bit more, but then I found that since now there are two backends processing com flag jobs, the load on the master backend stays pretty low.

So I'm back accessing mythweb on the master backend with it doing the streams. I still have to rebuffer from time to time, but I believe some of those are being caused by network issues at the remote location where I'm viewing the streams from.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 15 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu