Message boards :
Number crunching :
Web page - Too many Connections?
Message board moderation
Author | Message |
---|---|
![]() Send message Joined: 2 Sep 04 Posts: 1 Credit: 46,810 RAC: 0 |
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??? |
![]() Send message Joined: 2 Sep 04 Posts: 378 Credit: 10,765 RAC: 0 |
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. |
Send message Joined: 1 Sep 04 Posts: 506 Credit: 118,619 RAC: 0 |
>>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 |
![]() Send message Joined: 3 Sep 04 Posts: 212 Credit: 4,545 RAC: 0 |
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 |
©2025 CERN