Forums | Mahara Community

Support /
Receive file and view are slow


Rocky YIP's profile picture
Posts: 28

09 July 2015, 2:17 PM

Dear all,

I am using Mahara 1.9 and found that the file receive from the system is slow, sometimes get file need more than 6 minutes. However, the database and web server were not busy.

Here is the apache log:


xxx.xxx.xxx.xxx  - - [09/Jul/2015:10:03:16 +0800] "GET /artefact/file/download.php?file=292567&view=10917 HTTP/1.1" 200 67160 "https://mahara.mysite.com/user/view.php?id=2259" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36" 360/360407227 "-"

 

Any idea above this issue?

 

Best Rgds,

Rocky.

Admin User's profile picture
Posts: 9

10 July 2015, 6:15 PM

Hi Rocky,

The call to the artefact/file/download.php file simply checks if you are allowed to get the file and if so fetches the file from the dataroot and parses it through.

If this is going slow it could be due to the file being very large or the bandwidth speed being low.

Cheers

Robert

Rocky YIP's profile picture
Posts: 28

13 July 2015, 1:22 PM

I find that the files are very small so it should not be a bandwidth issue. What other facters related to this issue?

Kristina Hoeppner's profile picture
Posts: 3507

13 July 2015, 8:18 PM

Hello Rocky,

You may be experiencing https://bugs.launchpad.net/mahara/+bug/1465281

Cheers

Kristina

 

Rocky YIP's profile picture
Posts: 28

14 July 2015, 8:56 PM

My site have more than 280GByte of user data.

Most of the files are located inside Group file folder and user's personal folder.

I have testing with /artefact/file/index.php to load a user's personal folder with 25 file in the first level. The process take more than 5 minutes to complete.

I find that the PHP gives all 25 files and generate the thumbnails.

The time taken for the thumbnails cost 30, 60, 90, 120, 150, 180 seconds to complete.

It seems there is a timeout setting and set to 30.

Can I manually change this value to a lower ones said 1 or 2 sec?

 

5 results