Date: Wed, 10 Jun 1998 22:20:11 -0500 (EST) From: "John S. Dyson" <dyson@FreeBSD.ORG> To: sfarrell@farrell.org Cc: hackers@FreeBSD.ORG Subject: Re: perl forking causes panic in 2.2.6-stable Message-ID: <199806110320.WAA12135@dyson.iquest.net> In-Reply-To: <87bts0lkxn.fsf@couatl.uchicago.edu> from "sfarrell@farrell.org" at "Jun 10, 98 09:41:08 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
sfarrell@farrell.org said: > > tom christiansen posted a nifty prime number generator script that > uses forking to approximate threads [attached below]. > > i decided it was a little bit boring at only find primes under 1000, > so i upped the number to 5000. > > unfortunately this panics my machine! the panic is get_pv_entry: > cannot get a pv_entry_t. i tried a less creative fork bomb with sh > and noticed that it gives "cannot fork", causes significant denial of > service, but can be killed and does not panic. > I agree that we should catch the error witihout panicing. I have added code in (guess where) to reclaim pv_entries. -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806110320.WAA12135>