Too Many Connections

Moderators: Site Moderators, FAHC Science Team

Post Reply
deesy58
Posts: 5
Joined: Mon Feb 02, 2009 8:46 pm

Too Many Connections

Post by deesy58 »

I wasn't sure where to post this, so please move it if that would be appropriate.

For several weeks, I have been seeing the error message "The database server is currently serving too many connections. Please try again in a few minutes" whenever I try to check my team's stats. I now see this result at least 90% of the time (not exaggerating) that I attempt to see how my team and I are doing. I also noted that one of my work units was apparently lost by the database, even after it was properly posted and visible for a short time.

My question is: Is the FAH system now becoming overloaded and unable to handle the number of folders who are trying to contribute to the project? Many potential folders participate in order to contribute to the search for knowledge that might assist in the search for treatments and cures for deadly diseases. Has the project now become overextended? Should we pause our folding activities until such time as Pande Group can resolve these technical problems?

Just wondering.

Deesy
bruce
Posts: 20822
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Too Many Connections

Post by bruce »

The stats server has been overloaded for quite a while now and it has been taken off-line regularly while the updates are being processed. There's a piece in the News Blog about new servers, and one of them is slated as a replacement for the stats server. I suspect that this upgrade will solve the problem rather quickly when it comes on-line.

To add to that, they have been processing a rather large manual update to correct for some missing credits, so you've probably seen it off-line more that usual. (The "couple of days" was WAY too optimistic.)

By the way, you should be able to see a cached version of your team stats even during an update.
Nathan_P
Posts: 1165
Joined: Wed Apr 01, 2009 9:22 pm
Hardware configuration: Asus Z8NA D6C, 2 x5670@3.2 Ghz, , 12gb Ram, GTX 980ti, AX650 PSU, win 10 (daily use)

Asus Z87 WS, Xeon E3-1230L v3, 8gb ram, KFA GTX 1080, EVGA 750ti , AX760 PSU, Mint 18.2 OS

Not currently folding
Asus Z9PE- D8 WS, 2 E5-2665@2.3 Ghz, 16Gb 1.35v Ram, Ubuntu (Fold only)
Asus Z9PA, 2 Ivy 12 core, 16gb Ram, H folding appliance (fold only)
Location: Jersey, Channel islands

Re: Too Many Connections

Post by Nathan_P »

deesy58 wrote:I wasn't sure where to post this, so please move it if that would be appropriate.

For several weeks, I have been seeing the error message "The database server is currently serving too many connections. Please try again in a few minutes" whenever I try to check my team's stats. I now see this result at least 90% of the time (not exaggerating) that I attempt to see how my team and I are doing. I also noted that one of my work units was apparently lost by the database, even after it was properly posted and visible for a short time.

My question is: Is the FAH system now becoming overloaded and unable to handle the number of folders who are trying to contribute to the project? Many potential folders participate in order to contribute to the search for knowledge that might assist in the search for treatments and cures for deadly diseases. Has the project now become overextended? Should we pause our folding activities until such time as Pande Group can resolve these technical problems?

Just wondering.

Deesy
As bruce says its only the stats servers that are affected - i would suggest using on of the 3rd party stats sites instead - they do run a few hours behind stanford though. Rest assured that the work servers run fine 99% of the time so fold on
Image
Grandpa_01
Posts: 1122
Joined: Wed Mar 04, 2009 7:36 am
Hardware configuration: 3 - Supermicro H8QGi-F AMD MC 6174=144 cores 2.5Ghz, 96GB G.Skill DDR3 1333Mhz Ubuntu 10.10
2 - Asus P6X58D-E i7 980X 4.4Ghz 6GB DDR3 2000 A-Data 64GB SSD Ubuntu 10.10
1 - Asus Rampage Gene III 17 970 4.3Ghz DDR3 2000 2-500GB Segate 7200.11 0-Raid Ubuntu 10.10
1 - Asus G73JH Laptop i7 740QM 1.86Ghz ATI 5870M

Re: Too Many Connections

Post by Grandpa_01 »

As bruce says its only the stats servers that are affected - i would suggest using on of the 3rd party stats sites instead - they do run a few hours behind stanford though. Rest assured that the work servers run fine 99% of the time so fold on
99% :lol: that highley depends upon the server
Image
2 - SM H8QGi-F AMD 6xxx=112 cores @ 3.2 & 3.9Ghz
5 - SM X9QRI-f+ Intel 4650 = 320 cores @ 3.15Ghz
2 - I7 980X 4.4Ghz 2-GTX680
1 - 2700k 4.4Ghz GTX680
Total = 464 cores folding
bruce
Posts: 20822
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Too Many Connections

Post by bruce »

Grandpa_01 wrote:99% :lol: that highley depends upon the server
Bruce wouldn't have said 99% ;) and he only mentioned that ONE of the new servers was slated to run the stats database. There are other new servers that will be allocated toward fixing that other ~1% (plus :!: ) congestion problem.

Yes, FAH grows rapidly, but I've heard Vijay say more than once, that's the kind of problem we WANT to have, and we do know how to fix it.
deesy58
Posts: 5
Joined: Mon Feb 02, 2009 8:46 pm

Re: Too Many Connections

Post by deesy58 »

Thanks for the info. I just got the same message twice more in the past ten minutes, so I guess the servers are not, yet, up and running. :|

Happy Thanksgiving to all who celebrate this holiday!

Deesy
codysluder
Posts: 1024
Joined: Sun Dec 02, 2007 12:43 pm

Re: Too Many Connections

Post by codysluder »

deesy58 wrote:Thanks for the info. I just got the same message twice more in the past ten minutes, so I guess the servers are not, yet, up and running. :|
Perhaps you didn't understand what Bruce was saying. The stats will still be disabled during updates, and checking again 10 minutes later proves nothing. The real question is whether the stats are brought on-line between updates. Right now, the message says "update started at Thu Nov 26 18:00:00 UTC 2009 (Thu Nov 26 10:00:00 PST 2009)" and it's 10:40 PST. Being off-line for 40+ minutes is not a change, but I don't know if the stats can be queried again soon. I don't keep track, but let's say that the update takes 60 minutes. To do an on-line query, I will need to check again after 11:00 PST.

If on-line queries were enabled during the update, it would probably take several hours, rather than maybe one hour. Then the next update would possibly need to start before the current one finishes. That's the problem that forced them to disable on-line queries during the update.

The new server should reduce this hour to a much smaller number, but there will still be periods when they're off-line for updates.
deesy58
Posts: 5
Joined: Mon Feb 02, 2009 8:46 pm

Re: Too Many Connections

Post by deesy58 »

Hmm. I believe that I did understand what Bruce was saying. My observations have indicated to me that stats updates typically take place during the even numbered hours (PST), and that my stats are most likely to be available during odd numbered hours. I usually see the message regarding stats updates taking place if I happen to check during an even numbered hour, so I seldom check during an even numbered hour.

The message I am referring to says nothing at all about stats updates. It says simply: "The database server is currently serving too many connections. Please try again in a few minutes."

This would imply that the server is overloaded - not offline for update entries. Is this not correct?

If, on the other hand, the error message is incorrect and misleading, perhaps is should be changed and made more meaningful ...

Deesy
bruce
Posts: 20822
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Too Many Connections

Post by bruce »

If we assume they were off-line between 10:00 and 11:00 there would be some pent-up demand so you may have gotten the "too many connections" right after 11:00 because we WERE putting too much load on the server. Unfortunately I can't tell you how long that lasted. The fact that they're currently available (11:51 PST) isn't really saying much except that they're working as intended within the limitations of the current hardware.

Did anybody happen to check at 11:10 or 11:20 or 11:30 or 11:40?

We'll all be glad when the new hardware is ready, and there's not much point in figuring out the extent of the current limitations.
Nathan_P
Posts: 1165
Joined: Wed Apr 01, 2009 9:22 pm
Hardware configuration: Asus Z8NA D6C, 2 x5670@3.2 Ghz, , 12gb Ram, GTX 980ti, AX650 PSU, win 10 (daily use)

Asus Z87 WS, Xeon E3-1230L v3, 8gb ram, KFA GTX 1080, EVGA 750ti , AX760 PSU, Mint 18.2 OS

Not currently folding
Asus Z9PE- D8 WS, 2 E5-2665@2.3 Ghz, 16Gb 1.35v Ram, Ubuntu (Fold only)
Asus Z9PA, 2 Ivy 12 core, 16gb Ram, H folding appliance (fold only)
Location: Jersey, Channel islands

Re: Too Many Connections

Post by Nathan_P »

Grandpa_01 wrote:
As bruce says its only the stats servers that are affected - i would suggest using on of the 3rd party stats sites instead - they do run a few hours behind stanford though. Rest assured that the work servers run fine 99% of the time so fold on
99% :lol: that highley depends upon the server
Hey - I was trying to be an optomist :wink:
Image
deesy58
Posts: 5
Joined: Mon Feb 02, 2009 8:46 pm

Re: Too Many Connections

Post by deesy58 »

I think you might be correct, Bruce, about the "pent up demand." I was able to successfully access my stats at 11:45 AM PST today. However, it is not always the case that the "pent up demand" is satisfied within the first 45 minutes or so after the server is made available. I have received this message as much as 55 minutes past an odd hour.

Just out of curiosity, is this particular error message the result of hardware overload, or is it the database broker that can't handle the connections? Not that it's especially important, but if it is the latter, will upgraded hardware solve the problem?

Deesy
Pette Broad
Posts: 128
Joined: Mon Dec 03, 2007 9:38 pm
Hardware configuration: CPU folding on only one machine a laptop

GPU Hardware..
3 x 460
1 X 260
4 X 250

+ 1 X 9800GT (3 days a week)
Location: Chester U.K

Re: Too Many Connections

Post by Pette Broad »

I wonder if there's any chance of reinstating the detailed stats once the new server comes on line. :?: It's something I really miss :egeek:

Pete
Image
bruce
Posts: 20822
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Too Many Connections

Post by bruce »

deesy58 wrote:Just out of curiosity, is this particular error message the result of hardware overload, or is it the database broker that can't handle the connections? Not that it's especially important, but if it is the latter, will upgraded hardware solve the problem?
I believe it's a question of how much RAM the server has. Each connection allocates a certain amount of RAM and so there's a limit on the number of simultaneous connections that can be supported. Each active query allocates more RAM, and the database, itself, needs a lot of RAM, mostly for cache, and performance depends on how well that disk cache works. (I'm not sure of the actual numbers, but the new db server will be bigger/faster/etc. and will also have more RAM.)
deesy58
Posts: 5
Joined: Mon Feb 02, 2009 8:46 pm

Re: Too Many Connections

Post by deesy58 »

Sounds reasonable. Progress is seldom easy!

Deesy
Post Reply