Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Mar 2006 00:25:01 +0200 (EET)
From:      Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: RELENG_4 on flash disk and swap
Message-ID:  <20060304001224.G356@atlantis.atlantis.dp.ua>
In-Reply-To: <20060303185157.GB692@turion.vk2pj.dyndns.org>
References:  <20060302181625.I3905@atlantis.atlantis.dp.ua> <76FAD2DB-CD18-42D4-95C8-F016CFB17B00@segpub.com.au> <20060303110936.R86586@atlantis.atlantis.dp.ua> <20060303185157.GB692@turion.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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 know whether it's harmless?
>
> It depends what you mean by "harmless".  The kernel tried to allocate
> 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 suppose
that I know why...

> surprised that you got this on the "rm" as the buildworld should
> create bigger processes.  If the "rm" was killed, you will need to
> re-issue it to actually delete the files.

... because I think it wasn't a process which requested a page - it
apparently was a softupdates code. Do you really believe that RELENG_4
lacks real memory for "make buildworld" on i386 with 256Mb RAM? I've issued 
"make buildworld" and "make buildkernel" several times, just to be sure. Every 
such a test was successful. My diagnostics (swap_pager_getswapspace: failed) 
occurs only once per OS run (it doesn't repeat until I reboot by box), and 
even with vm.swap_enabled=0! So I think it's harmless, I just want to confirm 
it w/o digging OS vm code.


Sincerely, Dmitry
-- 
Atlantis ISP, System Administrator
e-mail:  dmitry@atlantis.dp.ua
nic-hdl: LYNX-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060304001224.G356>