html5_speedtest icon indicating copy to clipboard operation
html5_speedtest copied to clipboard

Wrong behavior when downloading

Open MoustafaMohA opened this issue 7 years ago • 5 comments

When I deployed the speedtest on cloudfactory platform with PHP custom buildpack it shows a strange behavior, download test never ends, it keeps retrying

It took less than 8 seconds to download 10MB of data... Restarting with 20MB! It took less than 8 seconds to download 20MB of data... Restarting with 40MB! It took less than 8 seconds to download 40MB of data... Restarting with 80MB! It took less than 8 seconds to download 80MB of data... Restarting with 160MB! It took less than 8 seconds to download 160MB of data... Restarting with 320MB! It took less than 8 seconds to download 320MB of data... Restarting with 640MB! It took less than 8 seconds to download 640MB of data... Restarting with 1280MB! It took less than 8 seconds to download 1280MB of data... Restarting with 2560MB! . . . .

Progress bar on gauge is not correctly show any progress.

MoustafaMohA avatar Feb 20 '18 12:02 MoustafaMohA

Plus +1

SirPrikol avatar Oct 02 '18 21:10 SirPrikol

I found a solution 👍

  • You need to add mbstring module to your PHP
  • Then edit PHP config and modify these values to become:
 "memory_limit = 256M" 
 "upload_max_filesize = 200M" 
 "post_max_size = 200M" 

And it should work... Thanks, Moustafa

MoustafaMohA avatar Oct 06 '18 20:10 MoustafaMohA

I have "memory_limit = 1024M" "upload_max_filesize = 1024M" "post_max_size = 1024M"

And not working

SirPrikol avatar Oct 07 '18 08:10 SirPrikol

It should be the same numbers

MoustafaMohA avatar Oct 07 '18 09:10 MoustafaMohA

No^ sincerely working only upload Check - https://it39.gq

SirPrikol avatar Oct 07 '18 10:10 SirPrikol