[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fix high CPU usage when the output module unexpectedly stops
From: |
Luke Yelavich |
Subject: |
[PATCH] Fix high CPU usage when the output module unexpectedly stops |
Date: |
Thu, 29 May 2014 15:11:25 +0200 |
On Wed, Sep 25, 2013 at 08:04:41PM CEST, Chris Brannon wrote:
> Gilles Casse <gcasse at oralux.org> writes:
>
> > Speech-dispatcher can consume most of cpu resources if the output module
> > stops.
> >
> > For example, this issue can be observed on fedora 19 with speech dispatcher
> > 0.8, when the user logins from a gdm with screen reader on.
> > Then, the output modules used by gdm are stopped which is followed by a
> > high cpu usage.
>
> I looked at your patch. Basically, you kill Speech Dispatcher if one of
> the output modules stops.
> That certainly solves the problem. Maybe it would be nice if SD could
> gracefully switch to a new module or restart the one that
> stopped. But what you have here is good enough for me. If there are no
> objections, I'll push it for you.
I have applied this patch, and added a FIXME note as a reminder that we need to
handle this more gracefully in the near future.
Luke
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Fix high CPU usage when the output module unexpectedly stops,
Luke Yelavich <=