Hello, I developed an app with GAE/J and I created a cron job like this:

<?xml version="1.0" encoding="UTF-8"?>
<cronentries>
  <cron>
    <url>/cron/v1/cleanDB</url>
    <description>Clean Data Base</description>
    <schedule>every day 04:00</schedule>
    <target>clean-db</target>
  </cron>
</cronentries>

Also, I defined this backend:
<backends>
  <backend name="clean-db">
    <class>B1</class>
    <options>
        <dynamic>true</dynamic>
    </options>
  </backend>
</backends>


My cron job and backend are always working fine, but one day when the crob 
job was woken and the backend must have started, It consumed 46858162ms 
(13h) and I received this error:

2013-01-05 18:01:00.669 /_ah/start 500 46858162ms 0kb instance=0 

   1. 
      1.  I 2013-01-05 18:01:00.669 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 requ 
      2.  E 2013-01-05 18:01:00.669 Process terminated because the backend 
      took too long to shutdown.
   
Then, I received multiples errors every 200ms:

   1. 
      1.  2013-01-05 18:01:20.370 /cron/v1/cleanDB 503 4ms 0kb 
AppEngine-Google; 
      (+http://code.google.com/appengine) 
      
      0.1.0.1 - - [05/Jan/2013:09:01:20 -0800] "GET /cron/v1/cleanDB HTTP/1.1" 
503 970 - "AppEngine-Google; (+http://code.google.com/appengine)" 
"clean-bd.categoriasidintel.appspot.com" ms=4 cpu_ms=0 cpm_usd=0.000108 
queue_name=__cron task_name=a96f2b757c5cbc0b3811e7a105fe7f0b 
      
      
This error consumes my free 9h of backends (I do not allow even billing)

Well, what was the problem? Maybe it was a causal problem, but I am very 
disappointed 
with GAE, though I have enabled billing, how much would it cost? 
Is there any way to prevent this kind of thing?

Thanks

-- 
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/-/y_b71bjBtZ0J.
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.

Reply via email to