Errors in vm.syslog and Memory Usage constantly increasing on NodeJS AppEngine

680 views
Skip to first unread message

Nicola Donadoni

unread,
Dec 14, 2017, 12:17:45 PM12/14/17
to Google App Engine
Hi everyone,

I am having a problem on some of my AppEngine projects, since a few days I started to I see a lot of errors (which I noticed they might happen when an health check arrives) in my vm.syslog logs from Stackdriver Logging.

In the specific these are:
 - write_gcm: Server response (CollectdTimeseriesRequest) contains errors:#012{#012 "payloadErrors": [#012 {#012 "index": 71,#012 "error": {#012 "code": 3,#012 "message": "Expected 4 labels. Found 0. Mismatched labels for payload [values {\n data_source_name: \"value\"\n data_source_type: GAUGE\n value {\n double_value: 694411264\n }\n}\nstart_time {\n seconds: 1513266364\n nanos: 618061284\n}\nend_time {\n seconds: 1513266364\n nanos: 618061284\n}\nplugin: \"processes\"\nplugin_instance: \"all\"\ntype: \"ps_rss\"\n] on resource [type: \"gce_instance\"\nlabels {\n key: \"instance_id\"\n value: \"xxx\"\n}\nlabels {\n key: \"zone\"\n value: \"europe-west2-a\"\n}\n] for project xxx"#012 }#012 }#012 ]#012}
 - write_gcm: Unsuccessful HTTP request 400: {#012  "error": {#012    "code": 400,#012    "message": "Field timeSeries[11].metric.labels[1] had an invalid value of \"health_check_type\": Unrecognized metric label.",#012    "status": "INVALID_ARGUMENT"#012  }#012}
 - write_gcm: Error talking to the endpoint.
 - write_gcm: wg_transmit_unique_segment failed.
 - write_gcm: wg_transmit_unique_segments failed. Flushing.

At the same time, I noticed that my Memory Usage in the AppEngine dashboard for the very same projects is increasing with the passing of time at the point where it reaches the max amount available and the instance restarts, throwing a 502 error when visiting the web site that the app is serving.

All this is not happening on a couple of projects that have not been updated since at least 2 weeks (neither the errors above or the memory increase) but it does happen on a newly created instance when deployed with the same codebase of one of the healthy projects. In addition, I don't happen to see any increase in the memory when running my project locally.

Can someone gently tell me if they experienced something similar or if they think that the errors and the memory increase are related? I have haven't changed my yaml file for deployment recently and I haven't specified any custom configuration for the health checks (which run on legacy mode at the default rate).

Thank you for your help,
Nicola

Kenworth (Google Cloud Platform)

unread,
Dec 14, 2017, 2:50:44 PM12/14/17
to Google App Engine

Hi Nicola, a thread like this is off-topic for Google Groups. As it may potentially be a defect on the platform and most likely lead to a specific situation which may require some exchange of project information to reproduce the behavior you described, I highly encourage you to submit a defect report as described in this article so that proper attention and weight will be given to it. We monitor that issue tracker closely.


We look forward to this issue report.


Samuel Richardson

unread,
Dec 18, 2017, 10:20:24 AM12/18/17
to Google App Engine
Interesting, I'm seeing exactly the same behaviour on our instances.

Kenworth (Google Cloud Platform)

unread,
Dec 18, 2017, 1:08:55 PM12/18/17
to google-a...@googlegroups.com
Current solution: Redeploy application

If issue persists after redeployment, please post error logs on this issue tracker to help us investigate the issue further. Thank you.

Cardiac Design Labs Pvt Ltd

unread,
Jan 12, 2018, 9:04:37 AM1/12/18
to Google App Engine
Hi Nicola,

 did you overcome with this problm by any way??
For me also same error comes and after some it just restart the VM

Cardiac Design Labs Pvt Ltd

unread,
Jan 12, 2018, 9:04:37 AM1/12/18
to Google App Engine
Similar issues is observed in app engine with asia-south1-b, it shuts downs the App engine, we are into critical heathcare, where patient safety comes to stake,
please  solve this issues ASAP.

Thanks 
Reply all
Reply to author
Forward
0 new messages