Pages: [1] 2   Go Down
Author Topic: forum (enotify and sso) slowness  (Read 2676 times)
0 Members and 1 Guest are viewing this topic.
Italy
Offline Offline
Newbie
*
Karma: 0
Posts: 41
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,
I often noticed slow down of this forum, sometimes I have to wait several seconds (also over ten seconds!) for loading a page. It isn't a issue related to my ADSL, my client, my browser, etc and it happens always. I done a brief analisys with Firefox+Firebug+YSlow I can see some pages that take too much time to load.

The slowest request is done at http://arduino.cc/forum/index.php?action=enotify (between 1.5 and 2 seconds) followed by https://id.arduino.cc/css/sso_bar.css (over 0.8 second, uncompressed) and https://id.arduino.cc/css/sso_bar_js_2.php?s=forum (over 1 second, uncompressed)
Logged

"The old Europe"
Offline Offline
Edison Member
*
Karma: 1
Posts: 2005
Bootloaders suck!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'll revive this old thread.

Today I've experienced a terrible slowness of the forum. It's crawling...

Here's some data (takes some time to load). It's definitely not my local connection.
Logged

• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 480
Posts: 18720
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The forum is appallingly slow. My same connection works fine on other forums and sites.

And this is the "new" forum too. Can't something be done with it?
Logged


Global Moderator
Offline Offline
Brattain Member
*****
Karma: 480
Posts: 18720
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Try Googling "smf forum slow":

Code:
About 2,530,000 results (0.16 seconds)
Logged


Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 216
Posts: 13664
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have the impression (no data) that it is slower when the "US is awake" possibly because there are more users logged in ?

From the stats - http://arduino.cc/forum/index.php?action=stats - below you can see that the number of pageviews almost doubled since may. That explains quite a bit ...




« Last Edit: November 26, 2011, 03:44:47 pm by robtillaart » Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 610
Posts: 49035
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I have the impression (no data) that it is slower when the "US is awake" possibly because there are more users logged in ?
When I get to work in the morning (2AM Pacific Standard Time), the forum is much faster than later in the day. Around 8, it gets really slow. About 2 PM, when I get home, it is much faster again. So, yeah, I'd agree that the US is to blame.
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 480
Posts: 18720
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That may be the case, but cannot the hardware be "sized" to handle the load? For the forum to take many seconds to process posts, when the USA is "awake" doesn't seem satisfactory to me (even though I am not living there, I am still affected by it).

And if the number of users doubles every year, surely things will only get worse, much worse? Now is the time to take action. Whether that action is improved hardware (server) or better forum software.
Logged


Newcastle, England
Offline Offline
Sr. Member
****
Karma: 3
Posts: 489
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Now is the time to take action. Whether that action is improved hardware (server) or better forum software.
I agree. It took >5 seconds to load up the page displayed when I click "Reply to post" or whatever it says. Loading the actual forum takes in excess of 10 seconds. My ISP is incredibly slow, but still not enough to cause the observed effects. To keep the forum usable in the future, it would make full sense to upgrade...
On the other hand, upgrading would most likely be a time consuming and expensive matter. More time and money spent upgrading the forum is less to be spent developing cool new boards and software. It's all a balancing act.
Add to the fact that the nef forum looks good, as I'm sure others will agree, and we have a hard decision. Usability vs. cost & time.

Onions.
Logged

My website: http://www.harryrabbit.co.uk/electronics/home.html Up and running now! (Feel free to look round!) smiley-grin

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The forums, in fact the entire site, has been getting slower and slower over time.  During the day it's slow for me, to the point where I start getting timeouts.  In the evenings it tends to clear up a bit but by 1-2am (mountain time), it completely falls off of the planet.  Can't reach it, doesn't respond, nothing.  I don't know how long that lasts because I usually go to bed around that time and don't check back for another 7-10 hours later.

Couple of things to keep in mind though.  It may not all be the web server's fault.  When it comes to the forums, there's also an SQL server serving data.  If that gets bogged down, everything goes to hell in a hand basket.  In my experience running web sites, forums, blog, whatever over the last 16 years is to make sure all your failure points are covered.  I do see messages where SMF can't communicate with the SQL server.  I don't know if they have both on the same physical machine, or if things are split into multiple machines.

Personally, I'd start looking at the SQL logs, and start capturing queries that take forever to run and deal with that.  If both the web and SQL are being served from the same machine, split them up.  Lastly, check that the physical machine(s) can still handle the load (and it doesn't seem like they can anymore.)

It's a shame for something so popular to suffer like this.
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 480
Posts: 18720
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

To be honest, it is getting to the point where I don't open threads that don't have an "interesting" title, because I don't want to waste the 30 seconds the page takes to load (and repeat for a whole lot of other pages). And then when I type a reply, it takes another 20 seconds for the reply to appear. It's getting unworkable.
Logged


Global Moderator
Offline Offline
Brattain Member
*****
Karma: 480
Posts: 18720
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

@WhoeverIsInChargeOfTheForum:

http://wiki.simplemachines.org/smf/Performance_enhancements
Logged


Global Moderator
Offline Offline
Brattain Member
*****
Karma: 480
Posts: 18720
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

By the way, SMF is now 2.0.1. We seem to be on 1.1.12.

Rather amusingly, when I went to the SMF site and tried to read the changelog, I got this:

Code:
Temporarily Unavailable
Due to high stress on the server the forum is temporarily unavailable. Please try again later.

Looks like their own forum isn't coping too well either.
Logged


nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8493
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I got that error in this forum yesterday, it was down for maybe 1/2 an hour. I constantly get long delays.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Sussex UK / CT USA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1028
Forums forever
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry... I DO appreciate all that is done to make the forum work at all... but I have to add a "me too".

My system runs fine with most sites. It is just when I try to use the Arduino forum (and other Arduino.cc pages?) that I have problems... often my browser just gives up, times out. And no, the setting is set too tight.

Has taken me several tries just to post this. I'm in southern England, if that matters. Problem happens frequently, different times of day. Often if I get one or two slow loads, I'm going to get lots more... but I don't try more than a few times any more, based on prior experience. Maybe some forum readers will be glad I'm online less! Who knows!
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 610
Posts: 49035
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Maybe some forum readers will be glad I'm online less! Who knows!
I do. The answer is no. Different perspectives are always good.
Logged

Pages: [1] 2   Go Up
Jump to: