Bug 2264945
Summary: | Large number of file descriptors used in RHEL 9 | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | razorbladex401 <aarvelo> |
Component: | opendkim | Assignee: | Jonathan Wright <jonathan> |
Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | epel9 | CC: | anon.amish, bugs, matt, suwu |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
razorbladex401
2024-02-19 18:52:42 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. # ss -anp | grep 'opendkim' | sed 's/ *$//' u_str ESTAB 0 0 * 1121513887 * 1121527909 users:(("opendkim",pid=639839,fd=2),("opendkim",pid=639839,fd=1)) u_str ESTAB 0 0 * 1203114549 * 0 users:(("opendkim",pid=639839,fd=8)) u_dgr ESTAB 0 0 * 1121513898 * 18898 users:(("opendkim",pid=639839,fd=6)) udp ESTAB 0 0 127.0.0.1:56806 127.0.0.1:53 users:(("opendkim",pid=639839,fd=45)) ... (truncated about 30 connections to DNS) udp ESTAB 0 0 127.0.0.1:40305 127.0.0.1:53 users:(("opendkim",pid=639839,fd=57)) tcp LISTEN 0 4096 127.0.0.1:8891 0.0.0.0:* users:(("opendkim",pid=639839,fd=5)) My observation on Fedora 34-41 is that this happens whether or not sssd is installed. For me, it does seem to only happen when the recursive server pointed to in resolv.conf is unbound (vs bind) In any case, my quick fix is to add these two clauses to opendkim.conf, after which the problem mysteriously disappears, although : # Nameservers (string) # Provides a comma-separated list of IP addresses that are to be used when doing DNS queries to retrieve DKIM keys, VBR records, etc. # These override any local defaults built in to the resolver in use, which may be defined in /etc/resolv.conf or hard-coded into the software. Nameservers 1.1.1.1, 8.8.8.8 # ip numbers = no TLS # QueryCache (Boolean) # Instructs the DKIM library to maintain its own local cache of keys and policies retrieved from DNS, rather than relying on the nameserver for caching service. Useful if the nameserver being used by the filter is not local. QueryCache yes strangely, doing a tcpdump on the default routing interface shows that queries aren't happening? and yet, it seems able to both sign and verify # tcpdump -i eno1 host 1.1.1.1 or host 8.8.8.8 dropped privs to tcpdump tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on eno1, link-type EN10MB (Ethernet), snapshot length 262144 bytes |