in reply to fork processing limitations

The number of processes you can fork off (and I am going to assume Un*x here) depends on some kernel tuning parameters. One of which is the total number of processes system wide that may be created as well as a second that determines how many each user may create. The total max processes system wide is a product of a calculation that takes into consideration the maximum users the system is configured to handle, the max processes per user allowed and is constrained by the physical memory of the system.

All of this differs between flavors of Un*x as well as the whims of the Unix System Administrator administering the system.


Peter L. BergholdBrewer of Belgian Ales
Peter@Berghold.Netwww.berghold.net
Unix Professional

Replies are listed 'Best First'.
Re: Re: fork processing limitations
by djbiv (Scribe) on Jul 21, 2003 at 19:48 UTC
    Thanks for your insight on my question, the actual implementation will be running on Linux(kernel 2.4.2.x). I would assume that your answer covers this as well.
    Noting your comment then, My application should be able to (theoretically handle), accept thousounds of connections per hour while processing the data and writing the data to file(s)... where might I find the processing limitations? writing my data to file(s)? processing the data within my code?

        My application should be able to (theoretically handle), accept thousounds of connections per hour while processing the data and writing the data to file(s)

      Theoretically. YMMV depending on hardware and physical memory.

        where might I find the processing limitations?

      You've caught me slightly off guard here. I don't have my Linux internals book handy. Just for grins I tried poking around with adb and had no success finding the right symbol to examine.

      Maybe another PM has the info at their fingertips? I'm curious now...


      Peter L. BergholdBrewer of Belgian Ales
      Peter@Berghold.Netwww.berghold.net
      Unix Professional
        /etc/security/limits.conf? Try using grep to find processes in /etc.

        Neil Watson
        watson-wilson.ca

        Ok, if you didn't already notice I am a novice here at PerlMonks, could you educate me on what YMMV stands for?