1.2 high CPU warning accessing Robots.txt?

32 views
Skip to first unread message

Fred

unread,
Dec 4, 2008, 4:51:33 PM12/4/08
to Google App Engine
Hi,

I was just checking my warning logs in the dashboard and noticed this:

65.55.231.106 - - [04/12/2008:03:23:08 -0800] "GET /robots.txt HTTP/
1.1" 404 84 - -

This request used a high amount of CPU, and was roughly 1.2 times over
the average request CPU limit. High CPU requests have a small quota,
and if you exceed this quota, your app will be temporarily disabled.

Is CPU time reporting accurate, or is it still being perfected?

johnP

unread,
Dec 4, 2008, 8:21:45 PM12/4/08
to Google App Engine
It is a perfect Achilles Heel.

Brett Slatkin

unread,
Dec 5, 2008, 1:16:12 AM12/5/08
to google-a...@googlegroups.com
Often this is caused by having a default dynamic request handler like this:

- url: .*
script: main.py


You can eliminate this issue by adding a static robots.txt file before
the dynamic handler:

- url: /robots\.txt
static_files: robots.txt
upload: robots\.txt

- url: .*
script: main.py
Reply all
Reply to author
Forward
0 new messages