Actually backup runs the whole script via doas as root.
tower# su -ls /bin/ksh backup tower$ ulimit -a time(cpu-seconds) unlimited file(blocks) unlimited coredump(blocks) unlimited data(kbytes) 3149824 stack(kbytes) 4096 lockedmem(kbytes) 87381 memory(kbytes) 15898400 nofiles(descriptors) 512 processes 128 tower$ ^D tower# ulimit -a time(cpu-seconds) unlimited file(blocks) unlimited coredump(blocks) unlimited data(kbytes) 4194304 stack(kbytes) 8192 lockedmem(kbytes) 87381 memory(kbytes) 15898400 nofiles(descriptors) 128 processes 1310 tower# On 17.12.23 21:24, Otto Moerbeek wrote:
But to get back to your original issue. You seem to have to little memory available to allocate all tables needed by dump (the code lacks a few checks in that area, I will prepare a diff for that). Please show ulimit -a. I suspect you -d (datasize) is too low. -Otto