[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Recursive fork() and different fbsd's
From:       Eugeny Kuzakov <Eugeny.Kuzakov () lab321 ! ru>
Date:       1997-09-29 6:39:36
[Download RAW message or body]

Hi, All !


I run this program on:

1. 3.0-970807-SNAP - no hangs, fork always rerurns 0. But process count
does not grow..
2. 2.1.7.1-RELEASE - more swap, more processes, not hangs really, but
....Works only
	router...Any applications stoped...

On linux, when will process count more than same constant, fork returns
-1.

Any comments ?

-- 
	Best wishes, Eugeny Kuzakov
		Laboratory 321 ( Omsk, Russia )
		http://www.lab321.ru/~kev
		kev@lab321.ru
["crash.c" (application/octet-stream)]

#include <stdio.h>
#include <stdlib.h>
void main(){
    while(1){
	if(fork()){printf(".");};
    }
}


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic