Bug 1831685

Summary: rbldnsd crashes on large datasets
Product: [Fedora] Fedora EPEL Reporter: fbh
Component: rbldnsdAssignee: Paul Howarth <paul>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: epel7CC: paul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rbldnsd-0.998b-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-21 04:16:15 UTC 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 fbh 2020-05-05 13:40:08 UTC
Description of problem:
When using a large dataset for rbldnsd-0.998-1.el7.x86_64, it consumes all available memory on start-up and crashes with the message:

rbldnsd: out of memory

This turns out to be due to a known bug - https://github.com/spamhaus/rbldnsd/commit/a1295eefc78b6e8a3c220e164dbfad6dbecc6f6e

The above patch solves the issue.


Version-Release number of selected component (if applicable):
rbldnsd-0.998-1.el7.x86_64

How reproducible:
Every time with specific large dataset. Unfortunately this specific dataset cannot be shared, as it has been purchased from a third party.

Steps to Reproduce:
1. Use a large dataset (zone)
2. Start rbldnsd

Actual results:
rbldnsd crashes with "out of memory" message

Expected results:
rbldnsd should not run out of memory (the server has plenty of memory for the dataset)

Additional info:

Comment 1 Paul Howarth 2020-05-05 14:56:27 UTC
Hmm, hadn't noticed that there was a new upstream for this. I'll push an update shortly, and do an EPEL-8 version too.

Comment 2 Fedora Update System 2020-05-05 15:37:22 UTC
FEDORA-EPEL-2020-a2bd4940cf has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-a2bd4940cf

Comment 3 Fedora Update System 2020-05-06 06:16:01 UTC
FEDORA-EPEL-2020-a2bd4940cf has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-a2bd4940cf

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2020-05-21 04:16:15 UTC
FEDORA-EPEL-2020-a2bd4940cf has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.