Я пытался пудриером собрать GHC (Glasgow Haskell Compiler). Через некоторое время заметил, что машина висит и ни на что не реагирует. Перезагрузил, начал смотреть логи и увидел в /var/log/messages:
Код: Выделить всё
Jun 23 15:30:27 Kate kernel: blanktime.
Jun 23 16:42:21 Kate kernel: warning: total configured swap (2025472 pages) exceeds maximum recommended amount (1946784 pages).
Jun 23 16:42:21 Kate kernel: warning: increase kern.maxswzone or reduce amount of swap.
Jun 24 13:42:12 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:12 Kate kernel: pid 780 (Xorg), uid 0, was killed: out of swap space
Jun 24 13:42:14 Kate kernel: swap zone ok
Jun 24 13:42:14 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:14 Kate kernel: pid 97398 (gmake), uid 0, was killed: out of swap space
Jun 24 13:42:14 Kate kernel: swap zone ok
Jun 24 13:42:17 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:17 Kate kernel: pid 31260 (ghc-stage1), uid 0, was killed: out of swap space
Jun 24 13:42:17 Kate kernel: pid 964 (sudo), uid 0, was killed: out of swap space
Jun 24 13:42:17 Kate kernel: pid 695 (sendmail), uid 0, was killed: out of swap space
Jun 24 13:42:17 Kate kernel: pid 394 (devd), uid 0, was killed: out of swap space
Jun 24 13:42:17 Kate kernel: swap zone ok
Jun 24 13:42:17 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:17 Kate kernel: pid 698 (sendmail), uid 25, was killed: out of swap space
Jun 24 13:42:17 Kate kernel: swap zone ok
Jun 24 13:42:18 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:18 Kate kernel: pid 654 (dbus-daemon), uid 556, was killed: out of swap space
Jun 24 13:42:18 Kate kernel: swap zone ok
Jun 24 13:42:18 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:18 Kate kernel: pid 778 (xdm), uid 0, was killed: out of swap space
Jun 24 13:42:18 Kate kernel: swap zone ok
Jun 24 13:42:18 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:18 Kate kernel: pid 949 (tmux), uid 1001, was killed: out of swap space
Jun 24 13:42:18 Kate kernel: swap zone ok
Jun 24 13:42:20 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:20 Kate kernel: pid 952 (bash), uid 1001, was killed: out of swap space
Jun 24 13:42:20 Kate kernel: pid 372 (dhclient), uid 65, was killed: out of swap space
Jun 24 13:42:20 Kate kernel: swap zone ok
Jun 24 13:42:21 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:21 Kate kernel: pid 327 (dhclient), uid 0, was killed: out of swap space
Jun 24 13:42:21 Kate kernel: pid 377 (moused), uid 0, was killed: out of swap space
Jun 24 13:42:21 Kate kernel: swap zone ok
Jun 24 13:42:21 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:21 Kate kernel: pid 777 (getty), uid 0, was killed: out of swap space
Jun 24 13:42:21 Kate kernel: swap zone ok
Jun 24 13:42:21 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:21 Kate kernel: pid 776 (getty), uid 0, was killed: out of swap space
Jun 24 13:42:21 Kate kernel: swap zone ok
Jun 24 13:42:21 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:21 Kate kernel: pid 775 (getty), uid 0, was killed: out of swap space
Jun 24 13:42:21 Kate kernel: swap zone ok
Jun 24 13:42:21 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:21 Kate kernel: pid 774 (getty), uid 0, was killed: out of swap space
Jun 24 13:42:21 Kate kernel: swap zone ok
Jun 24 13:42:21 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:21 Kate kernel: pid 773 (getty), uid 0, was killed: out of swap space
Jun 24 13:42:21 Kate kernel: swap zone ok
Jun 24 13:42:22 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:22 Kate kernel: pid 772 (getty), uid 0, was killed: out of swap space
Jun 24 13:42:22 Kate kernel: swap zone ok
Jun 24 13:42:22 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:22 Kate kernel: pid 771 (getty), uid 0, was killed: out of swap space
Jun 24 13:42:22 Kate kernel: swap zone ok
Были убиты почти все процессы.
Написал в списки рассылки. Один человек откликнулся. У него тоже возникла такая же проблема. У него своп был на ZFS. Вылечилось убиранием swap-а из ZFS. Но я не использую ZFS. Пока ещё проблему не решил. Это, пока, единственный затык, который я обнаружил. Больше никаких проблем не замечал.