Consultor Eletrônico



Kbase P19097: Error 49 on fork()
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/04/2003
Status: Unverified

FACT(s) (Environment):

Solaris SPARC 8

FACT(s) (Environment):

Progress 9.1D

SYMPTOM(s):

Error 49 on _fork()

Protrace shows these functions:

_fork()
_getcwd
utpwd
drpostsetup
drsetup

CAUSE:

The manpages for fork() suggest that it will fail under two conditions:

ERRORS
fork() fails and no child process are created if one or more
of the following is true:

EAGAIN There are two conditions that will cause an EAGAIN error.

The system-imposed limit on the total number
of processes under execution by a single user
would be exceeded.

The total amount of system memory available
is temporarily insufficient to duplicate this
process.

ENOMEM There is not enough swap space.

FIX:

1. Check your swap space: the recommendation generally is that it should be about 2 x RAM.

2. Review the Progress-related kernel parameter settings for semaphores and memory (SHMMAX, SHMSEG, SEMMNI, SEMMNS, SEMMNU, SEMMNL) and increase these as necessary. The semaphore-related parameters are most likely to be those that need to be adjusted.
This is documented in the Installation and Configuration Guide for Unix. Note that the values suggested there should be increased by about half again, and that these values are for Progress alone and that if other apps are working on that machine, then these have to be taken into account.