-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
agd fails with "Cannot find dependency ..." in systemd due to lack of file descriptors #7817
Comments
reported work-around: run |
diagnosis: bundling ran into file descriptor limitAt 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:
We should reduce the required number of simultaneous file descriptors in due course, but in the mean time work-around: increase file descriptor limitUsing 64K file descriptors seems to relieve the symptoms:
|
endojs/endo#1593 is the long-term fix for this, to either limit the bundle-source parallelism, and/or react to EMFILE by deferring the |
I’ve landed a fix for endojs/endo#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 |
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
)ea8c1c6
Additional context
agoricdev-18
note discord #devnet thread
Screenshots
stack trace from 0xAN | Nodes.Guru:
logs from Syd | FR Staking Community:
The text was updated successfully, but these errors were encountered: