Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2012 19:37:16 +0400
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        stable@freebsd.org
Subject:   Re: kern.maxswzone is gone... what next?
Message-ID:  <CAE-mSOJpN-VH2ZuyB5QvG7N6Sig1=Rv8UQcgc-2N-M61qce7sQ@mail.gmail.com>
In-Reply-To: <5076E68F.3070109@gmail.com>
References:  <5076E68F.3070109@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11 October 2012 19:32, Volodymyr Kostyrko <c.kworr@gmail.com> wrote:
> Hi all.
>
> I prefer to build all ports in /tmp, which is actually a tmpfs filesystem. I
> have 8G partition. But when I tried to compile Apache OpenOffice system
> starts shooting processes when I was near 6G of swap.
>
> Oct 11 18:12:32 ar1l0u kernel: swap zone exhausted, increase kern.maxswzone
> Oct 11 18:12:32 ar1l0u kernel: pid 1334 (java), uid 818, was killed: out of
> swap space
> Oct 11 18:12:32 ar1l0u kernel: pid 74518 (thunderbird), uid 1001, was
> killed: out of swap space
> Oct 11 18:12:32 ar1l0u kernel: swap zone ok
>

How much RAM (avail memory) do you have?

> As I'm running rather current version I see r240097 in the log that states
> that there is no maxswzone setting for amd64 anymore. When I tried to query
> this parameter I got:
>
>> sysctl kern.maxswzone
> kern.maxswzone: 0
>
> What was that? Did that mean that 6G is a maximum swap size now?
>
> PS: I'm retrying now with kern.maxswzone set to 256M.

I doubt it's worth to try.

-- 
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOJpN-VH2ZuyB5QvG7N6Sig1=Rv8UQcgc-2N-M61qce7sQ>