Accidentally I removed $JETTY_ARGS from JAVA_OPTS (by specifying JAVA_OPTS: 
"-Djava.util.logging.config.file=WEB-INF/logging.properties" in app.yaml 
env_variables), And my pipeline start working just fine.

So after removing $JETTY_ARGS my final command line is looking like this:

java -Djava.util.logging.config.file=WEB-INF/logging.properties 
-Djetty.base=/var/lib/jetty -jar /opt/jetty-home/start.jar

Which was: 

java -showversion -Djava.io.tmpdir=/tmp/jetty 
-agentpath:/opt/cdbg/cdbg_java_agent.so=--log_dir=/var/log/app_engine,--logtostderr=false,--cdbg_extra_class_path=/var/lib/jetty/webapps/root/WEB-INF/classes:/var/lib/jetty/webapps/root/WEB-INF/lib
 
-Xms491M -Xmx491M -XX:+UseG1GC -XX:+ParallelRefProcEn
abled -XX:+PrintCommandLineFlags -Djetty.base=/var/lib/jetty -jar 
/opt/jetty-home/start.jar 


Can somebody please explain what might be wrong with $JETTY_ARGS ?


On Tuesday, April 12, 2016 at 9:55:54 AM UTC+5:30, Deepak Singh wrote:
>
> Dear Team,
>
> We just upgraded to flexible environment with n1-standard-1 and started 
> getting 502 / 503 most frequently.
>
> App is configured with Cloudflare so we raised an incident with cloudflare 
> and here is the result that they provided
>
>
> https://support.cloudflare.com/hc/en-us/requests/904469?flash_digest=d8eeedee4ea25b0d37f24b01ca4c0c89fc29b4a8
>
>
> Origin server is responding to 502 /503 for around 70% requests.
>
> Pls let us know. 
>
>
> -- 
> Tech
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b1fa2972-0a10-4462-af2a-670c81c34ade%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to