App Engine Python module Basic and Manual scaling not working -
my google app engine application needs run lengthy calculation. automatic scaling on module returns deadlineexceedederror
, tried switching manual , basic scaling.
for basic scaling, added yaml file.
instance_class: b2 basic_scaling: max_instances: 5 idle_timeout: 10m
but when send url request module, logs flooded 56:
/_ah/start 404 no handlers matched url.
then returns:
httperror: http error 503: service unavailable
for manual scaling, added yaml file:
instance_class: b2 manual_scaling: instances: 1
but when send url request module, after while get:
httperror: http error 503: service unavailable
but nothing in logs.
what missing? need put handler /_ah/start
? thought 404 acceptable start module.
figured out. had add handler module.
i added:
- url: /_ah/start script: colors.handler.app
to handlers:
, worked.
Comments
Post a Comment