LinHES Forums
http://forum.linhes.org/

MythWeb on a remote front end
http://forum.linhes.org/viewtopic.php?f=11&t=9973
Page 1 of 1

Author:  Type82 [ Mon May 08, 2006 11:50 am ]
Post subject:  MythWeb on a remote front end

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?

Author:  Type82 [ Tue May 09, 2006 12:55 pm ]
Post subject: 

So basically the answer to my own question is to make my remote frontend a slave backend as well.

Author:  nickread [ Tue May 09, 2006 7:14 pm ]
Post subject: 

Are you actually talking about mythweb? Why run mythweb on a remote frontend with mythfrontend already working?

Author:  Type82 [ Wed May 10, 2006 2:28 pm ]
Post subject: 

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.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/