Fwd: PG CONNECTION TIME OUT ERROR

11 views
Skip to first unread message

Loganathan Sellapa

unread,
Apr 8, 2013, 12:45:01 PM4/8/13
to singap...@googlegroups.com
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

Keith Bennett

unread,
Apr 8, 2013, 4:18:09 PM4/8/13
to singap...@googlegroups.com
Loganathan -

Can you say more about what's going on? What kind of operation is it?

Is it possible you can shorten the required time by optimizing the statement in some way?

You may be able to change the timeout period, but that might not be a solution for you.

I wonder if, in addition to increasing the physical memory, you need to configure Postgres in some way?  That is, does it maybe have a maximum memory use setting that needs to be increased?

- Keith


--
You received this message because you are subscribed to the Google Groups "Singapore Ruby Brigade" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singapore-rb...@googlegroups.com.
To post to this group, send email to singap...@googlegroups.com.
Visit this group at http://groups.google.com/group/singapore-rb?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages