You can easily have the same problem on localhost if the producer is faster 
than the consumer. 

You can use netstat in the localhost as well. 

> On Nov 10, 2020, at 9:36 AM, Denis Telyukh <telyukh.de...@gmail.com> wrote:
> 
> 
> Thanks for your advice. But I have this problem on localhost also, I doubt 
> that problem in network capacity :-(
> 
> вт, 10 нояб. 2020 г. в 19:09, Robert Engels <reng...@ix.netcom.com>:
>> You’ve most likely exhausted the network capacity. You need to use tools 
>> like netperf and wireshark. Start with netstat and review the outgoing queue 
>> sizes. 
>> 
>>>> On Nov 10, 2020, at 4:46 AM, Denis Telyukh <telyukh.de...@gmail.com> wrote:
>>>> 
>>> More complex problem description with images: 
>>> https://caddy.community/t/sometimes-http-2-request-hangs-up-need-help-with-debugging/10439/2
>>>  
>>> 
>>> вторник, 10 ноября 2020 г. в 10:25:58 UTC+7, Denis Telyukh: 
>>>> Thanks! Maybe it will help.
>>>> 
>>>> вт, 10 нояб. 2020 г. в 01:21, seank...@gmail.com <seank...@gmail.com>:
>>>> 
>>>>> maybe setting GODEBUG=http2debug=2 to spit out some logs?
>>>>> 
>>>>>>> On Monday, November 9, 2020 at 5:49:57 PM UTC+1 telyuk...@gmail.com 
>>>>>>> wrote:
>>>>>>> Hello!
>>>>>>> 
>>>>>>> I use third-party software with my own code to build reverse-proxy, 
>>>>>>> which supports http/2. Sometimes requests hang up with infinite 
>>>>>>> waiting. With Delve I found, that it happens in 
>>>>>>> https://golang.org/src/net/http/h2_bundle.go in writeHeaders or in 
>>>>>>> writeDataFromHandler. But I have no any idea why it happens. Which 
>>>>>>> tools should I use to find the reason of such behaviour?
>>>>>>> 
>>>>>>> Denis
>>>>>> 
>>>>> -- 
>>>>> You received this message because you are subscribed to a topic in the 
>>>>> Google Groups "golang-nuts" group.
>>>>> To unsubscribe from this topic, visit 
>>>>> https://groups.google.com/d/topic/golang-nuts/CJwsb1H9mGg/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>> golang-nuts...@googlegroups.com.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/golang-nuts/94e4b5cd-6005-4a52-916f-9e1a88137399n%40googlegroups.com.
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "golang-nuts" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to golang-nuts+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/golang-nuts/a9ac428d-1389-4278-be9a-273ae95751b0n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/653705E8-DB51-4B54-BE08-B77ABE6424A3%40ix.netcom.com.

Reply via email to