Problem
When typing a "ps -ef", one or more processes report the error message:
ps: RDUBLK: Cannot find process ID xxx: No such device or
address (error 6).How can I find out what these processes are and what does this error mean?
Cause
The `ps` command is unable to read the u-area for these
processes because they are swapped out. Solution
This problem has been report to SCO Engineering.
Although these messages are bothersome, the problem is
harmless. The problem is strictly within the ps command
and is a problem where it can't see the address space of
swapped out processes.It is probably more of a concern that you have processes
swapped out than this error itself. When the processes
become active again the ps command will be able to report
process information normally.To see more information about the swapped out processes you can use the command:
# echo proc | crashOr to find information about a specific PID, use:
# echo "proc #<PID>" | crashThe real problem is that the system is swapping, meaning that it doesn't have enough memory to run the processes that are currently running. In this situation, the system will swap out inactive processes to the swap space to free up memory for the more demanding processes.
To correct this you can either increase memory on the system or reduce the load by running less memory consuming processes.
To check the amount of memory use `memsize`, this reports
in bytes.To check the swap space use the command `swap -l`, this
reports the swap space in 512-byte blocks.To see the memory of your active processes, you can use the command:
# ps -ealf 2>/dev/null | pgThe SZ column shows the amount of memory in K that the processes are
using. Check the processes that are using a lot of memory.Alternatively, you could use skunkware utility:`/usr/local/bin/memhog`.Available at:ftp://ftp2.sco.com/pub/skunkware/osr5/vols/hog-1.1-VOLS.tarTo keep the system from swapping, there needs to be enough
ram to run all of the processes. A system that has run
out of memory may swap so much that it appears to be disk
bound.