-
Notifications
You must be signed in to change notification settings - Fork 213
The plutus-pab-examples
executable consumes a lot of memory and gets killed due to OOM 😱 😭 😵
#420
Comments
plutus-pab-examples
executable consumes a lot of memory.plutus-pab-examples
executable consumes a lot of memory and gets killed due to OOM
plutus-pab-examples
executable consumes a lot of memory and gets killed due to OOMplutus-pab-examples
executable consumes a lot of memory and gets killed due to OOM 😱 😭 😵
Could you please share your observations if there are any? when the memory usage increases? after the integration test contract endpoint activation? |
I was just starting all 4 executables 1 by one, waiting for previous to sync, and the At block 11 752 the amount of swap used was 22 GB I did not even try to start the integration test. |
I've just tried running It is still synchronizing more successfully, and memory consumption looks more healthy.
UPD: It's slow.
And it's still possible to reach OOM soon... |
Yeah, reducing the rollback history might help a bit but is not a general case. Working on the fix. |
I have the same problem but in a more modest docker instance with "only" 11 GB of RAM. I have been increasing the amount of RAM of the instance in successive tries until the maximum allowed in my 16 GB machine and the final result has been the same: the plutus_pab_examples being killed. All four executables: the cardano-node, cardano-wallet, plutus-chain-index and the pab examples running in the same docker container. |
If it helps anyone: setting the dev options to the current slot, cleaning the contract db ( |
To make it more explicit, unconment the lines here of pab-config.yml to:
And now it seems to synchronize well. Following Lars lectures: https://youtu.be/X6AyZIZ0vaE?t=769 |
I would like to know why the PAB app needs to sync |
up |
Summary
We have set up a server just to be able to follow the test-node instructions:
x86_64
12 CPU cores
24 GB RAM
80 GB swap
But the
plutus-pab-examples
executable seems to be killed due to OOM.At block
11 752
the amount of swap used was 22 GBAt block
15 427
(slot6 959 416
) the amount of swap used was 72 GBAnd that's far from completion:
According to the testnet explorer, at the moment of submitting the issue, the latest slot on testnet is
55 601 949
, block3 474 971
If it will help to find the problem, we can provide SSH access to the server.
Steps to reproduce the behavior
https://github.com/input-output-hk/plutus-apps/tree/main/plutus-pab/test-node
Actual Result
The pab examples sync process does not complete due to OOM
If it will help to find the problem, we can provide SSH access to the server.
Expected Result
The pab examples sync process completes
Describe the approach you would take to fix this
No response
System info
OS: Ubuntu
Version: 18.04
plutus-apps: v2022-04-06
The text was updated successfully, but these errors were encountered: