Error when processng a message: ‘couldn’t fork child proc

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Error when processng a message: ‘couldn’t fork child proc

  • Creator
    Topic
  • #55030
    Rick Pritchett
    Participant

      Has Anyone ever come across this issue?

      Cloverleaf6.0.1.0P

      Redhat 6

      sms :sms :ERR /0:

    Viewing 0 reply threads
    • Author
      Replies
      • #83847

        This usually means you need to adjsut the kernel parameters. Please see the install guide for instructions.

        Here are my notes on this error.

        Resources

        Resource temporarily unavailable is a minor error that happens when there is too many processes that are currently running to start a new one. The limit is set in the /etc/security/limits.d/90-nproc.conf file. Changing this may cause you system to experience a higher load as it is able to perform more processes.

        Restart running processes after these changes are made.

        To see the current system parameters:

        cat /proc/sys/kernel/shmmax

        cat /proc/sys/kernel/sem

        cat /proc/sys/fs/file-max

        Double the kernel parameters:

        sudo echo “kernel.shmmax=68719476736” >> /etc/sysctl.conf

        sudo echo “kernel.sem=500 64000 128 1024” >> /etc/sysctl.conf

        sudo echo “fs.file-max=386529” >> /etc/sysctl.conf

        sudo sysctl -p

        To see current limits: ulimit -a

        Update the limits:

        sudo vim /etc/security/limits.d/90-nproc.conf

        # Doubled the limits to 2048

        # This file controls the default soft values for users

        sudo vim /etc/audit/audit.rules

        # Found line that has -b 320

        # Doubled it to read -b 640

        sudo vim /etc/security/limits.conf

        # Increase hard limits for hci

        hci             hard    nofile          32768

        hci             hard    nproc           32768

        The soft limits can be be modified by the the user. They can not exceed the hard limits.

        # .profile.local.end

        # Increase hard limits for hci

        ulimit -d unlimited

        ulimit -s 4194304

        ulimit -f unlimited

        ulimit -m unlimited

        ulimit -n 32768

        ulimit -t unlimited

        ulimit -u 32768

        ulimit -c 0

        -- Max Drown (Infor)

    Viewing 0 reply threads
    • The forum ‘Cloverleaf’ is closed to new topics and replies.