Too Many Processes - Fork Failed in SCO Unix Open Server 5.0.7

Posted on 2005-05-16
Last Modified: 2013-12-16
We have a Unix server running SCO Open Server 5.0.7 with 512Mb of Ram. WHen everyone logs in (around 150 users) we are getting the error too many processes - fork failed and the applications will not run.

The Number of Processes in Configure is set to MaxProc - the maximum available. Would increaing the memory give us more processes to fix the problem, or is there something else I can do?

Question by:grwallace
    LVL 38

    Expert Comment

    Please have a look at the answer in the following SCO FAQ:

        try to use scoadmin to change the kernel parameter if needed, remember to relink
    the kernel and then reboot.
    LVL 51

    Accepted Solution

    as yuzh said, this is a system limit
    not shure for SCO but most systems can be configured in  /etc/security/limits.conf
    LVL 61

    Expert Comment

    You should run /etc/config/cf.d/configure
    Adjust (double) settings for MAX_PROC ( this is auto-tuned probably )
    Then run link_unix from same dir
    And choose new kernel to boot up

    Logfiles may tell you actual limit that is hit so you can rise. Bad it does not work on the fly and one must relink kernel and reboot. Sometimes first relink is last, so backup is advisable.

    Usually 16*average_number_of_sessions is enough for system process table.
    MAXUP is limit for each user, it defaults to 256, which is mostly enough

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
    Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now