Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2012 10:06:01 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        stable@FreeBSD.org, Sergey Kandaurov <pluknet@gmail.com>
Subject:   Re: kern.maxswzone is gone... what next?
Message-ID:  <5077C159.7020408@FreeBSD.org>
In-Reply-To: <5077BFB5.4050701@gmail.com>
References:  <5076E68F.3070109@gmail.com> <CAE-mSOJpN-VH2ZuyB5QvG7N6Sig1=Rv8UQcgc-2N-M61qce7sQ@mail.gmail.com> <5076E7EC.9080700@gmail.com> <5076F38B.1010306@FreeBSD.org> <5077BFB5.4050701@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 12/10/2012 09:59 Volodymyr Kostyrko said the following:
> 11.10.2012 19:27, Andriy Gapon wrote:
>>>> 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?
>>>
>>> 2G
>>
>>
>> What does vmstat -z | fgrep -i swap show?
> 
> SWAPMETA:               288, 252902,     363,     339,   38104,   0,   0
> 

Hmm... this should be enough to cover for almost 16GB of swap.
Maybe there is some bug which could lead to over-allocation of swap blocks.

-- 
Andriy Gapon



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