Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

2 Answers 2

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/libflashplayer.so --connection /org/wrapper/NSPlugins/libflashplayer.so/30310-2

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

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

 
discard

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.