PDA

View Full Version : Download stops on large files


pmquist
03-03-2011, 05:56 AM
Please help me, my downloading stops on the same amount (16Mb) every time even though the document is 19 Mb. I realise it is some setting somewhere, but i dont know which one.

Regards / PerOla

WEBDosser
03-03-2011, 06:35 AM
if you are on shared hosting you need to talk to them about it..

pmquist
03-03-2011, 06:49 AM
Thanks for the reply.

Sorry, I should of course mentioned that I am not on a shared hosting. However I am not a PHP-guru and I am not sure what settings I shall adjust to have it working.

/PerOla

snakes1100
03-03-2011, 10:21 AM
Follow link #1 in my sig.

pmquist
03-03-2011, 10:40 AM
Thank you snakes,
However it is a download limit i face. I can upload up to 32 Mb but when downloading it stops at 15.9 Mb.

Do you have any clues about that?

Regards / PerOla

snakes1100
03-03-2011, 10:57 AM
Sorry, guess its to early, could of swore you said upload or i just dont have enough coffee in me yet.

What are the following set at in php.ini?
max_execution_time
memory_limit
max_input_time

pmquist
03-03-2011, 11:06 AM
The coffe is a very important morning ingrediens... I have had 2 cups already. On the other hand is time in Sweden 2 in the afternoon...:)

max_execution_time: 600
memory_limit : 128 MB
max_input_time : 60

snakes1100
03-03-2011, 07:13 PM
what settings you have for these in my.cnf

max_allowed_packet
max_packet_size
wait_timeout

pmquist
03-04-2011, 04:48 AM
I suppose it is the MySQL settings that is controlled by my.cnf? Since i dont know the exact location of that file i looked at server variables and settings in MySQLadmin.

In that case it is:
max_allowed_packet: 33554432
max_packet_size: I cant see that this variable is set?
wait_timeout: 60

Regards / PerOla

snakes1100
03-05-2011, 10:43 AM
The two seem to be fine.

At this point, i don't know if its something simple or not, without looking at the server.

I'd suggest you start with the simple things:
globally disable hacks
turn on debug in apache & php & tail the logs when your attempting the download
disable any fw or security protection like suhoisn etc