Like it or not, it's still integrated in many sites :/ . And most of the time, the functionality it provides can be replaced by a gif file (like ads). Or a somewhat more advanced webpage using JS and the like. The fact that YouTube is migrating to html5 is a really good thing, I hope that many will follow soon. That will effectively extend the lifetime of my old HW since HTML5 is accelerated by the GPU whilst Flash generally is not...
As a sidenote, I find it very inconvenient that this plugin won't listen to TMP or TMPDIR variables (last time I checked). Then I could have fixed it whilst keeping /tmp as a tmpfs filesystem...
The fact that you two are thinking it's a viable solution suprises me. Moving around important pieces of infrastructure, just to get a browser plugin functioning under every circumstance and to use a TMP variable that points to a tmpfs fs, is not a good idea.
The elegance of using a seperate dedicated fs for /tmp was (for me) to enable noexec and friends, and to prevent misbehaving programs filling my root partition. This utterly fails right now because of a browser plugin -_-' dumping it's entire RTMP stream to disk...
The files are not visible in /tmp because flash creates them and then deletes them immediatly, but keeping it's fd's open. If you do a 'lsof -p $PID' where $PID contains the process handling the flash files you will see a reference to '/tmp/Flash-<numbershere> (deleted)'. These fd's can be accessed by /proc/$PID/$FD.Quote:
Originally Posted by droste
Sidenote, free size of the partition which holds /tmp shrinks.
I use the '$PID and $FD trick' in a script so VLC can open these files on my parents computer. They start the flash app in the browser, press pause to let it buffer the video and click on a script. VLC then opens mentioning the fd and then they click on it to display the video in full screen at full quality.
If I let Flash render the video it's choppy and skippy, since everything is apparently done on the CPU. While VLC offloads it to the GPU (nouveau!). So the computer is able to meet today's demands. However, things have turned out bad when it comes to video streaming.
I did not say or imply that. I said it would be an elegant solution if there were no such programs exhibiting this behaviour. And if they (mistakenly) did, the consequences would not be huge since I limit tmpfs usage to about 25% of system RAM.Quote:
Originally Posted by GreatEmerald
However, Flash is doing this on purpose and I cannot make it change it's behaviour unless I apply the '/tmp/tmp' trick which is IMHO not 'nice'.
And of course, the trick is not nice, but then your case is fairly isolated. There are few people with old PCs that use tmpfs and watch Flash videos. And since Flash is proprietary, not much can be done about it (unless you switch to Gnash/Lightspark).