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 
dauyeungAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dauyeungAuthor Commented:
Looks like it may have been an over allocation of resources with in VMWare.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.