Bug 1777 - xinetd leaks descriptors
Summary: xinetd leaks descriptors
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: xinetd (show other bugs)
Version: unstable
Hardware: all Linux
: P4 blocker
Assignee: placeholder@altlinux.org
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-28 21:43 MSK by Dmitry V. Levin
Modified: 2003-08-25 15:18 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry V. Levin 2002-12-28 21:43:33 MSK
There are situations when xinetd starts leaking descriptors for spawned children. The problem exists since version 2.3.8 and still not fixed in xinetd-20021209.
---

---
Cite from Steve Grubb:
---
Here\'s a link to the e-mail that I posted to the group
when I discovered the cause of the leaked descriptors:
<a href="http://marc.theaimsgroup.com/?l=xinetd&amp;m=103767881425253&amp;w=2">http://marc.theaimsgroup.com/?l=xinetd&amp;m=103767881425253&amp;w=2</a>

And here\'s a link to an e-mail where someone else
explained what he discovered about the descriptors
being mixed up:
<a href="http://marc.theaimsgroup.com/?l=xinetd&amp;m=103893604709367&amp;w=2">http://marc.theaimsgroup.com/?l=xinetd&amp;m=103893604709367&amp;w=2</a>

And here\'s a test script he supplied:
<a href="http://marc.theaimsgroup.com/?l=xinetd&amp;m=103893602009155&amp;w=2">http://marc.theaimsgroup.com/?l=xinetd&amp;m=103893602009155&amp;w=2</a>
---
Comment 1 Dmitry V. Levin 2002-12-29 23:50:04 MSK
It also leaks descriptors of unclosed configuration files.
Comment 2 Dmitry V. Levin 2002-12-29 23:50:04 MSK
It also leaks descriptors of unclosed configuration files.
Comment 3 Dmitry V. Levin 2002-12-30 18:15:58 MSK
xinetd-2.3.9-alt5.20021209 no longer leaks config files.
Comment 4 Dmitry V. Levin 2002-12-30 18:15:58 MSK
xinetd-2.3.9-alt5.20021209 no longer leaks config files.
Comment 5 Dmitry V. Levin 2002-12-31 19:53:19 MSK
Fixed in xinetd-2.3.9-alt6.20021209 (at least, passes my test).
Comment 6 Dmitry V. Levin 2002-12-31 19:53:19 MSK
Fixed in xinetd-2.3.9-alt6.20021209 (at least, passes my test).
Comment 7 Dmitry V. Levin 2003-01-13 20:54:51 MSK
merged into xinetd-2.3.10
Comment 8 Dmitry V. Levin 2003-01-13 20:54:51 MSK
merged into xinetd-2.3.10