Comments (10)
It's likely a network configuration error. 5/4
means you're sending all tasks to node 1 but none on node 2. If you lock 1 with:
NODE LOCK 1
And try to send a task, what do you get?
from clusterodm.
The hosts were scripted builds and are exactly the same. All hosts are in the same rack, on the same switch.
Locking shifts the load to the other host, but with only 3 'splits' this time (which is probably normal since the split is set to 400):
| Node | Status | Queue | Version | Flags
1 | 192.168.1.172:3000 | Online | 0/4 | 1.5.2 | L
2 | 192.168.1.173:3000 | Online | 3/4 | 1.5.2 |
from clusterodm.
Mm, so if both nodes are unlocked, only one node is receiving all the tasks.
This is odd, I wonder if it's due to the network being really fast and the tasks being received all at once before they can be forwarded. The choice of a node is done in this function https://github.com/OpenDroneMap/ClusterODM/blob/master/libs/nodes.js#L135 but if two tasks are racing they might both end up on the same node, because they are not aware of each other.
I think this is a separate issue and doesn't explain the Failed sending data to the peer
error.
from clusterodm.
This is still an issue. It seems to keep stacking the same submodel onto the same node over and over. It complains about read timeouts but yet has no trouble piling on the jobs:
[WARNING] LRE: submodel_0002 failed with: HTTPConnectionPool(host='localhost', port=3000): Read timed out. (read timeout=30)
[INFO] LRE: Re-queueing submodel_0002 (retries: 5)
[INFO] LRE: About to process submodel_0002 remotely
[INFO] LRE: Waiting 50 seconds before processing submodel_0002
2019-07-24 20:19:35,719 DEBUG: Found 23389 points in 66.418241024s
[INFO] LRE: submodel_0001 (da43350f-c792-4511-840e-7672e2298ebb) is still running
#> !!
1) 192.168.1.172:3000 [online] [0/4] <version 1.5.3>
2) 192.168.1.173:3000 [online] [6/4] <version 1.5.3>
#> !!
1) 192.168.1.172:3000 [online] [0/4] <version 1.5.3>
2) 192.168.1.173:3000 [online] [7/4] <version 1.5.3>
from clusterodm.
I still don't know how to replicate this.
If you send two tasks to ClusterODM (from the NodeODM UI, don't use split-merge), are the tasks sent to the two nodes? Or do they queue on the same node (so that one node is not used at all)?
from clusterodm.
Yes, it is correctly distributed:
#> !!
1) 192.168.1.172:3000 [online] [1/4] <version 1.5.3>
2) 192.168.1.173:3000 [online] [1/4] <version 1.5.3>
There's something wrong with the splitting it seems.
from clusterodm.
Maybe it's the number of parallel connections that's tripping something on your network.
I would try to patch https://github.com/OpenDroneMap/ODM/blob/09109f33f94b8e9f2ec804fec94c3a53783daf4a/opendm/remote.py#L356 by adding the parallel_uploads
parameter and set it to 1
or lower it to 3
and see what happens.
https://pyodm.readthedocs.io/en/latest/#api
from clusterodm.
Thanks, that helped. I set it to 3. It seemed to upload just as fast to the processing nodes with 3 connections as it did with no limit.
It's still piling everything onto one node though:
#> !!
1) 192.168.1.172:3000 [online] [3/4] <version 1.5.3>
2) 192.168.1.173:3000 [online] [0/4] <version 1.5.3>
And the console says that there are two sub-models, so a rogue one has been dropped in there. This is a dev system, there are no other jobs processing. I can see from the console that it didn't try to upload any sub-models twice, so there's something else going on there.
from clusterodm.
@ChipwizBen see if the changes in #32 help this issue.
Also try to set --public-address
to the appropriate value when launching ClusterODM. Perhaps that's the cause of the read timeouts (why is it using "localhost" ?)
from clusterodm.
Closing this with the assumption that #32 fixed / help the network issues.
from clusterodm.
Related Issues (20)
- Running OpenDroneMap on HPC HOT 2
- Feature Request: Add OpenStack provider.
- Automatically populate ClusterODM according to deployed NodeODMs HOT 3
- Docker Hub Needs Release Tags HOT 1
- Downloading all.zip fails if larger than 2GB HOT 3
- The version information in package.json is different from the version information in /info. HOT 1
- aws s3 bucker creation+autoscaling HOT 1
- How to load balance queue? HOT 2
- Add --node-priority flag HOT 1
- add suggested version of node? HOT 1
- Did not run cleanup even task finished when i use this by aws auto-scaling HOT 1
- Windows Native ClusterODM HOT 1
- Fix - AWS Autoscaling w/ Docker-Machine HOT 4
- [Feature Request]: `docker-machine` is deprecated, we need to add support for another tool for autoscaling HOT 7
- Add Azure support for auto-scaling HOT 5
- Docker machine is not present on the image for the last build (07/02/2022) HOT 3
- ClusterODM is dropping a high number of uploads HOT 4
- Docker image versions are not pushed to Dockerhub HOT 2
- No Splitting of Jobs HOT 2
- Max images exceeded due to connection drop/timeout?
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 clusterodm.