The backends are getting killed because something or someone is sending _ah/stop requests to them. You can read more about shutdown requests here: https://developers.google.com/appengine/docs/java/backends/overview#Shutdown
The first thing that comes to mind is that you may be exceeding the memory limit, especially considering that AppEngine is complaining about chunk size. See here for more details: http://stackoverflow.com/questions/7198738/for-google-app-engine-java-how-do-i-set-and-use-chunk-size-in-fetchoptions but the TLDR is that you're requesting a lot of entities in one operation. Depending on your code and what you're doing, you may be exceeding the memory limit for the backend. Try increasing the backend size and see if it solves the problem. If not, can you post some code? -Vinny On Thursday, March 14, 2013 7:55:17 AM UTC-5, aswath wrote: > > > Hello, > I am running a tasks in the Java Backends. Within 7 min, the Java > Backends is started 3 times. > The bad part is , the backends are getting killed in the middle of a > running task. > > Please advise > > -Aswath > > > > 1. > 1. 2013-03-14 17:45:46.214 > /admin/addGlAcctOrgPartyDateMonthYearToEntry 500 99494ms 0kb > instance=0 AppEngine-Google; (+http://code.google.com/appengine) > 2. W2013-03-14 17:44:19.341 > com.google.appengine.api.datastore.QueryResultsSourceImpl > logChunkSizeWarning: This query does not have a chunk size set in > FetchOptions and has retur > 3. W2013-03-14 17:44:19.608 com.veersoft.AddDateMonthYearEntities > doProcess: procing [email protected] > 4. W2013-03-14 17:44:19.609 com.veersoft.AddDateMonthYearEntities > createGlAcctOrgPartyDateMonthYear: crnt nameSpace= > c-p-r-p-l-26april1973-gmail.com > 5. W2013-03-14 17:44:20.386 com.veersoft.AddDateMonthYearEntities > createGlAcctOrgPartyDateMonthYear: No.of AcctgTrans= 73 > 6. W2013-03-14 17:44:22.537 com.veersoft.AddDateMonthYearEntities > createGlAcctOrgPartyDateMonthYear: AcctgTran count: 0 > 7. W2013-03-14 17:45:24.938 com.veersoft.AddDateMonthYearEntities > createGlAcctOrgPartyDateMonthYear: AcctgTran count: 25 > 8. E2013-03-14 17:45:46.213 Process terminated because the backend > took too long to shutdown. > 2. > 1. 2013-03-14 17:45:35.268 /_ah/stop 200 119ms 0kb instance=0 > 3. > 1. 2013-03-14 17:44:18.297 /_ah/start 404 10478ms 0kb instance=0 > 2. W2013-03-14 17:44:10.419 > com.veersoft.listener.VsServletContextListener > contextInitialized: 2013-03-14 18:14:10 IST > 3. I2013-03-14 17:44:13.889 > com.google.inject.internal.util.$FinalizableReferenceQueue$SystemLoader > loadFinalizer: Not allowed to access system class loader. > 4. I2013-03-14 17:44:13.895 > com.google.inject.internal.util.$FinalizableReferenceQueue > <init>: Failed to start reference finalizer thread. Reference cleanup > will > only occur when > 5. I2013-03-14 17:44:18.297 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 > 4. > 1. 2013-03-14 17:43:46.513 > /admin/addGlAcctOrgPartyDateMonthYearToEntry 500 380429ms 0kb > instance=0 AppEngine-Google; (+http://code.google.com/appengine) > 2. W2013-03-14 17:37:46.188 > com.google.appengine.api.datastore.QueryResultsSourceImpl > logChunkSizeWarning: This query does not have a chunk size set in > FetchOptions and has retur > 3. W2013-03-14 17:37:46.651 com.veersoft.AddDateMonthYearEntities > doProcess: procing [email protected] > 4. W2013-03-14 17:37:46.653 com.veersoft.AddDateMonthYearEntities > createGlAcctOrgPartyDateMonthYear: crnt nameSpace= > c-p-r-p-l-26april1973-gmail.com > 5. W2013-03-14 17:37:47.343 com.veersoft.AddDateMonthYearEntities > createGlAcctOrgPartyDateMonthYear: No.of AcctgTrans= 73 > 6. W2013-03-14 17:37:50.271 com.veersoft.AddDateMonthYearEntities > createGlAcctOrgPartyDateMonthYear: AcctgTran count: 0 > 7. W2013-03-14 17:39:04.011 com.veersoft.AddDateMonthYearEntities > createGlAcctOrgPartyDateMonthYear: AcctgTran count: 25 > 8. E2013-03-14 17:43:46.513 Process terminated because the backend > took too long to shutdown. > 5. > 1. 2013-03-14 17:43:46.512 /_ah/stop 500 10199ms 0kb instance=0 > 2. E2013-03-14 17:43:46.512 Process terminated because the backend > took too long to shutdown. > 6. > 1. 2013-03-14 17:37:43.668 /_ah/start 404 17718ms 0kb instance=0 > 2. W2013-03-14 17:37:29.765 > com.veersoft.listener.VsServletContextListener > contextInitialized: 2013-03-14 18:07:29 IST > 3. I2013-03-14 17:37:36.186 > com.google.inject.internal.util.$FinalizableReferenceQueue$SystemLoader > loadFinalizer: Not allowed to access system class loader. > 4. I2013-03-14 17:37:36.198 > com.google.inject.internal.util.$FinalizableReferenceQueue > <init>: Failed to start reference finalizer thread. Reference cleanup > will > only occur when > 5. I2013-03-14 17:37:43.667 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 > 7. > 1. 2013-03-14 17:37:25.812 > /admin/addGlAcctOrgPartyDateMonthYearToEntry 500 359193ms 0kb > instance=0 AppEngine-Google; (+http://code.google.com/appengine) > 2. W2013-03-14 17:31:27.601 > com.google.appengine.api.datastore.QueryResultsSourceImpl > logChunkSizeWarning: This query does not have a chunk size set in > FetchOptions and has retur > 3. W2013-03-14 17:31:28.807 com.veersoft.AddDateMonthYearEntities > doProcess: procing [email protected] > 4. W2013-03-14 17:31:28.807 com.veersoft.AddDateMonthYearEntities > createGlAcctOrgPartyDateMonthYear: crnt nameSpace= > c-p-r-p-l-26april1973-gmail.com > 5. W2013-03-14 17:31:29.401 com.veersoft.AddDateMonthYearEntities > createGlAcctOrgPartyDateMonthYear: No.of AcctgTrans= 73 > 6. W2013-03-14 17:31:33.336 com.veersoft.AddDateMonthYearEntities > createGlAcctOrgPartyDateMonthYear: AcctgTran count: 0 > 7. W2013-03-14 17:32:42.607 com.veersoft.AddDateMonthYearEntities > createGlAcctOrgPartyDateMonthYear: AcctgTran count: 25 > 8. W2013-03-14 17:37:25.811 A 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 nex > > > 1. > 1. > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
