I'm not sure which is the most appropriate forum to post this in, so sorry if I've picked the wrong one.
I'm having some problems with my XOOPS site, and am hoping someone here might have some useful suggestions. I'm running XOOPS 2.0.7.3
The site is at
http://www.phantomoftheopera.com/ - if it's up when you see this, because it keeps crashing the web host's server and being switched off.
It was pretty much fine until I upgraded from NewBB 1 to NewBB 2, two or three weeks ago (which I had to do in order to have IP addresses displayed to me, to deal with an abusive poster). Then the site became very, very slow, and eventually crashed.
First time I wrote to tech support on it, they said "I would make sure that the new forum module has proper indexing on the tables. If you are doing a lot of queries, esp. on tables that don't have proper indexes things can become very, very slow."
Unfortunately I don't know databases at all so I've no idea how to find out whether it has proper indexing or not (definitely a newbie when it comes to php and MySQL), but it's the same module hundreds of other sites are using.
Today they said:
"From taking a quick look at your site, my guess is that you have too many database hits to the main page. Every time somebody loads your main page it is probably doing a lot of queries. queries for all the news items, the forum threads, the poll, etc."
So I've switched off a few of the less important threads from the main page. The forums are really the main point of the site though, and it doesn't seem as if most people have a problem running XOOPS with most recent forum posts, top 5 news items, and a poll on the front page.
Our traffic has gone up significantly in the last month, from an average of 1500 pages served a day a couple of months ago, to an average of 17146 pages served a day this month - but that doesn't strike me as a particularly huge amount of traffic compared to many sites.
The only problem we've been able to identify (I've been having a more knowledgable friend help out a lot, thank goodness) is that there were a huge number of Private Messages being held in the system. Apparently a lot of people had set the notification to PM them every time there was a post on the forums, back when the site was quiet, then not come back for a couple of months. Some users found 13,000 messages waiting for them. We've asked the web host if they can delete the bulk of the PMs from the database, and have turned off the notification options.
Do you think the massive number of PMs in the database could have been slowing MySQL down? Or do you think we have a problem in the forum module somewhere?
Or do you have any other suggestions or thoughts?