search for: connectiontimeouterror

Displaying 2 results from an estimated 2 matches for "connectiontimeouterror".

2009 Feb 12
1
"Max pool size" - connection error
...39;'s smaller, with less indexed fields, then some of the other indexes, and is generally unremarkable. When the error occurs, i get this in the log: ### /ebs/www/apps/e_learning_resource/releases/20090205174825/app/controllers/application.rb:97:in `rescue_action'': #<ActiveRecord::ConnectionTimeoutError: could not obtain a database connection within 5 seconds. The max pool size is currently 5; consider increasing it.> ActiveRecord::ConnectionTimeoutError (could not obtain a database connection within 5 seconds. The max pool size is currently 5; consider increasing it.): (druby://localhos...
2009 Jun 24
0
Help: pool doesn't work correctly!
...#39;m using nginx+passenger and i''ve set a max_connection_pool for passenger equal to 10, and the rails pool in the database.yml to 25. Looking to the production log i''ve found that it''s not updated (i''ve restart both mysql and nginx). The error is: ActiveRecord::ConnectionTimeoutError (could not obtain a database connection within 5 seconds. The max pool size is currently 5; consider increasing it.): Cleary it''s not updated to 25 but it still use the default (5) This is the db.yml: production: adapter: mysql database: ... username: ... password: ... host:...