[Bug 275767] sysutils/iocage import function causes out of swap memory condition

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 14 Dec 2023 17:02:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275767

            Bug ID: 275767
           Summary: sysutils/iocage  import function causes out of swap
                    memory condition
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: grembo@FreeBSD.org
          Reporter: byrnejb@harte-lyne.ca
             Flags: maintainer-feedback?(grembo@FreeBSD.org)
          Assignee: grembo@FreeBSD.org

FreeBSD 13.2-RELEASE-p5
py39-iocage 1.2_10

When importing a jail previously exported by iocage the import process is
killed because of an out of swap space condition:

Dec 13 12:20:11 vhost03 kernel: swap_pager: out of swap space
Dec 13 12:20:11 vhost03 kernel: swp_pager_getswapspace(16): failed
Dec 13 12:20:13 vhost03 kernel: pid 26142 (python3.9), jid 0, uid 0, was
killed: failed to reclaim memory
Dec 13 16:00:20 vhost03 kernel: swap_pager: out of swap space
Dec 13 16:00:20 vhost03 kernel: swp_pager_getswapspace(24): failed
Dec 13 16:00:23 vhost03 kernel: pid 29796 (python3.9), jid 0, uid 0, was
killed: failed to reclaim memory
Dec 13 16:00:24 vhost03 kernel: pid 10070 (sshd), jid 0, uid 0, was killed:
failed to reclaim memory
Dec 13 16:00:24 vhost03 kernel: swap_pager: out of swap space
Dec 13 16:00:24 vhost03 kernel: swp_pager_getswapspace(20): failed
Dec 13 16:00:25 vhost03 kernel: swp_pager_getswapspace(17): failed

In 2020 this problem was apparently fixed in
https://github.com/iocage/iocage/pull/1218/commits/2a1685bcaba96917c79a7e4a909dac5c6926826a
in master but never made into the release copy.

The upstream project appears to have been abandoned by the authors.  I do not
know if this fix can be added to iocage for FreeBSD but if it can then I would
appreciate this.

-- 
You are receiving this mail because:
You are the assignee for the bug.