Skip to content

Fix file descriptor leak #30

Description

@cgay

cgay@lovelace:~/dylan-wiki$ ps -ef | grep org
cgay 14463 1 0 13:55 pts/3 00:00:04 opendylan-dot-org --config /home/cgay/dylan-wiki/config.xml
cgay 28104 31095 0 15:59 pts/1 00:00:00 grep org

cgay@lovelace:~/dylan-wiki$ lsof | grep cgay | grep pipe | grep opendylan | wc -l
298

The wiki has been up for just over two hours, with only my using it lightly, and has 300 pipes open. I have to assume this is related to running rst2html or some other call to run-application.

Write a test to verify that fds get closed properly for those calls.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions