Kbase P39138: HP-UX: Unable to fork a process
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  29/09/2003 |
|
Status: Unverified
FACT(s) (Environment):
HP-UX
SYMPTOM(s):
Unable to fork a process
SYSTEM ERROR: Too many subprocesses, cannot fork. Errno=<number>. (358)
SYSTEM ERROR: Too many subprocesses, cannot fork. Errno=12. (358)
Errno 12 is ENOMEM - Not enough core
Increasing NPROC, MAXUPRC does not seem to resolve the issue.
CAUSE:
Insufficient memory for processes address space.
FIX:
Increase the amount of memory for processes address space. This can be done by tuning MAXDSIZ and MAXSSIZ via the HP-UX's SAM tool.
Explanation of parameters:
- MAXDSIZ
The dynamic storage segment (DSS) space used for dynamic
storage (malloc() allocation space), stack space, register
storage, etc.
- MAXSSIZ
Data-storage segment space used for arrays and
other fixed data structures.