Re: php File upload
| From: | Per Jessen | Date: | Thu, 07 Aug 2008 14:27:18 +0000 |
| Subject: | Re: php File upload | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277818@lists.php.net to get a copy of this message | ||
Tom wrote:
> But on a big website with upload enabled and 30 users upload simultan
> a 20 MB File, they lost the upload while php hold all in memory/Cache
> and swap is not used. I don't understand why php write the upload
> chunck for chunck (i can look this) in upload temp file AND holds the
> upload in main memory.
Well, I can't reproduce the problem - I uploaded a 1Gb file, and I never
saw apache memory usage go beyond 15Mb.
Might this problem be in your code processing the uploaded file(s)? In
this test I just uploaded the file, I never tried to process it.
/Per Jessen, Zürich