Comment 2 for bug 352077

Revision history for this message
Andrew Roazen (andrew-roazen) wrote : Re: [Bug 352077] [NEW] multiple instances on one box undesirable

I think fundydan's approach linked here is what I was talking about:
http://ubuntuforums.org/showpost.php?p=6305480&postcount=11

If you still require me to write the patch myself I'll do it; I'm at work and can't do it right now.

I suspect multiple instances being accidentally triggered are what's behind the number of backend crashes I've been experiencing on and off over the last few months.

On 3/31/09 7:44 AM, "Mario Limonciello" <email address hidden> wrote:

Hi Andrew:

I think this is a good idea, if you can write a patch for the mythfrontend
startup script, that would be even better. It's in sh, and located at
/usr/bin/mythfrontend . We'd be glad to integrate it then.

On Mon, Mar 30, 2009 at 20:23, Andrew Roazen <email address hidden>
wrote:

> Public bug reported:
>
> MythTV does not restrict the number of instances of mythfrontend which
> can run simultaneously on the same box. There is no particular reason
> why one box should run multiple instances simultaneously and this can
> inadvertently lead to symptoms like the sound disappearing and
> performance degradation.
>
> The script or binary which mythfrontend runs should first check to see
> if the process already exists and refuse to continue if it does.
>
> Version installed: 0.21.0+fixes18722-0ubuntu1
> OS Description: Ubuntu 8.10 (Release: 8.10)
>
> Because MythTV is typically installed on a desktop OS, it is possible
> for users to inadvertently trigger multiple instances; some report this
> happening because of scripts associated with remote buttons. Rather than
> fix button scripts, the process should monitor itself -- unless there's
> some reason why it would be desirable for a single box to run multiple
> instances of the frontend. Again, I'm not talking about preventing
> multiple frontends running on multiple boxes, just limiting each box to
> one instance each of the frontend.
>
> ** Affects: mythtv (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> multiple instances on one box undesirable
> https://bugs.launchpad.net/bugs/352077
> You received this bug notification because you are a member of MythTV
> Ubuntu Maintainers, which is subscribed to mythtv in ubuntu.
>

--
Mario Limonciello
<email address hidden>
Sent from: Austin Texas United States.

--
multiple instances on one box undesirable
https://bugs.launchpad.net/bugs/352077
You received this bug notification because you are a direct subscriber
of the bug.