I'm running Ubuntu Hardy server in some different servers.
My new Hardy server has a very different behaviour about the files uploaded using forms (http post).
For old servers, the temporary file been uploaded was stored on hard disk while it was uploading.
For the new server, the tmp is stored on memory and dumped to the tmp folder on disk when upload has finished.
Anybody knows how to change this behaviour ?.
The upload process memory consumption is very high for large files.
Thanks for reply.
The tmp location was already changed and it's ok.
The file is stored at the tmp folder 'after' upload finishes, and the php script copies the file to its final location without problem.
The strange behaviour is that temporary file portions are not stored at the tmp folder until upload finishes.
My other servers (same Ubuntu Hardy O.S.) do not work that way. I can see how temp file is stored byte by byte at temp folder during uploading...
That's the way I discovered the diference between old and new server.
For old one, the php* tmp file exists inside the tmp folder and grows up accordingly, during the upload.
For new one, the php* tmp file doesn't exist until the upload is finished. And the ram memory used (logged using top) grows up until the upload is finished.
The php and apache memory directives are properly set.
Is there some system global 'max memory usage per thread' ?.