Date: Mon, 29 Sep 1997 13:39:36 +0700 From: Eugeny Kuzakov <Eugeny.Kuzakov@lab321.ru> To: hackers@freebsd.org Subject: Recursive fork() and different fbsd's Message-ID: <342F4D28.417B2D09@lab321.ru>
index | next in thread | raw e-mail
[-- Attachment #1 --] 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 [-- Attachment #2 --] #include <stdio.h> #include <stdlib.h> void main(){ while(1){ if(fork()){printf(".");}; } }help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?342F4D28.417B2D09>
