Bug 651717

Summary: npviewer.bin in idle state contributes to high system load
Product: [Fedora] Fedora Reporter: jurek.bajor
Component: nspluginwrapperAssignee: Martin Stransky <stransky>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: caillon, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-16 12:41:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jurek.bajor 2010-11-10 07:25:44 UTC
Description of problem:
I noticed that on my F14 32-bit system there is a package installed:
$ yum info nspluginwrapper

Once I start playing youtube flash video one of its executables, npviewer.bin,
gets activated.
The problem is that when I stop playing youtube, it still is shown in top and
contributing approx. 2-3% CPU, but also in Powertop and contributing approx.
15% to wakeups.

According to:
http://fedoraproject.org/wiki/Flash
this package is part of 32-bit installation instructions; it is even said that
... a default graphical install of 32-bit Fedora already includes both
nspluginwrapper and ...

As I understand this package is not needed on 32-bit Fedora.
So why is it included at all ?
But even if it is, why is it activated, at least under circumstance described
above ?

As a mater of fact, I removed it (there were no dependencies on it), started
youtube and all was OK.

Rahul Sundaram explained:
"It forces the plugins to run in a separate process bringing in more
stability and helps secure it with SELinux."

But, we have a problem on Fedora with excessive CPU loads/wakeups in machine
idle state, coming from different sources (kernel, user apps), which we try to
find.
When a process finishes its task in a system (here: playing flash video), it
should release its resources, assuming they are not shared by other processes.

Version-Release number of selected component (if applicable):
nspluginwrapper.i686          1.3.0-14.fc14                    fedora

How reproducible:


Steps to Reproduce:
1. install nspluginwrapper and powertop
2. start youtube video
3. watch npviewer.bin in '# powertop' and '$ top'
4. stop youtube video
5. watch npviewer.bin in '# powertop' and '$ top'

Actual results:


Expected results:


Additional info:

Comment 1 Martin Stransky 2010-12-16 12:41:25 UTC

*** This bug has been marked as a duplicate of bug 426968 ***