On 17/10/2013 17:01, RW wrote:
On Thu, 17 Oct 2013 16:27:49 +0100
Frank Leonhardt wrote:

On 17/10/2013 15:04, Anton Shterenlikht wrote:
I'm using a 72gb swap disk.
I've 10gb RAM

I get this warning:

warning: total configured swap (8960911 pages) exceeds maximum
recommended amount (8243200 pages). warning: increase
kern.maxswzone or reduce amount of swap.

What is max. recommended amount based on?
What is the danger of exceeding it?
How should I increase kern.maxswzone?

# sysctl kern.maxswzone
kern.maxswzone: 0
#

Do I set it to the total swap size?
Where is kern.maxswzone described?


I went through this on an earlier version but didn't get any warning.
You might find the answer here:

http://blog.frankleonhardt.com/2011/large-swap-files-on-freebsd-die-with-mystery-killed-howto-add-lots-of-swap-space/
The hard limit that's mentioned there is i386 only. I think that may
have changed a bit since 8.2.

This was running 8.2 on AMD64, and it's definitely there (and with the same value as the i386 version). The code's there on 9.1, as is the manifest constant in param.h and it's still the same value. I haven't tried 9.2 yet. So what am I missing about i386?

Thanks, Frank.




_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to