Re: php File upload
| From: | Tom | Date: | Thu, 07 Aug 2008 09:43:49 +0000 |
| Subject: | Re: php File upload | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277801@lists.php.net to get a copy of this message | ||
No, ist'not a php limit. The upload is written in main memory, if i look
with vmstat, free is going to 0 and the php upload breaks at 0 bytes free.
Nothing swap used. Any other ideas?
"Per Jessen" <per@computer.org> schrieb im Newsbeitrag
news:g7edki$ukp$1@saturn.local.net...
Tom wrote:
> Hi,
>
> on a linux system (Suese 10.2) with 1 GB memory its not possible to
> upload via http a 1 Gb File. Thats no limit problem on my php
> config. i can look the mem stats when uploading and the growing tmp
> file. If the temp file has 900 MB, Main Memory free is 0 and the
> script aborts and php deletes the tmp file.
>
> Why don't php use swap memory ?
It doesn't need to - as you've noticed, the uploaded file is being
written to disk, it's not being kept in memory.
This sounds like a php limit problem to me.
/Per Jessen, Zürich