podman/contrib/cirrus
Paul Holzinger 3ba69dccf7
rootlessport: reduce memory usage of the process
Don't use reexec for the rootlessport process, instead make it a
separate binary to reduce the memory usage. The problem with reexec is
that it will import all packages that podman uses and therefore loads a
lot of stuff into the heap. The rootlessport process however only needs
the rootlesskit library.
The memory usage is a concern since the rootlessport process will spawn
two process per container which has ports forwarded. The processes stay
until the container dies. On my laptop the current reexec version uses
47800 KB RSS. The new separate binary only uses 4540 KB RSS. This is
more than a 90% improvement.

The Makefile has been updated to compile the new binary and install it
to the libexec directory.

Fixes #10790

[NO TESTS NEEDED]

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2021-10-12 21:43:11 +02:00
..
99-do-not-use-google-subnets.conflist Cirrus: Block CNI use of google VPCs 2019-08-28 09:02:31 -04:00
add_second_partition.sh Cirrus: Implement podman automation 2.0 2020-10-02 11:53:04 -04:00
cirrus_yaml_test.py Cirrus: Implement podman automation 2.0 2020-10-02 11:53:04 -04:00
cron-fail_addrs.csv Cirrus: Send cirrus-cron report e-mail to list. 2021-02-08 12:11:16 -05:00
ext_svc_check.sh Spelling 2020-12-22 13:34:31 -05:00
lib.sh Cirrus: Fixes due to master->main rename 2021-06-30 11:39:19 -04:00
logcollector.sh Cirrus: Collect ginkgo node logs artifacts 2021-02-03 10:44:41 -05:00
logformatter compose test: try to get useful data from flakes 2021-04-13 15:18:34 -06:00
logformatter.t logformatter: add Synopsis at top of each page 2020-10-01 20:33:20 -06:00
pr-should-include-tests It really should be no **NEW** tests needed 2021-10-04 19:23:38 -06:00
pr-should-include-tests.t It really should be no **NEW** tests needed 2021-10-04 19:23:38 -06:00
required_host_ports.txt Fix static build cache by using cachix 2021-01-27 16:15:23 +01:00
runner.sh Cirrus: Add gitlab podman runner test 2021-09-27 10:37:31 -04:00
setup_environment.sh rootlessport: reduce memory usage of the process 2021-10-12 21:43:11 +02:00
shellcheck.sh Cirrus: Fix running shellcheck locally 2020-10-06 16:01:24 -04:00
swagger_stack_trace.png Improve swagger+CORS metadata docs 2020-06-09 09:53:19 -04:00
timestamp.awk CI - various fixes 2020-07-25 12:32:53 -06:00