Subject: fork() freeze the system
To: None <current-users@netbsd.org>
From: grifo <grifo3000@interfree.it>
List: current-users
Date: 06/10/2004 15:16:40
hello,
today a friend of mine tried the following code on my NetBSD:

int main()
{
	while (1) 
	   fork();
}

well, we were wondering why if launched from tty's the operating
systems blocks the program saying: "proc table is full, please 
increase kern.maxproc", while when run from XFree86 it freeze
the system and need to be rebooted "phisically".

> X -version
XFree86 Version 4.4.0

> uname -r
2.0F

i would be graceful to any hint!
thankyou
g.