On Fri, 2013-10-25 at 13:50 -0400, Dave Humphrey wrote:
The fact that your phpinfo.php takes 30 seconds tells me it is an issue with your server in general and not specifically your MediaWiki.
- How many requests/second are you serving and how many is your server
capable of? For example, if your server is only capable of 10 req/sec but you are trying to server 20 req/sec you're going to have a bad time. Use Apache's server-status page to get an idea what the current load is and "ab" (ApacheBench) to benchmark your server (when it is not overloaded of course).
Apache is not stressed by client hits. This is a new site at this location & currently no one is looking at it.
- You can also check "top" to see what your server load and CPU usage is
and what is taking up most of the CPU time. It may be Apache (httpd) or it may be a host of other issues (dead locked processes, failing hard drives, misconfigured components, etc...).
No issues there its a VPS server & all the hardware is good.
- Check your logs for any relevant messages, mainly your Apache error log
assuming it is enabled. You can increase the PHP error logging level if needed as well.
Now here is a LOT of issues. I found a crap load of requests by the mediawiki software to work on several directories where I had not set the permissions correctly. I went in and changed those & for a day it speeded up remarkably, however I went in this morning & checked the logs & there are a LOT of new errors that are similar so I now am looking into the mediawiki software to correct these errors. Will post my results: Thanks for the tip, I guess I just forgot to check the basics.
These simple steps should give you a good start on where the problem is or at least where the problem isn't and you can start narrowing down the issue from there.
On 25 October 2013 12:18, John W. Foster jfoster81747@gmail.com wrote:
I need to figure out why my wiki is running so slow. It seemed fine when I first got it running but as I've added content it has become way too slow for actual use. I did run the rebuildAll.php & that seemed to hel a bit, but when I added more content it again skowed way down. I have wondered if adding the SemanticWiki extension may have caused this. I do have caching enabled and the site is currently up and running, so those interested may look at it. i also have decided to keep Scribunto running as its required for most of the templates, but I hope the bug about 'text/plain' get fixed soon. That is the only issue I currently have with importing pages. Any & ALL tips are appreciated Thanks! john