More debugging on the issue. Turned up timout, no help..

what I noticed as I created larger files with DD was that the larger 
files *do* get transfered they just do not get moved from 
/tmp/cherokee_post_(random) to $DST_DIR (php defined) but
files 20mgs 30mgs 40mgs do.  I know this was not happening about 3 / 4 
versions ago as we have been testing file uploads. When I get in to the 
office I will roll back a few verisons to confirm.

More info on setup:

TARGET=ARM
HOST=amd64

but also tested on HOST (gentoo) both host and target are showing the 
same problem so its safe to say its not an ARM thing.

How to reproduce:

DD a large file:

dd if=/dev/zero of=./500MEG.txt bs=500M count=1

php script to upload the file.

<?php
$target_path = "/uploads/";

$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);

if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
    echo "The file ".  basename( $_FILES['uploadedfile']['name']).
        " has been uploaded";
} else {
    echo "There was an error uploading the file, please try again!";
}

?>

change $target_path to something you have the space to drop file in.

Monitor:

watch ls -alh /tmp/cherokee_post*

you will see the file *does* get transfered, but then its deleted.

Cheers,

V.




_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to