Closed dckc closed 1 year ago
reported work-around: run agd
outside systemd
At start-up, agd does a lot of bundling of JavaScript modules. Outside of systemd, ubuntu has a limit around 1 million. In the reported configuration, we see:
LimitNOFILE=4096
We should reduce the required number of simultaneous file descriptors in due course, but in the mean time
Using 64K file descriptors seems to relieve the symptoms:
LimitNOFILE=65536
https://github.com/endojs/endo/issues/1593 is the long-term fix for this, to either limit the bundle-source parallelism, and/or react to EMFILE by deferring the open()
until some other FD has been closed.
I’ve landed a fix for https://github.com/endojs/endo/issues/1593 in Endo and this should be a thing of the past when we next sync Endo releases with Agoric SDK.
@kriskowal is this now a thing of the past? It's in the upgrade-11 release notes.
No, I have not yet successfully synced Endo with Agoric SDK. This is more likely to land in upgrade-12
.
I believe this is now a thing of the past. Please reöpen if symptoms persist.
Describe the bug
When starting
agd
in systemd, it fails withError#1: config.bundles.coreProposal2_5: Cannot find dependency picomatch ...
To Reproduce
NodesGuru reports:
Then in a systemd unit:
Expected behavior
agd
works as a systemd servicePlatform Environment
git describe --tags --always
)ea8c1c64911b4c58fb43635b25e17e3d50d0cf2a
Additional context
agoricdev-18
note discord #devnet thread
Screenshots
stack trace from 0xAN | Nodes.Guru:
logs from Syd | FR Staking Community: