Huge cold start times, up to 75 seconds!

72 views
Skip to first unread message

Spines

unread,
Mar 3, 2011, 12:34:15 PM3/3/11
to Google App Engine
For the past couple days, I've been experiencing huge cold start
times. They range from 10 seconds, all the way up to 75 seconds. On
average they seem to be about 30 seconds.

Just a couple weeks ago my cold start times ranged from 7 to 15
seconds. To make sure it wasn't due to any changes in my code, I
tested out an older version of my code too. It was also experiencing
large cold start times.

Spines

unread,
Mar 3, 2011, 12:43:57 PM3/3/11
to Google App Engine
More info:

My cpu_ms for cold starts is consistently between 7 and 9 seconds, yet
the actual time it takes to respond fluctuates from 8 to 75 seconds.

Log lines:
2011-03-03 09:36:26.620 /?tab=recentedits&ajax=true 200 47085ms
8873cpu_ms 30api_cpu_ms
2011-03-03 09:25:38.135 /?tab=popular&ajax=true 200 39145ms 8640cpu_ms
30api_cpu_ms
2011-03-03 07:38:15.167 /?tab=needshelp&ajax=true 200 17632ms
8476cpu_ms 30api_cpu_ms
2011-03-03 07:18:03.143 /?tab=new&ajax=true 200 75680ms 8896cpu_ms
30api_cpu_ms

Petey

unread,
Mar 3, 2011, 7:29:53 PM3/3/11
to Google App Engine
I'm seeing the same thing in the last couple of days. Requests that
normally take under a second are taking longer than 15 seconds.

An example from my logs:

2011-03-03 16:25:01.114 "GET /friends" 200 real=22788ms cpu=52549ms
api=260ms overhead=0ms (5 RPCs)

And it's only running 3 Gets and 2 Queries.

Gary Eberhart

unread,
Mar 3, 2011, 9:01:22 PM3/3/11
to google-a...@googlegroups.com
I had the same issues. However, paying the .30 cents per day to keep 3 instances of my app running has made a huge difference. 


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.


Robert Kluin

unread,
Mar 3, 2011, 10:47:53 PM3/3/11
to google-a...@googlegroups.com
I see occasional issues with this too. Here a a few samples from
about 12 hours ago, same URL:

My typical loading request:
ms=228 cpu_ms=222 api_cpu_ms=82 cpm_usd=0.006245 loading_request=1

I see these maybe 15% of the time:
ms=6667 cpu_ms=358 api_cpu_ms=8 cpm_usd=0.010137 loading_request=1

And these maybe 5% to 10%, depending on the day:
ms=421495 cpu_ms=380 api_cpu_ms=77 cpm_usd=0.010744
loading_request=1 pending_ms=14


I've also went through a period of a couple weeks where this app was
seeing about 95% of the loading requests like the last one. Same code
base (last update to it was about 110 days ago).


Robert

Simon Knott

unread,
Mar 4, 2011, 4:38:03 AM3/4/11
to google-a...@googlegroups.com
I've experienced this today as well:
2011-03-04 00:20:13.826 /daySummary/get 200 33245ms 6798cpu_ms 12api_cpu_ms

Mauro Asprea

unread,
Mar 4, 2011, 5:10:14 AM3/4/11
to google-a...@googlegroups.com
this is happening to me too. Today seems to be more responsive than yesterday (6-12 secs)

On Fri, Mar 4, 2011 at 10:38 AM, Simon Knott <knott...@gmail.com> wrote:
I've experienced this today as well:
2011-03-04 00:20:13.826 /daySummary/get 200 33245ms 6798cpu_ms 12api_cpu_ms

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.



--
Mauro Sebastián Asprea

E-Mail: mauro...@gmail.com
Mobile: +34 654297582
Skype: mauro.asprea
http://www.wishandbam.com/

Algunos hombres ven las cosas como son y se preguntan porque. Otros sueñan cosas que nunca fueron y se preguntan por qué no?.
George Bernard Shaw

Ikai Lan (Google)

unread,
Mar 4, 2011, 2:08:43 PM3/4/11
to google-a...@googlegroups.com
Robert, when you say 5-10% of the time, do you mean 5-10% of your loading requests or 5-10% of your overall requests?

Ikai Lan 
Developer Programs Engineer, Google App Engine

Robert Kluin

unread,
Mar 4, 2011, 2:48:19 PM3/4/11
to google-a...@googlegroups.com
Hey Ikai,
My numbers were all for loading requests. Sorry, I should have been
more specific. :)

Sometimes I also notice requests like the second one in my list
(ms=6667) for non-loading requests too. But that is a small
single-digit percentage.

Robert

Reply all
Reply to author
Forward
0 new messages