[mythtv-users] alt lightweight web servers for MythTV?⎈

Mike Hodson mystica at gmail.com
Wed Apr 8 04:14:27 UTC 2015


On Tue, Apr 7, 2015 at 10:06 PM, James Miller <gajs-f0el at dea.spamcon.org>
wrote:

> The next step I need to undertake is getting Mythweb running under my new
> Gentoo/MythTV system. Having previously used pre-packaged MythTV distros I
> did not previously have a choice about what web server would be serving up
> Mythweb. But under Gentoo, I do face such a choice.
>

Indeed, Gentoo is great for all the choices it presents you :)


> I'd like to go with the lightest-weight, least resource-intensive web
> server possible since this system is a bit underpowered. I've heard there
> are web servers that do not require such hefty resources as Apache does, so
> I'm hoping I might use one of these instead.
>
> I've heard of Lighttpd, for example, and even found a dated web page
> describing how to set it up to serve Mythweb under Gentoo (
> http://www.gentoo-wiki.info/HOWTO_Setup_MythWeb_with_Lighttpd). I'm not
> sure to what degree I can depend on those almost-7-year-old directions, but
> they may yet work. Can anyone comment on using Lighthtpd to serve up
> Mythweb in place of Apache? Any assessments on the adequacy of the
> directions to which I've linked? And, finally, what are some other
> lightweight web servers I might consider? Or would you recommend just
> sticking with Apache?
>

There is a circumstance where these 'lightweight' servers are truly lighter
weight. It may not show so much in the on-disk footprint for example, as
even Apache doesn't really take up much space.  Their benefit is how they
process _massive_ amounts of connections of static files, and offload
dynamic php requests to highly streamlined servers like FastCGI or PHP-FPM.

For your uses, a 1-client MythWeb install will likely be a moot point with
regard to load differences between serving up the PHP instance for the 1
site.  PHP may be accelerated, cached really, by running in a FPM or
FastCGI configuration, with some sort of bytecode cache - this is optimal
for slower cpus, but does take a bit of ram. Not massive amounts, again, as
you are the only client...

I'd suggest sticking with Apache, as in its newest incarnation, they've
even added support for PHP-FPM to eliminate the somewhat buggy mod_fcgid...

Mike




> Input will be appreciated. Thanks.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150407/c4e98c9a/attachment.html>


More information about the mythtv-users mailing list