Trinitrotoluene
Jul 31 2006, 04:08 PM
I was advised to post this here. It seems that the forums tend to timeout a lot, I've seen queries take 20-30 seconds to be returned sometimes, and other times posts fall into the abyss because submitting them times out. From my experience with SQL it almost feels like they're is to much load on your SQL server - just thought you guys should know!
Saru
Jul 31 2006, 05:11 PM
Do you find that this happens more at any certain time of day ?
Trinitrotoluene
Jul 31 2006, 06:24 PM
To be honest no, it feels sporadic and random which leads me to believe the problem is on your DB. I get the same problems on my work machine, my home machine and at my girlfriends house. Are you aware of the effect I'm describing? You click and wait, and it will wait and wait, and when it's bad take up to 30 seconds to return a page. But then you click the next second and everything is fine again. I've no idea what your server setup is, I will assume IPB through mysql db driver? The only time I have seen this happen before is when SQL reaches it's 'limit' and stops processing new queries until the backlog is resolved, this is of course a guess and I'm probably wrong

Gav
Chokmah
Jul 31 2006, 06:25 PM
does with me, but I'm just guessing the bandwidth is being over-run by to many people using the site. normally 7-8pm, or 10-11pm in GMT
Saru
Jul 31 2006, 08:13 PM
I get exactly what you describe, but I've assumed it was some sort of routing issue with my ISP because there never seems to be a corresponding server load or page generation time increase, and when it happens I can be talking to someone else who says they can access the site no bother at all, which wouldn't make sense if it was a server problem.
Up until now, nobody else has reported having the same problem.
Are you in the UK ? Your ISP isn't BT by any chance is it ?
Trinitrotoluene
Jul 31 2006, 08:29 PM
No, I'm on blueyonder/telewest and I've never had any problems (other than on this site). What I can definitely tell you is it is a server side problem and not client side. If you look in the firefox/ie status bar, it will tell you it's actively waiting for a server side response. There's definitely a page generation increase, you will probably know all ready but it tells you at the bottom of the thread. This page was generated in 0.1778 seconds this time, but if I were to click submit and it was to do it's normal lag, instead of stopping and trying again, let it go through and then look at the figure. I've seen it hit 35 seconds before! I think because it seems so much at random, it's impossible to get other people to verify, because by time you've asked them the problem would probably have cleared itself.
Pax Unum
Jul 31 2006, 08:32 PM
QUOTE(Gavsto @ Jul 31 2006, 11:08 AM) [snapback]1289461[/snapback]
I was advised to post this here. It seems that the forums tend to timeout a lot, I've seen queries take 20-30 seconds to be returned sometimes, and other times posts fall into the abyss because submitting them times out. From my experience with SQL it almost feels like they're is to much load on your SQL server - just thought you guys should know!
I have this happen often... and it happens when its busy or slow, maybe a little more when it's busy, not sure though... I've lost several posts, I save a copy to clipboard now before I 'Add Reply'
Saru
Jul 31 2006, 08:36 PM
Ok well thanks for bringing this to my attention, i shall be looking into this to see if something can be done about it.
Trinitrotoluene
Jul 31 2006, 08:50 PM
Saruman,
A few suggestions for you: If you have direct access to your SQL server then you can run either Performance monitor (start - run - perfmon) or SQL profiler, if you use perfmon look for something called SQL Server: Latches, you can monitor Performance bottlenecks based on the number and length of waits for internal resource locks to be granted also SQL Server: SQL Statistics which monitors Query compilation speed and overall efficiency of the query optimizer. Minimizing compilation time and re-compilation frequency improves performance. I can go into more detail if you need but I'm sure you have a tech guy hidden around somewhere!
Gav
Saru
Jul 31 2006, 09:07 PM
Unfortunately I don't have direct physical access to our servers, both our linux boxes are in a datacentre across the Atlantic.

So far it looks like another memory upgrade is in order for our mySQL server box, there's a bottleneck with the server waiting for hard disk access as the available memory has been used up and we're onto the swap file. Getting large spikes of IOWait which seem to correspond to the delays in viewing the page.
I'll check everything out thouroughly to make sure there's nothing else that might be causing the problem. If not, we can usually get a memory upgrade performed within a few days.
Trinitrotoluene
Jul 31 2006, 09:22 PM
Well I guess that explains it! Glad you found the problem (not so glad I bought to your attention something that costs money to fix

lol )
coldethyl
Aug 1 2006, 04:44 PM
I am in the States and I also experience this problem. Just letting you know.
Saru
Aug 2 2006, 10:33 AM
I've made some changes to the database server configuration, is anyone still experiencing this problem ? It seems to be working a lot better now.
Trinitrotoluene
Aug 2 2006, 10:51 AM
Seems to be working fine, I'll report back here If I notice the same lag!
Trinitrotoluene
Aug 2 2006, 12:57 PM
Still lagging, and before it lagged for one of my mates at exactly the same time.
Waspie_Dwarf
Aug 2 2006, 01:52 PM
I concur with Gavsto, there are still problems. Until this thread I had assumed that the problems were my end (I'm not very computer savvy and wouldn't know the difference between an SQL and a dyslexic squirrel).
I've just made a post that took 6 minutes. The first attempt hung until I got a "page not found error". The second attempt hung for a couple of minutes before being accepted. This was at almost exactly the same time as Gavsto ended up with a triple post in the same thread.
Saru
Aug 2 2006, 03:09 PM
Ok, what i've done now is changed the way the forum search looks through the database when someone enters a query in order to improve efficiency and lower resource usage.
When this problem was first reported, I set up a special log file for recording all the database queries which took a long time to complete, and most of them have turned out to be forum search queries.
This change should not only lower the resources required to conduct a search, but also drastically improve upon forum search times.
If you still experience the same problem again now, let me know.
Paranoid Android
Aug 2 2006, 03:53 PM
Hmm, is the latest work you did the reason I had a "site off-line" message when i was on earlier tonight?
Saru
Aug 2 2006, 04:12 PM
Yes I had to take the forum off-line for about 10-15 minutes.
coldethyl
Aug 3 2006, 07:35 PM
I had a post take about 90 seconds. But that was only one for a really long period of time as opposed to it happening several times for about 30 seconds a time.
Am I making sense??
Edited to add that it happened at 1:40 pst.
Daughter of the Nine Moons
Aug 6 2006, 07:50 PM
Hi SaRu
Just a heads up. For about the last 5-10 minutes I was having problems accessing UM. (other sites were ok) It started with searches that wouldn't conclude and then I couldn't access the forum main page. There were only about 500+ users on at the time as well.
Saru
Aug 6 2006, 08:30 PM
That was caused by Apache being restarted, not sure at the moment what caused the restart. Looking into it.
phenomenon
Aug 7 2006, 02:39 PM
QUOTE
There were only about 500+ users on at the time as well.
I've just a serious hang that lasted for about 3 or 4 minutes. I can't say there's a time when it happens, no specific time of day when slow loading is an issue, but one thing I did notice was the guests online.
On one ocassion I checked the online users, of one entire page only 3 were actually active users, one was a guest and two were members. As for the rest, I spoke to invision a few months back because I had a similar issue. They weren't too helpful, but the server engineer at my hosts was.
That kind of activity, which I assume is bot related does use resources yet as far as someone being on the site is concerned, they are not an actual visitor in the real sense of the word.
My problem has been rectified, although I'm still not too clued up as to how.
Excuse the quality of screenshot:
[attachmentid=27380]
As you can see, there are only 3 actual visitors to the site, the rest is bot/engine related. I think if you can manage this then the problem with resources may ease.
Saru
Aug 7 2006, 03:45 PM
We've always had a lot of bot activity on the site, it's never been linked to performance problems. Bots/spiders count as 'guests' and therefore don't have access to any of the site's most resource demanding features, and their contribution to server load is most likely to be very small. From the slow query log, the database queries which were creating the delays were all from resource intensive member only features such as the forum search.
It's also not a good idea to disallow search engine spiders from accessing the site, as they are a positive presence. Some search engines register as multiple 'users' coming from different IP addresses in order to spider the site faster. Intentionally blocking them would only hamper the update of our pages being indexed in the search engines and the generation of our contextual adverts.
Regarding the issue covered in this thread, slowdowns can occur at the best of times, for many different reasons. It still looks as though a memory upgrade would be welcome on our mySQL box, but the changes i've made to the search feature do seem to have significantly reduced the occurance of page timeouts.
I'm still working on it.
Paranoid Android
Aug 20 2006, 11:29 AM
Has UM been having speed or connection issues recently? About 4 hours ago I couldn't get on the site at all, and now speed's really affected when I post a reply.
Thanks, PA
Raptor
Aug 20 2006, 12:32 PM
I had the same problem a while ago, it seems to have fixed now.
Saru
Aug 20 2006, 12:47 PM
This morning there was a problem with our server provider which resulted in the site being inaccessable for about an hour.
The general speed of the forum is an ongoing concern that is being addressed and will be fixed as soon as I can get to the route of the problem.
Trinitrotoluene
Aug 20 2006, 06:14 PM
Still lagging like a two legged dog in a puppy race....
Saru
Aug 21 2006, 04:51 PM
A large number of behind the scenes changes will be taking place over the next few days aimed at resolving recent site performance issues.
So far the results are very encouraging, i'll be posting more about this as progress is made, watch this space.
Trinitrotoluene
Aug 29 2006, 02:56 PM
Whatever you have done it hasn't worked, infact it seems to be getting worse almost unusable. I'm starting to curse every time I lose a post the the abyss. It's time to get another SQL server!
Saru
Aug 29 2006, 03:04 PM
The SQL server has been running very well since I changed it's configuration settings and installed new server monitoring software over a week ago. I'm very pleased with the results to date, we've seen a consistantly low server load throughout the week.
There was one issue five minutes ago which lasted for about two minutes while the server restarted, nothing more. Hiccups do occur unfortunately, you can't base server performance on that alone.
__Kratos__
Aug 29 2006, 08:21 PM
Gavsto, I think it may be your computer or connection. I've had very little problems with the server being slow or just not working for me. I haven't seen a point in the day so far were UM as become 'unusable'. It's been a tad slow at some points though.
Thanks for your work, SaRuMaN.
Trinitrotoluene
Aug 31 2006, 09:08 PM
Seems to have been good the past few days, I shall post times next time so you can compare it with load on SQL. Kratos, I'm positive it's not a problem with my connection/computer
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.