Problem
This message appears on the system console:
Fork failed: Command[scoterm]System Error was: Resource temporarily unavailable Solution
This message is usually caused by running out of virtual memory
and can be easily remedied by adding more swap space. You must
be in multiuser mode. These commands (executed as root) will
add approximately 30MB of virtual memory:# touch /swap
# swap -a /swap 0 60000The /swap file will only grow according to the actual swap requirements and may not actually consume 30MB of disk.
In order to avoid having to reissue this command every time the system is rebooted, simply add the above commands to the /etc/rc.d/8/userdef file.
Virtual memory is tracked via the kernel variable availsmem,
which tracks the available virtual memory in 4K pages. This
variable is handled conservatively, and normally reserves more
swap space than will actually be needed. Programs that use
shared libraries will decrement availsmem. Programs that use
the mmap(S) facility and map privately also require a large
"reserve" of virtual memory.To monitor availsmem, use the crash(ADM) utility:
# crash
dumpfile = /dev/mem, namelist = /unix, outfile = stdout
> od -d availsmem
f0175120: 0000011682
> q ^^^^^ 11,682 4K pages ~ 45.63 MB See also
The swap(ADM) manual page for additional information.