Hi,
I'm running ODK Aggregate v.1.3.2 on Google App Engine and the
frontend-queue is running 24/7 with tasks and racking up some big charges.
Most of this time we are not using Aggregate. Google Enterprise Support
confirmed that most of the load came from /gae/uploadSubmissionsTask &
/gae/watchdog but claims everything is running normally on their end.
I'm dug through the server logs and most of the Info type of entries
are the
I 2013-08-01 13:02:30.447 [s~edmpestlab/1.369201346591658058].:
Time left on lock: -12380028.
These Warning messages I hadn't seen before today:
W 2013-08-01 13:02:50.717
org.opendatakit.aggregate.task.UploadSubmissionsWorkerImpl
uploadAllSubmissions: Upload invoked when operational status is not ACTIVE
W 2013-08-01 13:02:50.953
org.opendatakit.aggregate.task.UploadSubmissionsWorkerImpl
uploadAllSubmissions: Unable to acquire lock
Examples of the error messages:
E 2013-08-01 13:03:08.889
org.opendatakit.aggregate.externalservice.GoogleSpreadsheet insertData:
Unable to insert data into spreadsheet
exception: OK
E 2013-08-01 13:03:09.236
org.opendatakit.aggregate.task.gae.servlet.UploadSubmissionsTaskServlet
doGet: org.opendatakit.aggregate.exception.ODKExternalServiceException:
com.go
E 2013-08-01 13:01:54.411
org.opendatakit.aggregate.task.gae.servlet.UploadSubmissionsTaskServlet
doGet: org.opendatakit.aggregate.exception.ODKExternalServiceException: {
"err
E 2013-08-01 13:03:07.456
org.opendatakit.aggregate.task.gae.servlet.UploadSubmissionsTaskServlet
doGet: org.opendatakit.aggregate.exception.ODKExternalServiceException: {
"error": { "errors": [ { "domain": "global", "reason":
"backendError", "message": "Backend Error" } ], "code": 503,
"message": "Backend Error" }}INSERT INTO
1IQS48A9Tq-R8s6geNV3yQvH4MPbaJCqsrX1861I
('meta-instance-id','meta-model-version','meta-ui-version','meta-submission-date','meta-is-complete','meta-date-marked-as-complete','FormVersion','DateAuto','deviceid','simid','PhoneNumber','Crew','PhoneUserLab','PhoneUserOps','PhoneUserOth','PhoneUser','Phonename')
VALUES
('uuid:ef0b5fd9-2ebd-487c-b451-dfeda5dd13a6','2013060402','','06/26/2013
16:04:44.807','true','06/26/2013
16:04:44.807','ver_2013-Jun-04_rev02','06/26/2013
16:04:09.785','356854040053167','8912230000040758245','','PestLab','BillSmith','','','BillSmith','Myphone
bill smith') ; INSERT INTO 1IQS48A9Tq-R8s6geNV3yQvH4MPbaJCqsrX1861I
('meta-instance-id','meta-model-version','meta-ui-version','meta-submission-date','meta-is-complete','meta-date-marked-as-complete','FormVersion','DateAuto','deviceid','simid','PhoneNumber','Crew','PhoneUserLab','PhoneUserOps','PhoneUserOth','PhoneUser','Phonename')
VALUES
('uuid:1db681c8-2716-4d7c-829a-45195b45955c','2013060402','','08/01/2013
18:41:53.837','true','08/01/2013
18:41:53.837','ver_2013-Jun-04_rev02','08/01/2013
18:41:34.003','356854040053100','8912230000127052512','17809185555','PestLab','JohnSmith','','','JohnSmith','Mine')
The last error message in the list is the shortest example of an error
that happens for more than one form. I compared the data in these messages
with existing data in the corresponding Fusion Tables and it's always for
records that I had to directly alter in the Fusion Tables.
Purging the waiting tasks in the frontend-queue stops activity in the
Dashboard charts briefly and pausing the frontend-queue stops most activity
for as long as it is paused while still queuing tasks. 256 tasks piled up
last night. I was running version 1.3.1 and then upgraded to 1.3.2 in
hopes that might solve the problem but nothing changed.
To me it seems like something is "stuck" and keeps resubmitting but I
really don't know how to fix it. I'm a little cautious of pushing too many
buttons without knowing what things like "Flushing Memcache" etc. actually
do. I've searched through ODK Community and Google App Engine groups but
am not finding anything similar.
Any suggestions of what to do, information needed to solve the
problem, places to refer my question, wild-ass guesses would be greatly
appreciated. As a side question, does anyone know of good documentation on
App Engine from an administrators point of view? All the documentation
I've seen seems oriented to programming.
Thank you.