apache / apache/apisix-java-plugin-runner

request help: failed to receive RPC_HTTP_REQ_CALL: timeout

Đang mở
#258 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
152
Fork
102
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Issue description
At some point during apisix operation, an error suddenly occurs and the client call does not proceed at all.
For all client calls, can check the error log as below.
```
phase_func(): failed to receive RPC_HTTP_REQ_CALL: timeout
```
```
run_plugin(): ext-plugin-pre-req exits with http status code 503
```
```
ERROR 57658 --- [tLoopGroup-34-6] o.a.a.p.r.h.ExceptionCaughtHandler : handle request error:
io.netty.channel.StacklessClosedChannelException: null
at io.netty.channel.AbstractChannel$AbstractUnsafe.write(Object, ChannelPromise)(Unknown Source) ~[netty-transport-4.1.78.Final.jar!/:4.1.78.Final]
Caused by: io.netty.channel.unix.Errors$NativeIoException: writeAddress(..) failed: Broken pipe
```

It was confirmed that the client call resumed normally after 20 to 30 minutes without taking any action.

I'd like to know under what circumstances this problem occurs and prevent it from recurring.
Is it a linux or apisix or java runner resource issue?
I wish I could give you some advice on this matter. Thanks in advance.
@spacewander

### Environment
linux RAM 8G / java runner cmd option is `'-Xmx2g', '-Xms2g'` / RPS is about 200~600(tends to happen when rps are high, but doesn't always happen)
* your apisix-java-plugin-runner version 0.4.0
apisix 3.2.1

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.