Newsgroups: fa.freebsd.hackers
From: Joshua Isom <jri...@gmail.com>
Date: Wed, 09 Jan 2008 09:53:53 UTC
Local: Wed, Jan 9 2008 4:53 am
Subject: Re: Graceful failure instead of panicking in kmem_malloc
On Jan 8, 2008, at 9:25 PM, Bharma Ji wrote: > Thanks for the response. I am hoping to keep some memory aside Why not try to take out some user processes? Going with a combination > specifically > for handling out of memory allocation situations. Yes the real fix is > to > avoid out of memory allocation. Thanks for the patch. Will try that. > As a > first cut I am just trying to handle failure gracefully. > So asking again - if there is any way already discussed or > On Jan 8, 2008 4:30 PM, Kris Kennaway <k...@freebsd.org> wrote: >> Bharma Ji wrote: >>> Is there any way to make the system log and then gracefully shut off >> Not really, because those actions require memory allocation. The real >> a) avoid running out of memory in the first place by tuning >> b) perhaps trying harder to avoid panicking by first trying to more >> You can try >> http://www.freebsd.org/~pjd/patches/vm_kern.c.2.patch<http:// >> which implements b) (patch against 7.0, but might apply to 6.2 >> Kris > _______________________________________________ of process priority and memory usage, it should at least be more tolerable than a panic. _______________________________________________ You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||