You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/02/22 12:44:06 UTC
[GitHub] [dubbo-go] complone opened a new issue #1763: After running for a period of time, dubbo-getty disconnects the session
complone opened a new issue #1763:
URL: https://github.com/apache/dubbo-go/issues/1763
**What happened**:
I based the test case https://github.com/complone/dubbo-go-benchmark/tree/test-dubbo/3.0/adaptivesvc
The stress test based on dubbo-go-benchmark is as follows:
```
TPS 8
PARALLEL 10
DURATION 1m
FUNC_NAME FIBONACCI
FIBONACCI_N 10
FIBONACCI_WORKER_NUM 4
```
After running for 1 minute, the error stack is as follows
```
2022-02-21T21:05:48.257+0800 INFO client/client.go:60 TPS is set to 8.
2022-02-21T21:05:48.257+0800 INFO client/client.go:64 Parallel is set to 10.
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
FIBONACCI result: 55
2022-02-21T21:05:48.262+0800 ERROR dubbo-getty@v1.4.7/session.go:606 {client:TCP_CLIENT:1:192.168.101.227:61918<->192.168.101.227:20002}, [session.conn.read] = error:read tcp 192.168.101.227:61918->192.168.101.227:20002: read: connection reset by peer
github.com/apache/dubbo-getty.(*gettyTCPConn).recv
/Users/windwheel/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.7/connection.go:282
github.com/apache/dubbo-getty.(*session).handleTCPPackage
/Users/windwheel/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.7/session.go:647
github.com/apache/dubbo-getty.(*session).handlePackage
/Users/windwheel/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.7/session.go:606
runtime.goexit
/opt/homebrew/Cellar/go@1.16/1.16.9/libexec/src/runtime/asm_arm64.s:1130
github.com/apache/dubbo-getty.(*session).handleTCPPackage
/Users/windwheel/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.7/session.go:665
github.com/apache/dubbo-getty.(*session).handlePackage
/Users/windwheel/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.7/session.go:606
runtime.goexit
/opt/homebrew/Cellar/go@1.16/1.16.9/libexec/src/runtime/asm_arm64.s:1130
github.com/apache/dubbo-getty.(*session).handlePackage
/Users/windwheel/go/pkg/mod/github.com/apache/dubbo-getty@v1.4.7/session.go:606
2022-02-21T21:05:48.262+0800 INFO dubbo-getty@v1.4.7/session.go:614 {client:TCP_CLIENT:1:192.168.101.227:61918<->192.168.101.227:20002}, [session.handlePackage] gr will exit now, left gr num 0
2022-02-21T21:05:49.258+0800 WARN proxy/proxy.go:210 [CallProxy] received rpc err: Failed to invoke the method Fibonacci in the service org.apache.dubbo.FibProvider. Tried 1 times of the providers [dubbo://:@192.168.101.227:20002/?interface=org.apache.dubbo.FibProvider&group=&version= dubbo://:@192.168.101.227:20002/?interface=org.apache.dubbo.FibProvider&group=&version=] (2/1)from the registry zookeeper://node1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=5s®istry.ttl=10s®istry.weight=0®istry.zone=&simplified=false on the consumer 192.168.101.227 using the dubbo version 3.0.0. Last error is session Already Closed.: session Already Closed
```
**What you expected to happen**:
**How to reproduce it (as minimally and precisely as possible)**:
**Anything else we need to know?**:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org