Comments (10)
- Yes, I just rebooted my macmini node, the one that gave the error. The conductor booted fine and you should be able to talk to it with your own instances.
- Here you go: https://github.com/darksoil-studio/gather/releases/download/v0.0.4/gather.happ
- I didn't observe the behavior no... But I did find strange that holochain was consuming like 100% of one of the cores for the first ~30 minutes of booting up the node, with almost no network activity.
from holochain.
I ran Gather for approximately one hour and the application got to 35GB of memory.
from holochain.
This issue was just recently identified and fixed in wasmer v4.2.4, seems likely that it's related!
from holochain.
Yeah that makes sense... Let's see if we can fix this!
from holochain.
Oh dear, if it's not CPU it's memory! I of course agree that Holochain should be able to run for longer periods of time. I have got a mini PC running just for the purpose of debugging these issues. They are difficult to trace back to a single cause but my hope is that each time we find a cause that's one fewer way it can go wrong :)
- Do you still have nodes running so that if I try to reproduce this on my mini PC I'll have something to talk to that already has data?
- Is gather available as a happ so I can run it headless? I can unpack the webhapp if not
- Did you observe the behaviour at all? Did the memory jump up at some point or did it continuously grow? I should be able to reproduce this but it's useful to know we're seeing the same thing.
from holochain.
Great, I have my node running it with Holochain 0.2.3-rc.0. Just to be certain, the DNA hash I see when I list installed apps is uhC0kdkl1h8BwUDwn4H8LirVnfB8-yDXWZhBBBO0s7Ei-aKrTkfta
?
I have performance stats recording with sysstats which I haven't used before but can hopefully give me some feedback without having to watch top.
from holochain.
This doesn't happen headless it seems. After a few hours the memory usage is still sitting at 1gb.
Running on my desktop with the launcher the memory does grow out of control. So I'm going to say that interaction is the driver for memory growth initially. I'm seeing a lot of
Another zome function has triggered the `init()` callback, which has been blocking this zome call for longer than 30 seconds. Giving up.
being logged. That would explain why other zome calls aren't going through but doesn't directly explain the memory usage. I am thinking maybe this is a problem that was already here but the problem with zome calls is revealing it...
More investigation to be done yet :)
from holochain.
The init errors seem interesting. Perhaps there is something about the UI startup pattern that Holochain init can't handle. I would like to look at the actual zome functions being called. @guillemcordoba can you tell us which zome function(s) are being called when gather starts up for the first time? Or I can read the UI code, but asking is easier.
from holochain.
This one is the only one that's executed at first: get_agent_profile
from holochain.
Are we okay to close this issue and focus on #3028? I believe this is a consequence of the other issue. It'd be better if we didn't claim this much memory at once but for now I'd rather not impose limitations on Holochain's scaling just because it uses an unreasonable amount of memory when overloaded
from holochain.
Related Issues (20)
- (Nice to have) Automated (or at least semi) testing, maybe with HoloFuel? HOT 1
- (Medium) Wind Tunnel simple baseline HOT 1
- [BUG] Unable to open Database file on Windows 10
- Holochain dependency, dependencies updates HOT 2
- Workflows review 2nd iteration HOT 2
- [Integrity] Write helper to collectively return missing dependencies from must_get calls
- [ENHANCEMENT] Move cached wasms to dedicated folder
- [BUG] Trying to commit an action with an app validation that depends on a non-cached dependency fails (which happens quite often if the node trying to commit has "empty" gossip arc clamping) HOT 5
- Deferred memproof provisioning HOT 6
- Make it possible to install an app with custom properties
- Add names to app interfaces
- [BUG] rust bootstrap server decodes agent_info metadata HOT 1
- Ensure there is a holochain-level test that correctly connects over webrtc.
- DNA bundle format and lineage definition HOT 2
- Integration with new field that will happen in the install process HOT 1
- Cell relationship with cap grants
- extend `hc_check_services bootstrap` beyond the `now` operation HOT 3
- Put arc conversions from continuous->quantized behind the test_utils feature so that it won't be used in production code
- Re-review of Key Manager Browser Extension with all the audit findings resolved
- Release automation failure on Deepkey branch
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 holochain.