Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 75357 - redhat-config-network leaks open files/sockets?
Summary: redhat-config-network leaks open files/sockets?
Keywords:
Status: CLOSED DUPLICATE of bug 74989
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-network
Version: 8.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-10-07 16:25 UTC by Satish Balay
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-10-07 16:25:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Satish Balay 2002-10-07 16:25:03 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020809

Description of problem:
redhat-config-network crashes if left running for a while (say 1/2 to 1 hour).

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Configure a network connection using redhat-config-network (i've tried both
wired and wireless via pcmcia)
2. Activate the network connection using  redhat-config-network and keep it
running. (i've done reboots between setting & activationg - just to be sure)
3.run the following command in a different window (xterm)
while true; do lsof |grep redhat-co | wc -l ; sleep 5; done
	

All of the above is done as 'root'

Actual Results:
      0
     26
     96
     99
     99
    105
    107
    111
    113
......
......
    573
    585
    589
......
......
   1097
   1103
   1109
   1117
   1117

Until the redhat-config-network crashes with the following error:

Traceback (most recent call last):
  File "/usr/sbin/redhat-config-network", line 774, in update_devicelist
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/Control.py", line
63, in __init__
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/Control.py", line
66, in load
OSError: Too many open files




Expected Results:  No crash.

Additional info:

The files it keeps opening are:


redhat-co  967  root  548u  sock        0,0            774784 can't identify
protocol
redhat-co  967  root  549u  sock        0,0            774785 can't identify
protocol
redhat-co  967  root  550u  sock        0,0            780554 can't identify
protocol
redhat-co  967  root  551u  sock        0,0            780555 can't identify
protocol
redhat-co  967  root  552u  sock        0,0            780559 can't identify
protocol

Comment 1 Harald Hoyer 2002-10-08 14:55:36 UTC

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


Note You need to log in before you can comment on or make changes to this bug.