Ruby on Rails Wednesday, April 24, 2013

Hi,


We have our rails application running on AWS. we have two application servers  and one database(postgres) server of C1.xlarge  AWS instance type.
Our passengermaxpoolsize is set to  30. And postgresql max connection limit is 100. 
Recently we found that when we got nearly 700 request per minute, our application created nearly crossed the max connection limit of postgres server and our application server went into waiting state and utilized nearly 100% of CPU and RAM.

Can anyone guide us what might be cause of this crash? How rails processes using the connection pool configuration?


Regards,


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/w6lA93AfSHMJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment