Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2015 15:38:21 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-fs@freebsd.org
Subject:   Re: FreeBSD 10.1 Memory Exhaustion
Message-ID:  <55A6C4BD.5090500@denninger.net>
In-Reply-To: <55A6C0A4.1030300@digiware.nl>
References:  <CAB2_NwCngPqFH4q-YZk00RO_aVF9JraeSsVX3xS0z5EV3YGa1Q@mail.gmail.com> <55A3A800.5060904@denninger.net> <55A4D5B7.2030603@freebsd.org> <55A4E5AB.8060909@netlabs.org> <CACfj5vJvAz9StvjTrA1TzfS%2BMhi_qSrOc_qBNHr8qXbiAj81xw@mail.gmail.com> <1436989410.1427298.324703241.421E814B@webmail.messagingengine.com> <55A6C0A4.1030300@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms090206030707000801090107
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable


On 7/15/2015 15:20, Willem Jan Withagen wrote:
> On 15/07/2015 21:43, Mark Felder wrote:
>>
>> On Tue, Jul 14, 2015, at 10:10, Sean Chittenden wrote:
>>> I think the reason this is not seen more often is because people
>>> frequently
>>> throw limits on the arc in /boot/loader.conf:
>>>
>>> vfs.zfs.arc_min=3D"18G"
>>> vfs.zfs.arc_max=3D"149G"
>>>
>>> ZFS ARC *should* not require those settings, but does currently for m=
ixed
>>> workloads (i.e. databases) in order to be "stable".  By setting fixed=

>>> sizes
>>> on the ARC, UMA and ARC are much more cooperative in that they have t=
heir
>>> own memory regions to manage so this behavior is not seen as often.
>>>
>>> To be clear, however, it should not be necessary to set parameters li=
ke
>>> these in /boot/loader.conf in order to obtain consistent operational
>>> behavior.  I'd be curious to know if someone running 10.2 BETA withou=
t
>>> patches is able to trigger this behavior or not.  There was work done=

>>> that
>>> reported helped with this between 10.1 and now.  To what extent it
>>> helped,
>>> however, I don't have any advice yet.
>>>
>> I was about to email "I have 12TB at home and 4GB of RAM with a very
>> erratic workload and never run into any issues" and then I looked at
>> /boot/loader.conf and saw vfs.zfs.arc_max=3D"2G"
>>
>> Now I'm too scared to turn it off... :-)
> Same here.
> Just a leftover of all the advise to limit arc in the past.
> Just bit the bullit: installed BETA1, killed the settings and rebooted.=

> We'll see what comes of it.
>
> --WjW
If you get bit I have refactored the patch for 10.2-BETA1 to get rid of
the fudges and i386 linker problem and uploaded it, so if you run into
trouble try applying that and see if that fixes it.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187594

--=20
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

--------------ms090206030707000801090107
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGXzCC
BlswggRDoAMCAQICASkwDQYJKoZIhvcNAQELBQAwgZAxCzAJBgNVBAYTAlVTMRAwDgYDVQQI
EwdGbG9yaWRhMRIwEAYDVQQHEwlOaWNldmlsbGUxGTAXBgNVBAoTEEN1ZGEgU3lzdGVtcyBM
TEMxHDAaBgNVBAMTE0N1ZGEgU3lzdGVtcyBMTEMgQ0ExIjAgBgkqhkiG9w0BCQEWE0N1ZGEg
U3lzdGVtcyBMTEMgQ0EwHhcNMTUwNDIxMDIyMTU5WhcNMjAwNDE5MDIyMTU5WjBaMQswCQYD
VQQGEwJVUzEQMA4GA1UECBMHRmxvcmlkYTEZMBcGA1UEChMQQ3VkYSBTeXN0ZW1zIExMQzEe
MBwGA1UEAxMVS2FybCBEZW5uaW5nZXIgKE9DU1ApMIICIjANBgkqhkiG9w0BAQEFAAOCAg8A
MIICCgKCAgEAuYRY+EB2mGtZ3grlVO8TmnEvduVFA/IYXcCmNSOC1q+pTVjylsjcHKBcOPb9
TP1KLxdWP+Q1soSORGHlK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ikd+TcpElJMqMqq5x
HgW23vDD1lMEC/NjzALmKyvM9OE6kTF0lXl3fySfCZwS71Ed5HdCTUyRD8GchzhidhN0ir0t
KJoEdWbz2N91cCXzjQ0vf7A9DZI52RurxPBmOaJhfG6TEBx3ntd3SzaGjVUleK3KQhC9rCbB
i26J48FS9W1vizsLmqVXOwc/XBEQbwAAAAAAAA==
--------------ms090206030707000801090107--





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