[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 840
  • Last Modified:

MediaWiki file download REALLY slow

I have installed MediaWiki on Ubuntu 9.10 and everything seems to be working fine, except that when I download a file it is really slow.  It is downloading at <50 bytes / sec, so that it'll take 15+ mins to download a 45 KB file.

The server is on a local gigabit network and the system is responding well to any other call.  Web browsing is fine, I can perform admin backup speedily, FTP, SSH, etc.

The server is a VM on the free version of VMware ESXi 4.0.0

I am at a loss as to what it could be.  On the odd occasion it downloads fine (small files are almost instantaneous) Any ideas?


Version Info:
MediaWiki 1.15.0
PHP 5.2.10-2ubuntu6.4 (apache2handler)
MySQL 5.1.37-1ubuntu5.1

**********UPDATE***********
It is happening again....  Downloading uploaded files that are stored in the web root are VERY slow.  I have moved other files into the www directory and they download fine.  I will see if they download fine the next time the system slows down.


A reboot of the VM guest (Ubuntu) has made it normal again.

Original Thread
http://www.experts-exchange.com/OS/Linux/Distributions/Ubuntu/Q_25480873.html#a28933382 
0
dauyeung
Asked:
dauyeung
  • 2
  • 2
1 Solution
 
TobiasHolmCommented:
Hi!

How long after a VM host reboot does it take before getting slow again? Can you run a day or more? And it's only the files in MediaWiki that are slow? Did you test downloading files from a separate Apache page (if you make a new "hand made" html page and put in a file download link on that page, then surf to this page and download the file, is it also slow downloading?)

Regards, Tobias
0
 
dauyeungAuthor Commented:
I do not know yet about exact time lines.  It took around 2 days until I noticed the slow down after the first experience of the issue.  I rebooted last night and the issue isn't there yet.

As for what is slow, webpages load fine.  Documents (pdf, msg, docs) uploaded with MediaWiki has been the documents that seem to have been slow.  I've uploaded a separate document to the web root to see it that one slows down the next time this happens.  

By "slow", what happens most often when the issue occurs is that you click on a link to an uploaded file and it takes a while to respond and give you a prompt to download the document (Will check to see if this happens on a Mac too next time).  Sometimes that prompt will come up pretty quickly a few seconds, but then when it is downloading, it'll download at <50 bytes / sec and often stall in the download.

Thanks!
0
 
TobiasHolmCommented:
ok. It's a good test to use different client computers and see if the same problem exists.

The problem sounds like a memory leak to me, but I have no clue in what component it can be. A quick and dirty solution / test could be to automatically reboot the server every night. But of course it would be nicer to actually find the failing component / configuration.

Regards, Tobias
0
 
dauyeungAuthor Commented:
Looks like it may have been an over allocation of resources with in VMWare.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now