Linux - Size Limit On "tmp"
Posted on 2011-05-11
I have a odd question. All our websites run under Debian and it has all the latest updates.... at least that is what I think. About three weeks ago, I notice that there were a size limit on normal file upload. I couldn't upload any file over 1MB. Later I find out that it was the size limit set for "tmp" directory on the Debian server. I changed the php configuration, so that it pointed else where and not "tmp". That fixed it. But that was only the beginning, other components do use tmp also. Now when the crontab runs and try to generate xml files, it will only be able to generate one file that is under 1MB. But when I run it manually without the crontab, it was able to generate all xml files. I believe the reason it was able to generate those files when I run it without crontab is that the php temp memory location is set else where and not "tmp". My question is there a way to remove the size limit to directory "tmp", not the directory itself. Also, how did that size limit was created for tmp when no one had created it? Thanks.