Go Down

Topic: Arduino web site very slow (Read 10 times) previous topic - next topic

Benji

Over here it is more slow than workable.
Sometimes I just give up and go do something else, it's really bad. > 30 second to load a page, if it loads at all, reply window not loading and when it does load most of the time I need to post three times because I get a timeout or 502 error (bad gateway).

This is not just at home, but also at work.

Nick Gammon

I'll try again ....

Only a couple of weeks after the forum was upgraded to a "new, fast, expensive" server it's performance is flaky at best. Many times these days I find that after attempting to read a thread I just get a blank page. Or "SMF cannot connect to the server". Or when making a post, the refreshed page (with my new post on it) doesn't appear.

I don't care how much the admins are paying for the forum server. I suggest you are paying it to the wrong people. Perhaps they simply don't have a fast enough "pipe" to the Internet. Perhaps the database is misconfigured. I don't know.

The forum is great, in terms of the friendliness of the people on it, and the level of expertise. What isn't great is that it's a bit of a gamble when you make a post whether you see it again.

tytower

Its funny Nick -I am at the other end of OZ but fed through Melbourne and I rarely have problems since the upgrade.
I have had "SMF cannot connect to the server" error once only. I see my posts every time and the load times are reasonable for me who comes from the "drink a can while the picture downloads time" .

Wonder if there is something with Windows or Internet Explorer ? I use Linux and Firefox
Does someone have a tap on your feeds?
Governments should do what they were designed to do only.
Manage the larger issues best done by Government.
My Family and my Property are no

mmcp42

have to agree with Nick
it's frustrating how often it decides to keel over just after I write a long reply
but it only does it if I don't make a copy of th epost before I hit the button

most of the time I get the SMF cannot connect message, too

I'm using FireFox, but it is definitely a server end issue as lots of other sites are performing while arduino.cc is sleeping
there are only 10 types of people
them that understands binary
and them that doesn't

Nick Gammon


Wonder if there is something with Windows or Internet Explorer ? I use Linux and Firefox


It's variable, that's for sure, and possibly you may not see it as much as I do. I think the time of day has a fair bit to do with it. I use Firefox on a Mac, but when I sit there watching the "loading" symbol for the Arduino forum I can promptly browse other sites. And the message about "SMF cannot connect to server" says to me "server problem".




Ironically it happened again while I was typing this reply. I had to refresh about 10 times to even get the page up. Here, look:



See the "Transferring data from arduino.cc" down the bottom? It just sits there doing that, with half a page up. I typed the whole reply (apart from this last bit) and it was just sitting there. It's like the server drops the connection.

Just to check, while I was waiting for this reply to go through, I got onto YouTube, and promptly started watching a video. Now videos have a much higher bandwith than text. So it's not my end.

It's truly hopeless, I don't know of any other site that is like this.

Oh, and while I try 20 times to post this, I now see this:

Quote

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@arduino.cc and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Now you can't tell me that is a problem in Australia. Clearly a server error.

Quote

…  inform them of the time the error occurred, and anything you might have done that may have caused the error. …


Yes, I was trying to reply to a post. :)

tytower

#50
Feb 07, 2012, 10:57 am Last Edit: Feb 07, 2012, 11:01 am by tytower Reason: 1
Yes I see its a bit slow tonight
I'll go see if I can fix my circuit
Governments should do what they were designed to do only.
Manage the larger issues best done by Government.
My Family and my Property are no

cmaglie

#51
Feb 07, 2012, 05:02 pm Last Edit: Feb 07, 2012, 05:05 pm by cmaglie Reason: 1
I've monitored the server in these days, i experienced the slowness / malfunction you were reporting, and i've identified the following causes:

1) the eNotify plugin was literally hammering the server. The plugin is configured to do a check every 300 seconds, but, this is the timeout after the *first* request that is done at every page load. This was fixed, and now enotify check for new messages every 5 minutes for real.

2) Sometime happened a "500 Server Error" this was due to shared-memory limits on kernel that prevented php-accelerator to start. When this error happened php was unable to run for about 4-5 minutes. Now i've raised the limit from 32Mb to 128Mb, and looking at the error_log the problem seems solved.
I've also doubled the limits for mysqld (number of connection, memory, threads, etc).

3) There was a second backup system that runs on 'odd' days. This backup system was not incremental (this means LOT of disk I/O) and did a full dump of the DB. The locks and slowness you just experienced some hours ago was due to this.

Hope these operations will help to improve the forum experience.

edit:
Obviously, i'm still observing server operativity, this is just to give updates on whats happening in the background.
C.

retrolefty


I've monitored the server in these days, i experienced the slowness / malfunction you were reporting, and i've identified the following causes:

1) the eNotify plugin was literally hammering the server. The plugin is configured to do a check every 300 seconds, but, this is the timeout after the *first* request that is done at every page load. This was fixed, and now enotify check for new messages every 5 minutes for real.

2) Sometime happened a "500 Server Error" this was due to shared-memory limits on kernel that prevented php-accelerator to start. When this error happened php was unable to run for about 4-5 minutes. Now i've raised the limit from 32Mb to 128Mb, and looking at the error_log the problem seems solved.
I've also doubled the limits for mysqld (number of connection, memory, threads, etc).

3) There was a second backup system that runs on 'odd' days. This backup system was not incremental (this means LOT of disk I/O) and did a full dump of the DB. The locks and slowness you just experienced some hours ago was due to this.

Hope these operations will help to improve the forum experience.

edit:
Obviously, i'm still observing server operativity, this is just to give updates on whats happening in the background.



Thank you for your efforts on this and keeping us informed. As long as we know someone is actively paying attention to site performance there is not much reason for complaining and bitching.  :D

Lefty

mmcp42

agree completely
you can get away with murder if you keep people informed
(don't try this at home)
there are only 10 types of people
them that understands binary
and them that doesn't

Nick Gammon


Obviously, i'm still observing server operativity, this is just to give updates on whats happening in the background.


Thank you for keeping us informed. It is gratifying to know that someone is not only fixing the problems but monitoring to see if they are occurring. You are probably in a better position to spot a "trend" for the worse than us users in the field.

meanpc

If this were mine, I would move everything to a different server in a different datacenter, maybe even in a different country.  Or at least have someone new take a look at what is going on.  This is one of my favorite forums and also one of the slowest forums Ive ever been to.

madworm

Something has happened just a few minutes ago. Complete stand-still of the whole forum.

To be precise it was 09:48 UTC.

Maybe that is a usable data-point for hunting down the root cause of this.
• 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!

Nick Gammon

Once again I can hardly use it. I suggest you give your service providers the sack.

http://www.thefreedictionary.com/give+the+sack

KirAsh4

Same here ... it works fine for a little bit, then comes to a crawl to a complete stop.  It just sits there trying to contact arduino.cc ...  I see this happen rather often.

mromani

I see it slow but always functioning. I've seen very few "can't connect to database" errors in the last week.

Go Up