|
|
#1 | |
|
You dig.
![]() Join Date: 02.04.2002
Location:
Posts: 7,179
|
were due to a DOS (= Denial Of Service) attack. A self-made DOS, that is.
Short explanation: There is a configuration option for the new homepage which allows you to display new posts since your last login. This is the description: Quote:
However, I have changed a few things now, hopefully resolving this issue. If not, I'll have to turn that option off. Please excuse the inconveniencies. |
|
|
|
|
|
|
#2 |
|
Meat Loaf Rocks!
![]() Join Date: 25.01.2005
Location:
Posts: 3,887
|
wondered what was hapening....I have been experiencing the slow loading pages but since the forum has come back up tonight the pages are loading fine...and fast...what ever you did R it seems to have worked.....so far...
|
|
|
|
|
|
#3 |
|
The Butcher
![]() Join Date: 14.04.2002
Location:
Posts: 10,321
|
Last night i couldn't not come on the forums, and when i did, it was so slow, the internet explorer told me he couldn't load the page... But now it is fixed.
|
|
|
|
|
|
#4 |
|
The Bat
![]() Join Date: 23.03.2003
Location: Roosting on a Silver-Black Phantom Bike.
Posts: 10,017
|
likewise, was going so icredibly slow...but works just fine at moment
|
|
|
|
|
|
#5 |
|
Mega Loafer
![]() Join Date: 14.04.2002
Location:
Posts: 7,527
|
Ditto!!!
Although i got a very worried text from someone at almost midnight worrying that she ahd pressed something to make it all break down! |
|
|
|
|
|
#6 |
|
Sweet But Sadistic
![]() Join Date: 18.06.2003
Location: Lincolnshire/Essex depending on the time of year!
Posts: 4,098
|
Everything's working fine now here Last edited by Cathie; 05 May 2005 at 15:00. |
|
|
|
|
|
#7 |
|
The Butcher
![]() Join Date: 14.04.2002
Location:
Posts: 10,321
|
indeed, at the moment it is, i think, a bit faster then it was before. Or maybe itis my connection
|
|
|
|
|
|
#8 |
|
Mega Loafer
![]() Join Date: 14.04.2002
Location:
Posts: 7,527
|
Seems to be chugging a bit tonight!!!
|
|
|
|
|
|
#9 |
|
You dig.
![]() Join Date: 02.04.2002
Location:
Posts: 7,179
|
Honestly, I don't know why.
As far as I know, I have eliminated all "bad" queries. Sometimes it looks like that this server simply cannot execute 10 simple(!) database queries simultaneously. Makes me wonder how this iron survived the migration. |
|
|
|
|
|
#10 |
|
The Butcher
![]() Join Date: 14.04.2002
Location:
Posts: 10,321
|
It is strange. The last couple of evenings the forum is so slow. Maybe it has to do with the latest adjustments.
But it is getting slower, then you post something, it will take ages to load, if it will load. And eventually the forum crashes over here. Totally dead. After a while i'm able to go on the forums again. Very strange. |
|
|
|
|
|
#11 | |
|
You dig.
![]() Join Date: 02.04.2002
Location:
Posts: 7,179
|
The reason behind the bumpy performance is most likely the new portal. The new homepage uses 27 queries into the database (it was 26, but I added one a few minutes ago due to performance reasons). After those queries, the homepage gets built, compressed with gzip and finally transfered to your browser.
At least one of these 26 queries (see 1st post) was a real monster, here's why: In order to determine how many new posts have been made since your last visit, you need to query the posts table for all posts with a timestamp greater than the timestamp of your last visit. That's easy. For a query like this you should have an index on the timestamp column of the posts table, because otherwise MySQL (the database server) builds a temporary copy of the affected table, sorts it, returns your query and finally deletes the temporary table. Our posts table has a size of approx. 50 megabytes. Now, if you have 20 concurrent users accessing the homepage, the server has to build 20 temporary copies of the post table. Do the math, 20 x 50 megabytes = 1 gigabyte. That's one gigabyte of data which has to get moved and queried within seconds and every click on the "Home" link would add another 50 megabytes. That's why this query was a monster. We have an index on the timestamp column now, problem solved. But, obviously (because of yesterday's bumpy ride) there have to be more sucky queries like this in the new portal software. I have split the complex query which is constructing the newsbits (by using the posts table) on the frontpage into two simple ones. The simple queries don't do any temporary tables and thus are significantly faster. While analysing the queries, I found another two dealing with temp tables. One query affects the pollbox on the frontpage and the other one affects the "you have posted in this thread" hint ( Patience, folks. We'll get this sorted. Quote:
Last edited by R.; 07 May 2005 at 16:59. |
|
|
|
|
|
|
#12 |
|
The Butcher
![]() Join Date: 14.04.2002
Location:
Posts: 10,321
|
Still do find it strange that a page with pictures will load faster then the forum on some times. Even with your explenation R. Watched it now a couple of times, but it is not a special time that it is slow, or the number of people that are on the forums.
Know you are doing a great job with the forum. So don't see this as critizism! Tim |
|
|
|
|
|
#13 |
|
queen post- whore extraordinaire
![]() Join Date: 29.01.2003
Location:
Posts: 13,181
|
Is it me or in answering a topic, the reply takes a while to register on the forum?
|
|
|
|
|
|
#14 |
|
Meat Loaf Rocks!
![]() Join Date: 25.01.2005
Location:
Posts: 3,887
|
Some days it is the same for me Dottie...but others it is fine....
|
|
|
|
|
|
#15 |
|
The Butcher
![]() Join Date: 14.04.2002
Location:
Posts: 10,321
|
Only loading the front page will take me over a minute, then loading the forum also.... So it is a heavy site!
|
|
|
|