Forum

Speed Test - Upload problem

Jason
29 January 2015, 01:10
Anyone who have running Open Source Speed Test program (http://www.brandonchecketts.com/open-source-speedtest) on Hiawatha?

The download part working fine.

The upload part almost working until reached at 99% of the bar status, waiting then came up with 500 Internal Server error. The log showed 'CGI application timeout'.

Anyone have working configuration on Hiawatha for this speed test (upload part)? Or do need to look at php.ini or php-fpm.conf?

Hiawatha version: 9.8
Jason
29 January 2015, 01:19
Forget to mention that upload part is cgi script. The download part is php script.
Hugo Leisink
29 January 2015, 08:59
Tried the TimeForCGI setting yet?
Jason
29 January 2015, 12:49
Yes, tried to increase that setting up to 120 (2 minutes) but still same 500 error and error.log showed:

-0500|/var/www/jason/speedtest/cgi-bin/upload.cgi|CGI application timeout

If I use FastCGI or not, same 500 error and same log message above.

Can that be something to do with either php.ini or php-fpm.conf settings?

Can you reproduce this?

Hugo Leisink
29 January 2015, 14:39
I tested the script myself, but simply requesting the homepage of this tool gave me a lot of PHP errors. Looking at the code, I conclude that this is buggy PHP code.
This topic has been closed.