urbit icon indicating copy to clipboard operation
urbit copied to clipboard

Locate and eliminate memory leak in the vere king

Open jalehman opened this issue 1 year ago • 5 comments

I'm almost certain that such a leak exists. @mopfel-winrux has the same suspicion, as does @pkova.

jalehman avatar Jun 06 '24 13:06 jalehman

Whenever I shutdown my ship I get the following error I suspect it might be related

loom: external fault: 0x7fe6b4fd3bb8 (0x200000000 : 0x280000000)

Assertion '0' failed in pkg/noun/manage.c:1791

bail: oops
home: bailing out

mopfel-winrux avatar Jun 07 '24 00:06 mopfel-winrux

Also when I boot back up I get a spam of http request was cancelled by the runtime

mopfel-winrux avatar Jun 07 '24 01:06 mopfel-winrux

Joes merge got rid of the swap leak but introduced a weird bug where my ram usage kept going up. I switched the docker image from alpine to ubuntu and this disappeared.

mopfel-winrux avatar Jun 12 '24 19:06 mopfel-winrux

@mopfel-winrux my guess this dns-resolution requests queuing up endlessly. could try fixing that granularly, but my preference is just to finish urbit/vere#639.

joemfb avatar Jun 12 '24 19:06 joemfb

Yea I'm still getting failed dns resolution. Was going to let it run for a while to get some performance benchmark. then possibly try it outside of startram and see if it still occurs

mopfel-winrux avatar Jun 12 '24 19:06 mopfel-winrux

Fixed as of https://github.com/urbit/vere/pull/639.

pkova avatar Jul 11 '24 12:07 pkova