+1 for this discussion. While developing on a single 4-core 8GB EC2 with no http cache,
no lucene, using apache and mysql, I notice that sometimes even when I'm the only
user, the response from just a soft browser refresh (not CTRL-F5) it is very sluggish, but
not sure if it's Amazon or not. Other times it's quite responsive.
________________________________
From: David Gerard <dgerard(a)gmail.com>
To: MediaWiki announcements and site admin list <mediawiki-l(a)lists.wikimedia.org>
Sent: Saturday, April 20, 2013 1:29 PM
Subject: [MediaWiki-l] How to diagnose causes of site slowness?
rationalwiki.org is currently serving pages very slowly. It's
intermittent, but when it's slow it's a *slug*. Many users are getting
502 errors from Apache or 503 from the Squids.
We have one Linode doing Apache/MySQL/Lucene. It's an 8GB box with 8
cores. (Was 4GB/4 cores, but Linode just doubled everyone's server.)
In front of that are two Squids fed by a load balancer.
* Sometimes the cause is obvious: when the load average is 30 and top
shows a pile of Apaches using up CPU, then it's PHP handling a complex
page request. (No, I still haven't made it PHP via fcgid.)
* Sometimes it isn't, e.g. this afternoon when the site was running
like a slug and load average was 0.8 with nothing amiss in top.
* The squids don't show an unusual rate of hits on the site.
* We have plenty of memory free - about 4GB on the main box is just
sitting in file cache.
* php_errors.log only shows up some processes timing out their 30
seconds (which would be the 502s).
So where would I start looking to work out what's going on?
- d.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l