Hello,
I updated our servers (20+) to FreeBSD 12.2-RELEASE-p1 GENERIC amd64 and am seeing now that processes get killed with a "out of swap space" message more often.
I found this thread https://forums.freebsd.org/threads/...-out-of-swap-space-message.77975/#post-489668 and will look into my ZFS daily snapshots.
But I have one server, which actually does nothing at all. No services other then sshd, rkhunter and node_exporter. No active users, nothing. I installed it, but it has no purpose right now.
Still I see in the daily security run output mail hundreds of these messages:
This machine has 8GB of RAM / 8GB of SWAP.
Never has these problems before the upgrade. Before FreeBSD 12.0 war running.
Does anyone has an idea, what could cause that and how to look into it.
Edit 1: From the frequency of the messages, it could point to node_exporter, which is called like every 15 seconds. But can't or shouldn't take more than a couple of MB of RAM.
Edit 2: This is actually a real problem:
PostgreSQL ran fine and stable on it's machine for at least one year. Now after the upgrade (freebsd-update -r 12.2-REALSE upgrade, install and reboot), it already crashed twice in a week.
Regards,
Waldemar
I updated our servers (20+) to FreeBSD 12.2-RELEASE-p1 GENERIC amd64 and am seeing now that processes get killed with a "out of swap space" message more often.
I found this thread https://forums.freebsd.org/threads/...-out-of-swap-space-message.77975/#post-489668 and will look into my ZFS daily snapshots.
But I have one server, which actually does nothing at all. No services other then sshd, rkhunter and node_exporter. No active users, nothing. I installed it, but it has no purpose right now.
Still I see in the daily security run output mail hundreds of these messages:
Code:
kernel log messages:
+swap_pager_getswapspace(32): failed
+swap_pager_getswapspace(3): failed
+swap_pager_getswapspace(20): failed
+swap_pager_getswapspace(18): failed
+swap_pager_getswapspace(9): failed
+swap_pager_getswapspace(10): failed
+pid 23381 (lsof), jid 0, uid 0, was killed: out of swap space
...
This machine has 8GB of RAM / 8GB of SWAP.
Never has these problems before the upgrade. Before FreeBSD 12.0 war running.
Does anyone has an idea, what could cause that and how to look into it.
Edit 1: From the frequency of the messages, it could point to node_exporter, which is called like every 15 seconds. But can't or shouldn't take more than a couple of MB of RAM.
Edit 2: This is actually a real problem:
Code:
+pid 22275 (postgres), jid 0, uid 770, was killed: out of swap space
+swap_pager_getswapspace(32): failed
PostgreSQL ran fine and stable on it's machine for at least one year. Now after the upgrade (freebsd-update -r 12.2-REALSE upgrade, install and reboot), it already crashed twice in a week.
Regards,
Waldemar