From owner-freebsd-questions Tue May 8 21:25:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id 9103137B423; Tue, 8 May 2001 21:25:13 -0700 (PDT) (envelope-from bsddiy@163.net) Received: from xyf ([192.168.1.54]) by mail.viasoft.com.cn (8.9.3/8.9.3) with SMTP id MAA03148; Wed, 9 May 2001 12:24:27 +0800 Message-ID: <002f01c0d840$5ed38180$3601a8c0@xyf> From: "David Xu" To: Cc: Subject: kenel panic, vm_map_entry_create: kernel resources exhausted Date: Wed, 9 May 2001 12:27:33 +0800 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am using FreeBSD 4.3-STABLE, my machine has 64 RAM. I can use a fork bomb to crash kernel under some conditions, fork bomb program is: #include int main() { while(1) { if (fork() == 0) break; } return 0; } when kernel panic, it prints: vm_map_entry_create: kernel resources exhausted, then after some seconds, it reboots. I have found that if I use GENERIC kernel config, I can not trigger this bug, default maxusers value in GENERIC kernel config file is 32, this is fine, if I change it to 128 and recompile/install kernel, I can use the fork bomb to crash kernel. it seems this problem is RAM size and maxusers parameter related. what max value of maxusers should I use if my RAM is 64M? --- Regards, David Xu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message