Comments (5)
By default the maximum number of connection is limited to 1. Would you need to increase the number of parallel connections, you should specify maxConnections
in your Map. I tested with 10 and it works as you expect.
There is however a bug where the server sockets accepts a connection and does not immediately close it although the ThreadPoolExecutor is out of threads. This can be seen with the second netcat you start.
As for the timeout, I see no issue according to my tests: I allowed a single connection, connected with netcat and killed it (-9). Another netcat could connect and send data, so I think we're good. If you find a issue with physical disconnection, I will do further testing.
from warp10-platform.
I did a few more tests with maxConnections
and real life cable disconnection:
Each new disconnect/reconnect, a new port is opened.
netstat | grep 4242
tcp6 0 0 pi55:4242 pi102:54982 ESTABLISHED
tcp6 0 0 pi55:4242 pi102:50344 ESTABLISHED
tcp6 0 0 pi55:4242 pi102:62213 ESTABLISHED
tcp6 0 0 pi55:4242 pi102:62389 ESTABLISHED
tcp6 0 0 pi55:4242 pi102:52907 ESTABLISHED
(only one is really established, but anyway, the maxConnections now allows the communication to recover)
I will test the patch.
from warp10-platform.
8 hours later,
all the connexions remains ESTABLISHED (should be CLOSED_WAIT).
from warp10-platform.
Is this issue fixed by an already merged PR?
from warp10-platform.
yes, it is.
from warp10-platform.
Related Issues (20)
- reverse CLIP ? HOT 1
- [Bug] FOREACH loop execution can push BigDecimal values on the stack
- Directory cleaner HOT 7
- Error in bootstrap with TOKENGEN
- inconsistent result of divide by 0 within gts arithmetics HOT 3
- HTTP does not support digest authorization
- Warp10 is not available at 8080 port HOT 2
- BUCKETIZE.CALENDAR and negative timezones
- SLEEP does not behave correctly in concurrent execution HOT 1
- max execution time versus stop interruption HOT 2
- VALUESPLIT does not split boolean values as expected
- Bucketize not working perfectly in latest version HOT 1
- Warp Studio Behaving differently with Data Stored in the DB versus Data parsed in the memory HOT 2
- jdk17 breaks GOLDWRAP HOT 3
- SHRINK does not alter bucketize status HOT 2
- mixed type in filter.any.gt HOT 1
- BUCKETIZE.CALENDAR, or UNBUCKETIZE.CALENDAR with last bucket in the future HOT 1
- showuuid in FIND HOT 1
- unclear class cast exception
- inconsistent behavior of missing label search
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 warp10-platform.