Date: Thu, 28 Mar 2019 11:26:46 +0100 From: Borja Marcos <borjam@sarenet.es> To: freebsd-stable Stable <freebsd-stable@freebsd.org> Subject: Crazy default kern.maxusers? Message-ID: <3C918AD8-B5AD-4D46-A944-EBA6D9B0A381@sarenet.es>
next in thread | raw e-mail | index | archive | help
Hi :) I am setting an Elasticsearch cluster using FreeBSD 12-STABLE. The = servers have 64 GB of memory and I am running ZFS.=20 I was puzzled when despite having limited vfs.zfs.arc_max to 32 GB and = assigning a 16 GB heap (locked) to Elasticsearch, and with around 10 GB of free memory, I saw the system hitting swap and = actively paging in and out.=20 Should it happen?=20 Checking sysctl values I noticed that kern.maxusers was 4429! Is this sane? I have decreased it to 32 on boot.loader.conf and I am = checking wether it behaves the same. Thanks! Borja.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C918AD8-B5AD-4D46-A944-EBA6D9B0A381>