Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
719 views
in Technique[技术] by (71.8m points)

Googel App Engine: Intermittent Issue: Process terminated because the request deadline was exceeded. (Error code 123)

Problem you have encountered: I have deployed a spring boot application (backend) on Google App Engine. For past few days, I am getting below mentioned error intermittently: Error: Process terminated because the request deadline was exceeded. (Error code 123)

Description:

I have deployed a spring boot application (backend) on Google App Engine. For past few days, I am getting below mentioned error intermittently: Error: Process terminated because the request deadline was exceeded. (Error code 123)

The application uses CloudSQL (MySQL) database. I have setup below mentioned auto-scale properties as well:

       <sessions-enabled>true</sessions-enabled>
    <warmup-requests-enabled>true</warmup-requests-enabled>
    <instance-class>F2</instance-class>
    <automatic-scaling>
        <target-cpu-utilization>0.65</target-cpu-utilization>
        <min-instances>10</min-instances>
        <max-instances>20</max-instances>
        <min-idle-instances>5</min-idle-instances>
        <max-idle-instances>6</max-idle-instances>
        <min-pending-latency>30ms</min-pending-latency>
        <max-pending-latency>500ms</max-pending-latency>
        <max-concurrent-requests>10</max-concurrent-requests>
    </automatic-scaling>
    <inbound-services>
          <service>warmup</service>
    </inbound-services>

What you expected to happen: The application hosted on GAE shouldn't fail with this intermittent error

Steps to reproduce: No steps available, its intermittent.

Other information (workarounds you have tried, documentation consulted, etc): I have tried multiple different combinations for the configurations of autoscaling, etc.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...