Open mopfel-winrux opened 7 months ago
That's mprotect()
returning ENOMEM
, which almost certainly means that we were trying to exceed the kernels max number of virtual-memory mappings (vm.max_map_count
). mprotect()
can increase the number of mappings by splitting ranges, for example: a single mapping of 3 read-only pages becomes 3 mappings if the middle page is changed to read/write.
The linux default per-process max is 65530, which is quite low. You can temporarily change the max with sysctl –w vm.max_map_count=...
, or permanently change it by editing /etc/sysctl.conf
.
Some more details and context:
~mopfel-winrux has been running into a loom: fault mprotect error. I fixed this a couple of days ago with a
|pack
but it keep occurring. I'm copying a folder of my pier I can make available. My dojo output is below: