Scheduler can be a real mystery...

146 views
Skip to first unread message

Jason Collins

unread,
Oct 13, 2012, 1:35:00 AM10/13/12
to google-a...@googlegroups.com
See attached. Almost zero "active", but 7 instances being billed. Using F4's, Python 2.7, threadsafe: true. Idle Instances set to 1-Automatic.

Surely the scheduler can do better than this? Can anyone explain this?

Takashi Matsuo

unread,
Oct 13, 2012, 1:44:42 AM10/13/12
to google-a...@googlegroups.com
Hi Jason,

I assume the answer is no, but just in case, do you have any backup/delete job with the datastore admin?
Can you tell me your app-id, so I'll take a look?

-- Takashi



--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/KOVJvCuDdBEJ.
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.



--
Takashi Matsuo | Developers Advocate | tma...@google.com

Jason Collins

unread,
Oct 13, 2012, 2:07:05 AM10/13/12
to google-a...@googlegroups.com
We do use the Datastore Admin backup via cron, but it's not scheduled to start for another 3 hours.

App ID: repcore-prod

Takashi Matsuo

unread,
Oct 13, 2012, 5:56:14 AM10/13/12
to google-a...@googlegroups.com
Hi Jason,

Thanks for the info. I think I found the edge case bug on your app(and which doesn't affect almost all of other apps). I've escalated it to the reliability team.

I think you can manually shut down some of your instances for a temporary measure.

Sorry for the inconvenience.

-- Takashi


To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/22Qlx5IFM7kJ.

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.

Kristopher Giesing

unread,
Oct 13, 2012, 4:37:44 PM10/13/12
to google-a...@googlegroups.com
"Almost all"?

Can you please just tell us what the bug was?

- Kris

Takashi Matsuo

unread,
Oct 24, 2012, 10:12:51 PM10/24/12
to google-a...@googlegroups.com

Hi Jason,

I put a band-aid on your app, and I hope it will work as expected from now on.

BTW I noticed you have 2 max idle instances settings, which I believe is for saving the cost. Can you set max idle instances to higher value(or automatic) and see how it goes? I think 2 is too low for the access pattern of your app.

Sorry it took very long for the bandaid.

-- Takashi
Reply all
Reply to author
Forward
0 new messages