[Bug 221552] [PATCH] sysutils/rubygem-facter runs extremely slow on non ec2 virtual machines
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 16 03:00:37 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221552
Bug ID: 221552
Summary: [PATCH] sysutils/rubygem-facter runs extremely slow on
non ec2 virtual machines
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: robak at freebsd.org
Reporter: jim+freebsd at pirzyk.org
Keywords: patch
Assignee: robak at freebsd.org
Flags: maintainer-feedback?(robak at freebsd.org)
Created attachment 185469
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185469&action=edit
Add make config option to remove ec2 facts
the latest rubygem-facter (2.5.0) tries to communicate with a Amazon web page
(169.254.169.254) for any virtual machine of type xen or kvm.
On my RootBSD VPS we see this timing:
pirzyk at stitch:~/tmp
2>time facter > /dev/null
real 7m43.22s
user 0m0.25s
sys 0m0.11s
After the attached patch is applied the timings return to normal:
pirzyk at stitch:~/tmp
3>time facter > /dev/null
real 0m0.34s
user 0m0.21s
sys 0m0.12s
The patch add an option to remove the ec2 facts from the facter install,
following the same steps available to remove the zfs/zpool facts.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list