Monday, August 26, 2013

Re: cloud sql stops working after sometime

What language you using? Are you using the native connections [1]? For Java one very important thing is to make sure the connections are closed at the end of a request.


-- Razvan ME


On Mon, Aug 26, 2013 at 6:26 AM, ankur shah <shahankur3112@gmail.com> wrote:
So when you say connection you mean Database connection?. What if i add a check to my code to make sure that connection is refreshed every few hours will that help?
Also restarting the instance fixes everything again.

Thanks a lot for helping


On Monday, August 26, 2013 8:52:31 AM UTC-4, cp wrote:
If the app is not used I have noticed that the connection drops. Ping hasn't worked for me, so I refresh it every time I use it

On Monday, August 26, 2013 10:01:49 AM UTC+1, ankur shah wrote:
When i deploy the app engine project connected to cloud sql it works fine for sometime. But after sometime i try to access, it does not return any results. similar issue https://vaadin.com/old-forum/-/message_boards/view_message/2873573#_19_message_0

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/cef9ab0d-cb89-439d-8a07-f17dbe98d5d8%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/CA%2BUvTg2gGTwQBALk144JANtxLW%3DEkXT6Pybo%3DAejO61s0cUU8g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment