Comments (2)
It seems keepalives are not the reason for drops when running in Docker. Using tshark -a duration:60 -i lo > packets.txt
I was able to confirm that for a 100-iteration version of the alma benchmark, somebody is sending a RST
to reset the connection:
2402 29.899311464 127.0.0.1 → 127.0.0.1 TCP 2615 35200 → 29000 [PSH, ACK] Seq=2682076 Ack=22 Win=43776 Len=2549 TSval=2027158193 TSecr=2027158193
2403 29.943307624 127.0.0.1 → 127.0.0.1 TCP 66 29000 → 35200 [ACK] Seq=22 Ack=2684625 Win=3116928 Len=0 TSval=2027158237 TSecr=2027158193
2404 29.943316318 127.0.0.1 → 127.0.0.1 TCP 3301 35200 → 29000 [PSH, ACK] Seq=2684625 Ack=22 Win=43776 Len=3235 TSval=2027158237 TSecr=2027158237
2405 29.984865122 127.0.0.1 → 127.0.0.1 TCP 66 29000 → 35200 [RST, ACK] Seq=22 Ack=2687860 Win=3145728 Len=0 TSval=2027158278 TSecr=2027158237
A shortened 50-iter run ends with mutual FIN
:
1666 17.339854436 127.0.0.1 → 127.0.0.1 TCP 66 35388 → 29000 [FIN, ACK] Seq=1941362 Ack=22 Win=43776 Len=0 TSval=2027447051 TSecr=2027447000
1667 17.387539530 127.0.0.1 → 127.0.0.1 TCP 66 29000 → 35388 [ACK] Seq=22 Ack=1941363 Win=3145600 Len=0 TSval=2027447099 TSecr=2027447051
1668 17.991190060 127.0.0.1 → 127.0.0.1 TCP 66 29000 → 35388 [FIN, ACK] Seq=22 Ack=1941363 Win=3145600 Len=0 TSval=2027447702 TSecr=2027447051
1669 17.991219968 127.0.0.1 → 127.0.0.1 TCP 66 35388 → 29000 [ACK] Seq=1941363 Ack=23 Win=43776 Len=0 TSval=2027447702 TSecr=2027447702
from halo.
The problem was that the server is sending RSTs because the test harness test/util/run_test.sh
had a default server timeout of 30s, after which the server will stop the IO service, triggering an RST. I expected a graceful shutdown for that but oh well.
The commit fixing it reenabled keepalives on the server side and upped the harness timeout to 30mins.
from halo.
Related Issues (20)
- Running many Halo-enabled processes at once
- Creating a README
- CCT knots and inconsistencies HOT 2
- PerfJITEventListener? HOT 1
- Code map for JIT'd code
- Implement a "bakeoff" HOT 1
- CRI initialization with multiple identical function definitions HOT 1
- Leaky FunctionInfo
- Make the call-graph dynamic instead of static.
- Ubuntu 20.04 compatibility
- `llvm::raw_os_ostream` does not flush properly
- Multi-threaded client programs
- Obtain server address from environment variable
- Dynamic linker incorrectly resolves dependencies of a symbol.
- Server should use abstract addresses instead of absolute HOT 1
- More Tunables
- Tuning Section Selection
- Static Code Features To Reduce Space
- Feature Importance
- cl::values instead of relying on string for Strategy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from halo.