WebPagetest Forums
Zillions of leaked Flash processes - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Zillions of leaked Flash processes (/showthread.php?tid=13762)



Zillions of leaked Flash processes - adamcath - 06-08-2015 07:05 AM

Hi folks,

We're running some private instances. After running tests for a few days, we have hundreds of Flash processes sitting around. I assume these get leaked from some test. I thought that WPT had some kind of process killer to avoid this. Perhaps I have it misconfigured? Can someone point me to the relevant code, docs, or config?

Thanks,
Adam


RE: Zillions of leaked Flash processes - braincracking - 06-08-2015 06:05 PM

WPTdriver is supposed to reboot the computer from time to time, precisely to prevent such things to happen.
I'm not sure if this is still the case though, so personally I configured my agents to reboot every 12 hours


RE: Zillions of leaked Flash processes - docwho76 - 06-09-2015 03:33 AM

(06-08-2015 06:05 PM)braincracking Wrote:  WPTdriver is supposed to reboot the computer from time to time, precisely to prevent such things to happen.
I'm not sure if this is still the case though, so personally I configured my agents to reboot every 12 hours

Patrick took that functionality out of WPTdriver back in 2013

http://www.webpagetest.org/forums/showthread.php?tid=12539


RE: Zillions of leaked Flash processes - braincracking - 06-10-2015 05:55 AM

good to know
Anyway, as said I configured the OS itself to reboot frequently, that should solve adamcath problem


RE: Zillions of leaked Flash processes - pmeenan - 06-11-2015 12:15 AM

It should kill any child processes that are spawned by the browser but it's possible that something with the flash processes is going down a different path. Adding a pre and post-test pass that kills well-known processes would be trivial. Is it flash.exe or what is the actual process(es) running?

As far as rebooting goes, I usually run my agents without rebooting and they're usually good for months without having any issues though Windows Update is set on automatic and is usually good for rebooting them every few weeks anyway.


RE: Zillions of leaked Flash processes - Kevin117007 - 06-11-2015 07:38 AM

Pat, here's a screenshot of what is happening on our agent. For reference, this problem only appears when running a test in firefox:

http://imgur.com/DVGAJVq

We are currently running windows Server 2012.

The name of the process in question is FlashPlayerPlugin_17_0_0_169.exe


RE: Zillions of leaked Flash processes - Kevin117007 - 06-17-2015 11:48 AM

Hey guys, so we figured out the problem(somewhat). Beacuse we are running on Windows Server 2012, things are a bit locked down. When we start a test in frefox, flash would run in what's called protected mode(http://blogs.adobe.com/security/2012/06/inside-flash-player-protected-mode-for-firefox.html). However, because of our locked down security, some access permission would fail and cause it to crash. That was what was causing all the extraneous flash processes.

The solution:

Simply disable flash protected mode. This can be done easily by adding the following line to firefox's prefs.js file:

user_pref("dom.ipc.plugins.flash.disable-protected-mode", true);


Problem solved Smile