openstack module leaks TCP connections to the OSAPI
---------------------------------------------------

                 Key: DTACLOUD-129
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-129
             Project: DeltaCloud
          Issue Type: Bug
          Components: Server
         Environment: Fedora 16, deltacloud-core-openstack-0.4.1-8, 
rubygem-cloudservers-0.4.1-2.fc16, rubygem-thin-1.2.11-10
            Reporter: Steven Dake
            Assignee: David Lutterkort


Run deltacloudd as follows:

deltacloudd -i opentack -P http://localhost:8774
[root@beast sdake]# lsof -p 11258 | grep TCP
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/sdake/.gvfs
      Output information may be incomplete.
deltaclou 11258 root    6u  IPv4 263041      0t0     TCP localhost:3001 (LISTEN)

Connect to deltacloud via the web interface.
Close web browser.

[root@beast sdake]# lsof -p 11258 | grep TCP
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/sdake/.gvfs
      Output information may be incomplete.
deltaclou 11258 root    6u  IPv4 263041      0t0     TCP localhost:3001 (LISTEN)
deltaclou 11258 root   11u  IPv4 263831      0t0     TCP 
localhost:44072->localhost:8774 (ESTABLISHED)

David mentioned that deltacloud does not explicitly close connections and 
relies on the GC functionality of ruby to close down the connections.  He 
suggested perhaps this GC was not operating properly in the case of the 
openstack plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to