kern.maxswzone is gone... what next?

Andreas Nilsson andrnils at gmail.com
Thu Oct 11 15:50:03 UTC 2012


On Thu, Oct 11, 2012 at 3:38 PM, Volodymyr Kostyrko <c.kworr at gmail.com>wrote:

> 11.10.2012 18:37, Sergey Kandaurov wrote:
>
>> On 11 October 2012 19:32, Volodymyr Kostyrko <c.kworr at 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
>
>
I can chime in with the exact same error. I was using poudriere to build
some ports, and on apache-oo the machine actually had a kernel panic.
Machine has 16gb of ram and 16gb swap.

I had top running (update every 1 sec) and there was >10gb of swap free
when panic happened.

The OS is fbsd 9.1-PRERELEASE, from before problematic changes with
nullfs/zfs interaction.

Best regards
Andreas


More information about the freebsd-stable mailing list