Message boards : Number crunching : Web page - Too many Connections?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile stomp

Send message
Joined: 2 Sep 04
Posts: 1
Credit: 46,810
RAC: 0
Message 7431 - Posted: 4 May 2005, 23:28:30 UTC

The error message
Warning: mysql_pconnect(): Too many connections in /shift/lxfsrk4101/data01/projects/lhcathome/html/inc/db.inc on line 16
Unable to connect to database - please try again later Error: 1040Too many connections

So what is the magical number???
ID: 7431 · Report as offensive     Reply Quote
Profile Alex

Send message
Joined: 2 Sep 04
Posts: 378
Credit: 10,765
RAC: 0
Message 7434 - Posted: 5 May 2005, 2:21:10 UTC - in response to Message 7431.  
Last modified: 5 May 2005, 2:21:32 UTC

The number is slightly larger than 134.

(134 is the last number i saw before I got this error)

Usually, the 'concurrent connections' is between 20 and 30.
I'm not the LHC Alex. Just a number cruncher like everyone else here.
ID: 7434 · Report as offensive     Reply Quote
Gaspode the UnDressed

Send message
Joined: 1 Sep 04
Posts: 506
Credit: 118,619
RAC: 0
Message 7436 - Posted: 5 May 2005, 2:39:07 UTC

>>So what is the magical number???

The database connection limit is the number of connections to the database, and is set by the server administrator. A database connection is transient - just long enough to service a query, and then it's dropped. Early in the project there were attempts to tune this for best performance. Too low and the database server can't meet the normal demand for connections. Too high, and the server is run ragged by numerous different requests and response times increase substantially. Values between 50 and 400 were tried. On the old server I think it finally got set to 100. The new hardware is presumably faster, so can handle a larger limit.

It's not a value of any great importance to the community - there's nothing we can do to change it. If the limit is exceeded then we see odd messages, but the BOINC client handles it and tries again later.

Gaspode the UnDressed
http://www.littlevale.co.uk
ID: 7436 · Report as offensive     Reply Quote
Profile Markku Degerholm

Send message
Joined: 3 Sep 04
Posts: 212
Credit: 4,545
RAC: 0
Message 7446 - Posted: 5 May 2005, 13:52:57 UTC

During night in Europe the server goes trough set of backup, cleaning and optimizing tasks which may temporarily slow down the server such that overload happens. I hope we can get this smoothier but it might not be easy.

Markku Degerholm
LHC@home admin
ID: 7446 · Report as offensive     Reply Quote

Message boards : Number crunching : Web page - Too many Connections?


©2024 CERN