Bug 24790

Summary: Glibc resolver leaks UDP sockets
Product: [Retired] Red Hat Linux Reporter: Need Real Name <redhatbugzilla>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED DUPLICATE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-01-24 11:31:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Need Real Name 2001-01-24 00:42:20 UTC
The resolver can leak UDP sockets if the first nameserver in
/etc/resolv.conf is down or invalid and the second is valid.  To test this,
I wrote a sort program that ran gethostbyname in a loop and ran it under
strace and watched the descriptor numbers steadily increase.

Comment 1 Jakub Jelinek 2001-01-24 11:30:25 UTC
Do you have latest glibc errata installed?
This looks like duplicate of #18332 which has been fixed in glibc-2.2-12.

Comment 2 Jakub Jelinek 2001-02-12 09:40:46 UTC

*** This bug has been marked as a duplicate of 18332 ***