Re: php File upload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> schrieb im Newsbeitrag 
news:g7edki$ukp$1@xxxxxxxxxxxxxxxxxxx
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux