One of the sites I maintain, on web3 and using mysql2, has been experiencing erratic slowness problems for a while now.
The site is a Drupal site and phpbb2 - nothing too out of the ordinary at all. http://mngca.org
I've been trying to put my finger on some of the problems recently and am having a hard time determining where the problem is and would love some insight if anyone can offer some. Normally when I see the problems the load averages on the server are low (generally less than 3, usually around 1). I've looked at the processlist on the sql server to see if we had any stuck processes (show processlistand don't see anything out of the ordinary (this did catch us one time about a month ago with a stock Drupal query that would get stuck).
Often I write up the problems to poor internet connectivity on my part, but last week I had a number of 408 errors being generated when trying to do page loads as well.
The problem seems worse (to me anyway) when I know I'm doing a write to the database (such as creating/editing a node), although I also understand that for Drupal in particular that there are writes being done to the database for every page load.
Drupal keeps track of the "page generation time" - I have many pages that have a generation time well over 5 seconds, on up to over 30 seconds. Some of the pages that make that list are simple text nodes, some of just a paragraph of text - no other code being executed, etc. When I load the pages I've seen mixed results - sometimes it takes forever to load (I had a 408 error loading one of them), others load nearly instantly (which I guess is the norm for picking pages on the list).
I've seen similar problems with phpbb (which is entirely a stock load of the most recent phpbb2) - page loads take a long time, searches take a long time. The problem is real hit and miss though and never reproducible. It does seem to affect all pages in short time windows, rather than one page doing it consistently.
Anyway, any suggestions on what to look for or how to nail down the problems?



LinkBack URL
About LinkBacks
and don't see anything out of the ordinary (this did catch us one time about a month ago with a stock Drupal query that would get stuck).



Reply With Quote




Bookmarks