Hello!
I won't reply to the overcommit part of your letter, since my concern
is rather local: I'm just not sure whether FreeBSD does it's best
during the DoS-attack in swapless environment.
On Mon, 13 Mar 2006, Jon Dama wrote:
Also, when the system is page-starved it kills the largest
On Mon, Mar 13, 2006 at 11:48:06AM -0800, Jon Dama wrote:
If you feel this situation is undesirable, the first thing to do is to put
together the patches necessary to allow the kernel to actually track how
much ram+swap might be needed to cover the address-space allocations
that have been
If you feel this situation is undesirable, the first thing to do is to put
together the patches necessary to allow the kernel to actually track how
much ram+swap might be needed to cover the address-space allocations
that have been granted. This isn't trivial: just start thinking about
shared
Hello!
Date: Fri, 3 Mar 2006 08:04:55 -0500
From: Michael Proto [EMAIL PROTECTED]
To:freebsd-stable@freebsd.org
Subject: Re: RELENG_4 on flash disk and swap
I'm running FreeBSD in 64Mb with no swap and it works fine. A few
sysctls that I've found helpful for running
Hello!
On Fri, 10 Mar 2006, Kostik Belousov wrote:
the largest RSS - it could e.g. be a vital part of the routing software
(zebra/ripd/bgpd), and killing this process will render our router
unreachable and unusable!
Then, what should kernel do ? It kills the process because it _needs_
the
Hello!
On Sat, 11 Mar 2006, Peter Jeremy wrote:
But AFAIK the kernel kills NOT the requesting process but the one with the
largest RSS. This selection algorithm seems to be the dumbest one, since
process with largest RSS almost always is the process which does some real
work.
This frees up
On Fri, 2006-Mar-10 15:53:43 +0200, Dmitry Pryanishnikov wrote:
But AFAIK the kernel kills NOT the requesting process but the one with the
largest RSS. This selection algorithm seems to be the dumbest one, since
process with largest RSS almost always is the process which does some real
work.
Hello!
On Fri, 10 Mar 2006, Michael Proto wrote:
[EMAIL PROTECTED] ps axu |grep ssh
root 20213 0.0 1.3 54724 3356 ?? Is4:00PM 0:00.10 sshd: dmitry
[priv]
dmitry 20216 0.0 1.3 54724 3356 ?? I 4:00PM 0:00.03
Dmitry Pryanishnikov wrote:
On Sat, 4 Mar 2006, Peter Jeremy wrote:
Once you've received this message, the OS is free to kill your
processes until it frees up some swap (which it can't do if you don't
have any). I suggest you have a quick look through vm/swap_pager.c
and vm/vm_pageout.c,
Hello!
On Fri, 10 Mar 2006, Michael Proto wrote:
My suggestion would then be to utilize resource limits in
/etc/login.conf for the sshd user (in your example) or other user
accounts for applications that you don't want running out of control.
See login.conf(5) and login_cap(3) for more details
On Fri, Mar 10, 2006 at 01:57:50PM +0200, Dmitry Pryanishnikov wrote:
This is still a concern for me. IMHO it would be useful to have the ability
to disable process killing due to the lack of swap, because having this
enabled on e.g. transit router can lead to very unpleasant scenario.
On Fri, 10 Mar 2006, Michael Proto wrote:
My suggestion would then be to utilize resource limits in
/etc/login.conf for the sshd user (in your example) or other user
accounts for applications that you don't want running out of control.
See login.conf(5) and login_cap(3) for more details on
Hello!
On Sat, 4 Mar 2006, Peter Jeremy wrote:
Once swap_pager_full is set (which it has been in your case), the
kernel will kill processes if it thinks it's short of memory, defined
as (the following are all sysctl names):
vm.stats.vm.v_free_reserved + vm.stats.vm.v_cache_min
Hello!
On Fri, 3 Mar 2006, Jeremy Bogan wrote:
In other words, does RELENG_4 kernel work stable and robust w/o swap or
should I provide a minimum-size swap device? Which configuration (1 or 2)
will give more robustness in case of physical memory shortage?
I've got 4.11 running on a Geode
In this case I'd just ignore swap. Since /dev/md0 is only a memory disk
anyway, you don't really buy anything by having it as swap as opposed to
unallocated RAM. Just make sure that all your running programs are able
to fit in the 256Mb of RAM you have, otherwise processes will fail to
start or
On Fri, 2006-Mar-03 11:16:00 +0200, Dmitry Pryanishnikov wrote:
I'm running some heavy tests on my machine (256Mb RAM, HDD, no swap,
4.11-RELEASE) such as make buildwolrd. After successful completion of
this procedure I issued rm -rf /usr/obj/usr and got the following
(single) message from
Hello!
On Sat, 4 Mar 2006, Peter Jeremy wrote:
4.11-RELEASE) such as make buildwolrd. After successful completion of
this procedure I issued rm -rf /usr/obj/usr and got the following
(single) message from kernel:
Mar 3 11:05:32 test3 /kernel: swap_pager_getswapspace: failed
Does anybody
On Sat, 2006-Mar-04 00:25:01 +0200, Dmitry Pryanishnikov wrote:
On Sat, 4 Mar 2006, Peter Jeremy wrote:
swap space for a process and failed. The kernel tries to recover by
killing the largest process (which should also be syslog'd). I'm
In my case, not a single process has been killed. And I
Hello!
Suppose I have machine with 256Mb of RAM and 256Mb flash ATA disk-on-module.
What configuration (using RELENG_4) should I select:
1. No swap at all.
2. /dev/md0 (default 10Mb) added as a swap device.
In other words, does RELENG_4 kernel work stable and robust w/o swap or
should I
19 matches
Mail list logo