Welcome Guest, Not a member yet? Register   Sign In
uploading file very slow above 500k
#1

[eluser]pck76[/eluser]
Hi All

i have a form used to upload images;

the function called by the form does:
a) upload image
b) resize image
c) write image name (and other parameters) into the databasea

I have no problems with files up to 500kB. these are uploaded, resized and written into DB with no problems (so - permissions work and the function itself works as well).

now as soon as i try to upload something above 500kb eveything becomes very slow. In general, i'm often able to upload up to 600kb (although it takes 20-30 sec), but if I go above that i just end up waiting for a minute or so and then I'm presented with a blank page.
No errors, no messages, just an empty page. Image hasn't been uploaded, and the BD hasn't been written.

Data from the ini file
post_max_size: 32M
max_input_time: 60
max_execution_time: 45
file_uploads: 1
upload_max_filesize: 24M
memory limit: 96M

error logs in codeigniter are clean:
[....]
DEBUG - 2011-12-14 08:22:15 --> Helper loaded: form_helper
DEBUG - 2011-12-14 08:22:15 --> File loaded: application/views/pages/admin/update_form.php
DEBUG - 2011-12-14 08:22:15 --> File loaded: application/views/components/footer.php
DEBUG - 2011-12-14 08:22:15 --> File loaded: application/views/template.php
DEBUG - 2011-12-14 08:22:15 --> Final output sent to browser
DEBUG - 2011-12-14 08:22:15 --> Total execution time: 0.0277

log threshold is set to 4 (everything should be logged)

error_reporting is set to E_ALL

even the php_log in the root of codeigniter is clean!

I really don't know what else to change to make it work. Any ideas?
thanks
Patrick






Theme © iAndrew 2016 - Forum software by © MyBB