[2017-07-14T05:00:52.097Z] "POST /xxx/xxx HTTP/2" 503 UO 0 57 0 - "-" "grpc-java-netty/1.3.0" "328403be-8c36-41e6-93fd-1f387cbc31b4" "127.0.0.1:11000" "-"
[2017-07-14T05:00:52.399Z] "POST/xxx/xxx HTTP/2" 503 UO 0 57 0 - "-" "grpc-java-netty/1.3.0" "c01a97b0-e8d5-4ac0-b11c-973f8b0da50e" "127.0.0.1:11000" "-"
[2017-07-14T05:00:52.400Z] "POST /xxx/xxx HTTP/2" 503 UO 0 57 0 - "-" "grpc-java-netty/1.3.0" "4285f245-9cb7-415c-a60d-5b384827d296" "127.0.0.1:11000" "-"
[2017-07-14T05:00:53.040Z] "POST /xxx/xxx HTTP/2" 503 UO 0 57 0 - "-" "grpc-java-netty/1.3.0" "a42994d6-a855-46bb-abfe-2df802fe6b9e" "127.0.0.1:11000" "-"
[2017-07-14T05:00:53.041Z] "POST /xxx/xxx HTTP/2" 503 UO 0 57 0 - "-" "grpc-java-netty/1.3.0" "e3342ff9-2d3f-4fd6-a32a-f34993577fdb" "127.0.0.1:11000" "-"
--
You received this message because you are subscribed to a topic in the Google Groups "envoy-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/envoy-users/AaCRVkNeES8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to envoy-users+unsubscribe@googlegroups.com.
To post to this group, send email to envoy...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-users/edb6415f-65a4-4684-aa01-6ac78abd6eb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "envoy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-users+unsubscribe@googlegroups.com.
To post to this group, send email to envoy...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-users/CAM5M-XUmN0fhAGzgpGw7H0peTNXF9s1HZR7ZgivOpvEaWQB-Hg%40mail.gmail.com.
Thanks a lot for your reply!Two follow-up questions:1) For the timeout, do you mean setting "timeout_ms" in Route to some reasonable value, other than 0, so that timeout is not disabled? Also, it looks like the Route setting is under virtual host, which is used in the mesh case, rather than my current case, where frontend envoy directly talking to backend?
2) How many http2 connections will get established between an envoy and all its upstream hosts?In my current case, a frontend server establishes 5 gRPC/HTTP2 connections to its envoy. A envoy talks to 7 upstream hosts. Intuitively, I assume an envoy will have up to 35 = 5 *7 upstream connections, but the stats showed cluster.snappy.upstream_cx_active: 64. Why is that?
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-users/CAM5M-XXx%2Bf5f%3DnztOjmaEXB%2BRmMiGvRjxHpeVFdNyaeE28Z0Yw%40mail.gmail.com.
1) Do we misconfigure something? How to increase the active requests cap?
2) Will it be "timeout_ms": 0 that potentially causes the envoy entering into the state that streaming requests are not returned, and hence active requests are not coming down?
>>>>> To post to this group, send email to envoy...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/envoy-users/edb6415f-65a4-4684-aa01-6ac78abd6eb3%40googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "envoy-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to envoy-users+unsubscribe@googlegroups.com.
>>>> To post to this group, send email to envoy...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/envoy-users/CAM5M-XUmN0fhAGzgpGw7H0peTNXF9s1HZR7ZgivOpvEaWQB-Hg%40mail.gmail.com.
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>>>
>>> --
>>> Matt Klein
>>> Software Engineer
>>> mkl...@lyft.com
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "envoy-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to envoy-users+unsubscribe@googlegroups.com.
>> To post to this group, send email to envoy...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/envoy-users/CAM5M-XXx%2Bf5f%3DnztOjmaEXB%2BRmMiGvRjxHpeVFdNyaeE28Z0Yw%40mail.gmail.com.
>>
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Matt Klein
> Software Engineer
> mkl...@lyft.com
Hi Matt,
My running envoy is:
envoy version: 3afc7712a04907ffd25ed497626639febfe65735/Modified/DEBUG
Please see that attached file for the output of /clusters and /stats.I attached the output for two envoys: a bad one (rq_active = 1025) vs a good one (rq_requests = 338).The two envoys are talking to the same upstream cluster. So, I don't think it will be a limit on the backend.I suspect it is a limit on the application, specifically we have only one http2 connection from the application (downstream host) to an envoy for the particular gRPC streaming method that is experiencing the issue. I suspect the http2 connection we used (via the grpc/netty library) was configured to use 1024 max concurrent streams. I still need to dig out about how netty sets the max concurrrent streams internally though. Thoughts?Thanks.Weita
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-users/CAM5M-XUBJBa%3DtTTDdPOuZwoWwXmsWq78DMfs5dps%2BsFDWsw%3Dfw%40mail.gmail.com.