Hi there, I commented on an old thread here (https://premium.wpmudev.org/forums/topic/marketpress-writing-temp-files-to-vartmp) but I shouldn't have posted on the other one (sorry).
So, I have in this case a 22MB file I am selling via Marketpress. (I'm actually giving it away free at $0 if that makes a difference.) The problem is that with the demand I'm seeing, my var/tmp directory is filling up almost instantly, which is I understand where the plugin uses to hide the location of the file. Is there a way to change that to something else so that I can make a directory and point it to it?
After if happened I used define('MP_LARGE_DOWNLOADS', true); as a stopgap but that's not ideal. I had my host bump my var/tmp directory up to 4GB and took the line back out, and now I'm watching the var/tmp fill right back up.
Initially it was about 1,000 downloads per hour, but now it's only about 40 per hour. I thought just the initial demand filling it up was causing an error, but now that there's plenty of room there are no errors or hiccups and it's filling back up again. I also thought it was because I had payments set to sandbox (free download so it didn't make a difference to the user) but now that I have proper payment info it's still doing it.
Any ideas? My host also said I was being irresponsible by sending a 22MB file to var/tmp. If I placed the product to download on an external site would it still do the same thing?
I don't mind using define('MP_LARGE_DOWNLOADS', true); for now since it's a free download, but it's not ideal and I can't have the URL exposed when we sell the full album. Thanks.