PG CONNECTION TIME OUT ERROR

6 views
Skip to first unread message

Loganathan Sellapa

unread,
Apr 8, 2013, 12:42:44 PM4/8/13
to Rails
Hi All,

I am frequently getting Pg Connection timeout error in my application. I tried to fix it by upgrading the system memory, also updated the pg gem but the issue is still occurring. Anybody's help will be really appreciated.

(ActiveRecord::StatementInvalid) "PGError: server closed the connection unexpectedly\n\tThis probably means the server terminated abnormally\n\tbefore or while processing the request.\n: BEGIN"

regards,
Loganathan
Mob: +91 7760780741 | +91 9944414388
Skype: loganathan.sellappa
ViewMe

Jordon Bedwell

unread,
Apr 8, 2013, 12:49:19 PM4/8/13
to rubyonra...@googlegroups.com
On Mon, Apr 8, 2013 at 11:42 AM, Loganathan Sellapa <logana...@gmail.com> wrote:
I am frequently getting Pg Connection timeout error in my application. I tried to fix it by upgrading the system memory, also updated the pg gem but the issue is still occurring. Anybody's help will be really appreciated.

(ActiveRecord::StatementInvalid) "PGError: server closed the connection unexpectedly\n\tThis probably means the server terminated abnormally\n\tbefore or while processing the request.\n: BEGIN"

This is a problem with your PostgreSQL server.  You either have abnormally high latency that your PG server is unforgiving of or somebody misconfigured it, I would contact whoever manages your databases. 

Loganathan Sellapa

unread,
Apr 8, 2013, 12:52:50 PM4/8/13
to Rails
Hi Jordon,

Yes, I already contacted my DBA and he also did something by upgrading the PG server version from 8.x to 9.x and increased the VM's memory but no luck.

regards,
Loganathan
Mob: +91 7760780741 | +91 9944414388
Skype: loganathan.sellappa
ViewMe



--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages