[google-appengine] Deadline exceeded error when deploying GAE flex app

2019-09-06 Thread Jeff O'Neill
I've been using GAE flex for about six months, and starting yesterday, I 
get this error when deploying with gcloud app deploy:

> ERROR: (gcloud.app.deploy) Error Response: [4] Flex operation
> projects/MY-PROJECT/regions/us-central1/operations/xxx
> error [DEADLINE_EXCEEDED]: An internal error occurred while processing
> task
> 
/appengine-flex-v1/insert_flex_deployment/flex_create_resources>2019-09-04T21:29:03.412Z8424.ow.0:
> Gave up polling Deployment Manager operation
> MY-PROJECT/operation-xxx.

I don't see any helpful info in my logs.

The app runs fine locally and I haven't done any major code changes since 
the a successful deploy a few days ago.

I wonder if I have somehow inadvertently changed a setting.  I did turn 
on Cloud Web Security Scanner, but I wouldn't expect that to cause the 
problem.

I set cloud_build_timeout to 600 (what I think is the default anyway) but 
that didn't help.

Any ideas how to fix this?  Should I set custom values for 
initial_delay_sec or app_start_timeout_sec?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/03571b71-f9d1-45c6-be89-35844e86%40googlegroups.com.


[google-appengine] Deadline Exceeded Error even with a TaskQueue running on a Backend

2013-12-27 Thread Roger
I'm having some issues with *Deadline Exceeded error*. Basically I'm doing 
some webscrapping in an URL using *Mechanize*. So when trying to perform

br.open(url)

I have this error

HTTPException: Deadline exceeded while waiting for HTTP response from URL: 
my-url

I have read the 
documentationhttps://developers.google.com/appengine/articles/deadlineexceedederrors
 where 
it says to use *Backends* (I'm using a dynamic backend, B4_1G class with 5 
instances), but still having this error happening in 60 seconds. And 
according to the docs, when using *TaskQueue* and *Backends* the timeout 
should be extended to 10 minutes.

Here is how I assign the operation to be runnnig on a TaskQueue with it's 
target on the first instance of my Backend.

taskqueue.add(url='/crons/myworker', target='1.myworker')

Here is the backends.yaml.

backends:
- name: myworker
  class: B4_1G
  instances: 5
  options: dynamic

Any ideas of what might be happening? Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Deadline Exceeded Error even with a TaskQueue running on a Backend

2013-12-27 Thread Vinny P
On Fri, Dec 27, 2013 at 12:39 PM, Roger roger.cam...@gmail.com wrote:

 I'm having some issues with *Deadline Exceeded error*. Basically I'm
 doing some webscrapping in an URL using *Mechanize*. I have this error

 HTTPException: Deadline exceeded while waiting for HTTP response from URL:
 my-url

 I have read the 
 documentationhttps://developers.google.com/appengine/articles/deadlineexceedederrors
  where
 it says to use *Backends* (I'm using a dynamic backend, B4_1G class with
 5 instances), but still having this error happening in 60 seconds. And
 according to the docs, when using *TaskQueue* and *Backends* the timeout
 should be extended to 10 minutes. Any ideas of what might be happening?
 Thank you.



This issue is not about the instance taking too long, the issue is that the
urlfetch is unable to fully download the requested URL within the default
amount of time. Use *urlfetch.set_default_fetch_deadline(number of seconds
to download file)* to increase the urlfetch deadline.


-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] deadline errors for pages which normally load fast

2013-11-04 Thread James Gilliam
I am seeing deadline failures such as the one below -- 61 secs.  Using 
python 2.7, appid ogeekcom.  Notice it doesn't say deadline error -- it 
appears that somebody is broken in the GAE logging code but based on the 61 
seconds I have come to believe it is a deadline failure.

Just loaded the same page in 208 ms.

Many times they are associated with a memcache set failure, but sometimes 
other failures, e.g. blob url_serving error.

I use the 1 gig premium memcache even though I don't need nearly that much 
cache and hate the cost at $90 a month.

I saw almost 40 of these errors overnight ... clustered around a couple of 
times.  When that happens, instances are created for each URL because the 
request takes so long to finish  ouch.


   1. 2013-11-04 14:04:27.457 /viking-international-llc 500 61941ms 0kb 
Mozilla/5.0 
   (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
   
   66.249.66.180 - - [04/Nov/2013:14:04:27 -0800] GET 
/viking-international-llc HTTP/1.1 500 0 - Mozilla/5.0 (compatible; 
Googlebot/2.1; +http://www.google.com/bot.html) www.goobafoo.com ms=61941 
cpu_ms=3850 app_engine_release=1.8.6 
instance=00c61b117c74a9c539d5b4ef839de2da2a3a8a3f 
https://appengine.google.com/instances?app_id=s~ogeekcomversion_id=1383584138-1576.371403051099549606key=00c61b117c74a9c539d5b4ef839de2da2a3a8a3f#00c61b117c74a9c539d5b4ef839de2da2a3a8a3f
   
   2. E2013-11-04 14:04:27.361
   
   [data.cacheSave, except, memcache set failed, goobafoo, 
goobafoo-goobafoo-landingview-landingid=viking-international-llc, 
{p-landingid:1, p-offset:1, t-gallerys:1, t-landings:1}]
   
   3. E2013-11-04 14:04:27.454
   
   Traceback (most recent call last):
   
   4. E2013-11-04 14:04:27.454
   
 File 
/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/app_logging.py,
 line 78, in emit
   
   5. E2013-11-04 14:04:27.454
   
   logservice.write(message)
   
   6. E2013-11-04 14:04:27.454
   
 File 
/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py,
 line 348, in write
   
   7. E2013-11-04 14:04:27.454
   
   logs_buffer().write(message)
   
   8. E2013-11-04 14:04:27.454
   
 File 
/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py,
 line 237, in write
   
   9. E2013-11-04 14:04:27.454
   
   return self._lock_and_call(self._write, line)
   
   10. E2013-11-04 14:04:27.454
   
 File 
/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py,
 line 158, in _lock_and_call
   
   11. E2013-11-04 14:04:27.454
   
   return method(*args)
   
   12. E2013-11-04 14:04:27.454
   
 File 
/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py,
 line 254, in _write
   
   13. E2013-11-04 14:04:27.454
   
   self._autoflush()
   
   14. E2013-11-04 14:04:27.454
   
 File 
/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py,
 line 322, in _autoflush
   
   15. E2013-11-04 14:04:27.454
   
   self._flush()
   
   16. E2013-11-04 14:04:27.454
   
 File 
/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py,
 line 308, in _flush
   
   17. E2013-11-04 14:04:27.454
   
   apiproxy_stub_map.MakeSyncCall('logservice', 'Flush', request, response)
   
   18. E2013-11-04 14:04:27.454
   
 File 
/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py,
 line 94, in MakeSyncCall
   
   19. E2013-11-04 14:04:27.454
   
   return stubmap.MakeSyncCall(service, call, request, response)
   
   20. E2013-11-04 14:04:27.454
   
 File 
/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py,
 line 328, in MakeSyncCall
   
   21. E2013-11-04 14:04:27.454
   
   rpc.CheckSuccess()
   
   22. E2013-11-04 14:04:27.454
   
 File 
/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_rpc.py,
 line 133, in CheckSuccess
   
   23. E2013-11-04 14:04:27.454
   
   raise self.exception
   
   24. E2013-11-04 14:04:27.454
   
   CancelledError: The API call logservice.Flush() was explicitly cancelled.
   
   25. E2013-11-04 14:04:27.454
   
   Logged from file common.py, line 573
   
   

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Deadline Exceeded Exception on loading requests leaves bad instance running

2012-10-03 Thread Jason Collins
We've seen some Deadline Exceeded Exceptions cropping up on loading 
requests again. This used to be commonplace (a couple of years ago), but I 
haven't seen it for a long time... until recently.

Has anyone else seen this lately? We're seeing it on Py2.7. Normally, these 
apps warmup in a couple of seconds, so 60-70s startup times are completely 
abnormal.

Worse, when this occurs during a loading request, the instance is left in a 
partially inflated state - in our case, basically all subsequent requests 
fail with import/pythonpath issues. Our recourse, once we discover this is 
happening, is to manually kill the instance. This really, really sucks.

Can anyone make an argument why you would *want* to keep an instance that 
Deadline Exceeded Exceptions on a loading request? I can't. I think an 
instance that hits a Deadline Exceeded Exception during a loading request 
should be thrown away as suspect.

j

-- 
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/-/7Fsp3blUSzAJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Deadline exceeded errors, huge latency, very high number of instances, entities not deleting

2012-01-17 Thread Ben
Over the past several weeks (months?) we've noticed an increased
amount of
DeadlineExceeded / Timeout Exceptions on our app, which involve a very
large delay (71476ms, 72460ms, 61287ms, 91551ms, etc) and often occur
on the smallest of queries... even requests that do not do any
database queries, such as static files. The appengine status page
shows there's never been a problem.

Here's an example of a crash that took 86168ms to fail, which was (as
far as I can tell) loading a css file:

2012-01-17 13:29:21.745 /stylesheets/all.css 500 86168ms 0kb
Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/
534.46 (KHTML, like Gecko) Mobile/9A405

66.87.122.80 - - [17/Jan/2012:13:29:21 -0800] GET /stylesheets/
all.css HTTP/1.1 500 0 http://www.[redacted].com/; Mozilla/5.0
(iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML,
like Gecko) Mobile/9A405 www.[redacted].com ms=86168 cpu_ms=93
api_cpu_ms=0 cpm_usd=0.002640 loading_request=1 pending_ms=9836
exit_code=104 instance=00c61b117c5cab753f44bfade2e47d4169dc

E 2012-01-17 13:29:21.737

class 'google.appengine.runtime.DeadlineExceededError':
Traceback (most recent call last):
  File /base/data/home/apps/[redacted]/3-0-0.356168683702691497/
extension/extension.py, line 14, in module
from extension.entry_application import EntryApplication
  File /base/data/home/apps/[redacted]/3-0-0.356168683702691497/
extension/entry_application.py, line 9, in module
from application_controller import ApplicationController
  File /base/data/home/apps/[redacted]/3-0-0.356168683702691497/
extension/application_controller.py, line 11, in module
from django.template import Context
  File /base/python_runtime/python_lib/versions/third_party/
django-1.2/django/template/__init__.py, line 50, in module


I 2012-01-17 13:29:21.738

This request caused a new process to be started for your
application, and thus caused your application code to be loaded for
the first time. This request may thus take longer and use more CPU
than a typical request for your application.

W 2012-01-17 13:29:21.738

A serious problem was encountered with the process that handled
this request, causing it to exit. This is likely to cause a new
process to be used for the next request to your application. If you
see this message frequently, you may be throwing exceptions during the
initialization of your application. (Error code 104)

-

We are also experiencing what I would consider is not proper instance
ages... we rarely see any of our instances live for any longer than 10
minutes, as we hit these deadline errors constantly (we're serving
thousands of queries per second, so one of these errors are bound to
hit an instance eventually, thus killing it and needing a new one to
start up in its place). We used to be running (and paying for!) almost
1,000 instances at any one time, even though if we turn it off
Automatic, we only use around 200.

Another new problem that has started showing up in the last few days
has been content that suddenly duplicates many times over, and then
cannot be deleted... we execute an entity.delete(), but the entity is
still viewable. If I edit the entity by hand in the Datastore Viewer,
then run the same entity.delete(), it says the entity is gone in the
Datastore Viewer, but then only a few seconds/minutes later it has
returned.

I am extremely concerned by these timeout/instance problems for a few
reasons:
1) we're paying a lot for this service
2) the processes that are timing out and killing instances are many
many times more expensive than properly-executing queries that we are
running on our site. I'm willing to pay for a query I made that takes
2000ms to execute, but not an instance loading process that I don't
have control of that dies after taking 9ms.
3) I'm seeing a lot of discussion threads documenting issues which are
very similar to our problem, and haven't seen any Google response
aside from replies of switch over to the HRD, because it's more
stable. Unless you have stated that you are deprecating the master/
slave system, that's not an answer to the stated problems with the
existing (and previously working and stable) system.

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Deadline Exceeded within few seconds

2011-11-15 Thread JSiy
I'm using Gaelyk. I have a task in the default queue that connects to
a restful service using UrlFetch. However even before the transaction
is finished, I'm getting the ff. error:

com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The
API call urlfetch.Fetch() took too long to respond and was cancelled.

but in my code I'm fetching with a deadline of 300 seconds.
def request = new HTTPRequest(url, HTTPMethod.POST, withDeadline(300))

According to the logs, it's only been less than 8 seconds when it
timed out.

Has anyone else encountered this? Please help.

thanks!!!

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Deadline exceeded on urlfetch calls this afternoon.

2011-10-14 Thread Deepak Singh
Me too. Faced this problem today and also GAE 1.5.5 seems to ignore its
extended timeout of 6 and works with default 5 sec.
Pls google let us know if it comes to your maintainance time or anything
else which affects the gae behaviour.

Thanks
Deepak

On Fri, Oct 14, 2011 at 10:12 AM, Rishi Arora rishi.ar...@ship-rack.comwrote:

 My app experienced this too, specifically with URL Fetches from UPS's
 systems.  But it seems to be more likely a problem with UPS's servers, and
 not GAE.


 On Thu, Oct 13, 2011 at 5:56 PM, Will Reiher wrele...@gmail.com wrote:

 Getting a bunch of Deadline Exceeded Application Error 5's from the
 urlfetch library this afternoon with code that has been static for weeks.
 Thankfully it's failing when checking the shipping rates and not when
 processing transactions. I don't see any thing in System Status.

 --
 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/-/LCo8WIRYTusJ.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


  --
 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-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Deadline exceeded on urlfetch calls this afternoon.

2011-10-14 Thread Will Reiher
I can confirm that it wasn't only UPS fetches. I had a intermittent failures 
when urlfetching small images from AmazonS3 as well.

-- 
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/-/3A-O0nsd-ZMJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Deadline exceeded on urlfetch calls this afternoon.

2011-10-13 Thread Will Reiher
Getting a bunch of Deadline Exceeded Application Error 5's from the urlfetch 
library this afternoon with code that has been static for weeks. Thankfully 
it's failing when checking the shipping rates and not when processing 
transactions. I don't see any thing in System Status. 

-- 
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/-/LCo8WIRYTusJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Deadline exceeded on urlfetch calls this afternoon.

2011-10-13 Thread Rishi Arora
My app experienced this too, specifically with URL Fetches from UPS's
systems.  But it seems to be more likely a problem with UPS's servers, and
not GAE.

On Thu, Oct 13, 2011 at 5:56 PM, Will Reiher wrele...@gmail.com wrote:

 Getting a bunch of Deadline Exceeded Application Error 5's from the
 urlfetch library this afternoon with code that has been static for weeks.
 Thankfully it's failing when checking the shipping rates and not when
 processing transactions. I don't see any thing in System Status.

 --
 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/-/LCo8WIRYTusJ.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Deadline exceeded during warm-up

2011-07-01 Thread Bert
Hi,

Is anyone else experiencing deadline exceeded errors on warm up? Its
been happening for the last hour or so on my app.
My app is running on master-slave datastore. System status says
everything is fine, so perhaps its just me!
On the last instance that just started, the latency was 9 seconds. On
subsequent requests it dropped to 11ms.
Instance...
1 total 0.0509033.0 ms   28.4 MBytes

Thanks
Rob

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Deadline Exceeded Errors

2011-05-09 Thread Dan
Anyone else start experiencing Deadline Exceeded Errors around
2011-05-09 08:12:00?  My application mind-well started around that
time and is still failing around 08:30:00.

Dan

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Deadline Exceeded Errors

2010-11-04 Thread Joshua Smith
I'm getting these every time it spins up a new instance.

The status page shows everything normal.

I'm getting this across multiple apps.

-Joshua

-- 
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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Deadline errors better today, Wed Nov 3rd, but still happening

2010-11-03 Thread Kenneth
The errors are a bit better today but still not good.  I had run of
them between 6:10am and 6:28am (log time).

I've also noticed that cpu usage is running about 30% above normal but
traffic appears to be the same.

I really hope the maintenance this weekend makes things better and not
worse.

-- 
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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Deadline?

2010-06-07 Thread Patrick Twohig
I was under the impression that the deadline for requests was 30 seconds,
but my app is routinely throwing deadline exceptions after 10 seconds or so.
 Is there a reason for this?

-- 
Patrick H. Twohig.

Namazu Studios
P.O. Box 34161
San Diego, CA 92163-4161

-- 
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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Deadline Exceeded, but not in my app code?

2009-01-19 Thread tauz...@gmail.com

I'm seeing this error message:

class 'google.appengine.runtime.DeadlineExceededError':
Traceback (most recent call last):
  File /base/data/home/apps/minitracker/4.3/main.py, line 29, in
module
InstallAppengineHelperForDjango()
  File /base/data/home/apps/minitracker/4.3/appengine_django/
__init__.py, line 329, in InstallAppengineHelperForDjango
PatchDjangoSerializationModules()
  File /base/data/home/apps/minitracker/4.3/appengine_django/
__init__.py, line 165, in PatchDjangoSerializationModules
from appengine_django.serializer.python import Deserializer
  File /base/data/home/apps/minitracker/4.3/appengine_django/
serializer/python.py, line 35, in module
from django.utils.encoding import smart_unicode
class 'google.appengine.runtime.DeadlineExceededError':

It appears that the deadline exceeded error is happening during an
import of some sort, but not in the application code that I wrote.

Any ideas?

-Dave
--~--~-~--~~~---~--~~
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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] DEADLINE Exceeded Messages ?!

2008-12-19 Thread Derrick

I continue to be plagued by deadline exceeded messages, even when
requesting a jpg file from within a zip file.  I find it hard to
believe that the individual request is responsible for the deadline
exceeded.  What circumstances could cause this error?

#

   1.
  12-18 03:35PM 36.823 /Photos/P200512048/2277/Benchmark315br.jpg/
500 8769ms 23782ms-cpu 1kb
  See details

  76.14.31.214 - derrickrburns [18/Dec/2008:15:35:45 -0800] GET /
Photos/P200512048/2277/Benchmark315br.jpg/ HTTP/1.1 500 1323 http://
vhac.appspot.com/search?location=angel+fire%2C
+nmbedrooms=bathrooms= -

   2.
  E 12-18 03:35PM 45.589

  class 'google.appengine.runtime.DeadlineExceededError':
  Traceback (most recent call last):
File /base/data/home/apps/vhac/1.330078475388282125/main.py,
line 29, in module
  InstallAppengineHelperForDjango()
File /base/data/home/apps/vhac/1.330078475388282125/
appengine_django/__init__.py, line 373, in
InstallAppengineHelperForDjango
  InstallAuthentication()
File /base/data/home/apps/vhac/1.330078475388282125/
appengine_django/__init__.py, line 393, in InstallAuthentication
  from appengine_django.auth import models as helper_models
File /base/data/home/apps/vhac/1.330078475388282125/
appengine_django/auth/__init__.py, line 24, in module
  from django.template import Node
File /base/data/home/apps/vhac/1.330078475388282125/django/
template/__init__.py, line 51, in module
  import re
File /base/python_dist/lib/python2.5/py_zipimport.py, line
104, in __init__
  if not os.path.isfile(archive):
File /base/python_dist/lib/python2.5/posixpath.py, line 208,
in isfile
  st = os.stat(path)


--~--~-~--~~~---~--~~
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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] DEADLINE Exceeded Messages ?!

2008-12-18 Thread Derrick

I am consistently getting Deadline exceeded messages.  The problem is
that my individual requests are trivial: do a query or two to
BigTable, serialize the results, and return them.

So, what could be causing these messages.  How are deadlines actually
measured on app engine?

In my case, I am sending a number (10-50) of requests in parallel.
Each individual request retrieves a single row in a table plus one or
two rows in related tables.

I would guess that that CPU time usage is measured by interrupting the
thread serving a request at regular intervals.   The question is, how
does this interrupt ascertain whether a CPU deadline has been
exceeded.

I hypothesize that when the poller wakes up, it checks to see which
application has the cpu, and adds a tick to the count for that user.
If the same application is using the CPU as the previous  time the
poller awoke, then the poller checks to see if the tick count exceeds
the deadline. If so, it initiates a deadline exceeded message and
terminates the request.

If this is the algorithm, then it is very problematic for me. Will
someone from the Google App Engine team explain to us the workings of
the Deadline measuring algorithm so that we can adjust our application
for work on the platform.

Also, could the problem have anything to do with indexing?  Our
queries are dirt simple: a single query parameter, so we do not
generate indices for them manually.
--~--~-~--~~~---~--~~
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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] deadline exceeded errors

2008-11-09 Thread jhurstus

This morning my application has been receiving deadline exceeded
errors for many requests, including some that usually take very
little time to process.  My code has not been updated recently, so I
suspect this is an environmental issue.

Also, the app engine dashboard is currently down (Application
statistics are currently unavailable.).  Anybody experiencing similar
problems?

-Joey

--~--~-~--~~~---~--~~
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-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---