Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The java/flash plugin support in the browsers seems a little iffy (not to mention hard to configure.) My specific question is, is it possible to kill the flash/java PID and restart the process? Anyone know how to ID these plugin processes? I've closed out the browser and reopened, it doesn't seem to die with them. Is flash persistent?

share|improve this question
up vote 4 down vote accepted

Flash typically isn't persistent but can hang. For Chrome and Firefox (at least) the Flash plugin runs under the following guise (If you're using flashplayer-nonfree):

/usr/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin /usr/lib/flashplugin-installer/ --connection /org/wrapper/NSPlugins/

To find the pid you could simply run the following from the command line:

ps -aef | grep flashplayer

This should produce an eight columned list. The second and third columns are the pid and parent pid (respectively) so you should be able to just run kill <pid> replacing the bracketed pid with the numerical PID.

As for restarting the flashplayer plugin it should automatically start up again on the next invocation (or refresh) of a page requiring flash.

share|improve this answer
This has changed in the latest release to /usr/lib/firefox-3.6.10/plugin-container but the ps command stands. – Oli Oct 9 '10 at 12:12
When I try this the pid increments (by 2) on each ps -aef query, and isn't found when I try to kill it... Its parent pid persists though – Louis Maddox Mar 19 '15 at 19:29

I generally get rid of poorly behaved flash processes with 'killall npviewer.bin'. It will usually reload with a refresh.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.