Re: mplayerplug-in-3.40 and /tmp files
Dennis Veatch <[email protected]>
| Newsgroups | gmane.comp.mozilla.mplayerplug-in |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 21 June 2007 11:47:17 am Kevin DeKorte wrote: > Dennis Veatch wrote: > > Hi folks and thanks for this handy plugin. > > > > Having a bit of an issue with it though and it happens using firefox or > > seamonkey and only when watching a video that uses mplayerplug-in. > > > > If you go here http://www.tv-links.co.uk/show.do/1/87 and pick one. What > > happens is, the link plays fine but eventually stops. Poking around I > > find when one of those links is clicked on, a /tmp/some.file.name gets > > created and no matter what settings I have for mplayerplug-in cache sizes > > this temp file continues to grow until my /tmp is full. It's currently > > set by /etc/fstab to 512M. > > > > I cannot find how to tell mplayerplug-in to use a different location for > > this temp file. I have the mplayerplug-in.conf setting as; > > dload-dir=/home/dveatch/tmp. But that doesn't seem to do anything unless > > I want to save the file, which atm is not my concern. > > > > So how do I tell mplayerplug-in to stop growing this tmp file size beyond > > the settings I have in it's conf? Or is this an issue with > > firefox/seamonkey? And for those two I have not found in about:config > > where to fiddle with tmp file placement. > > > > Thanks > > Ok, when the media can be cached, mplayerplug-in downloads it all... so > have two options.. > > 1. Set 'nomediacache=1' this will play everything directly from the > site with no caching, this could lead to stuttering or early termination > and so therefore is not recommended for media over the net. On private > network with diskless clients it works well. Yeah, I don't have a good enough broadband connection for that setting. > > 2. Set the environment var 'TMPDIR' to a directory with more space... > prior to launching firefox /home/uid/tmp would be an ok choice. I would > not recommend setting this to /home/uid since you could end up with a > bunch of crap in your home. > > 3. Change the code in mplayerplug-in. There are two places 'tempnam' is > used and it defaults to '/tmp' if TMPDIR is not set. You can change > those two locations to whatever location you want them to be. > Maybe item 2 should be the default for item 3? Then a user wouldn't have to twiddle with source code. > As a side note, typically I specify /tmp to be twice my physical RAM > size. So with a machine with 1GB of RAM I set tmp to be 2GB. More an > more I just leave /tmp on the same volume as / since I'm getting lazy > about it. But usually I make / about 20GB and leave the rest to /home. > But that is just on my personal machine. Servers I set up a little > differently. Usually I put the OS on / and then make a /data that is a > RAID volume. > > Kevin Well, seems I was falling down thinking cache would to just that and not download the whole shabang and observe the cache setting I told it to. -- Dennis You can tuna piano but you can't tune a fish. http://www.lunar-linux.org/ It's worth the spin. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/