Skip to content

memory leak with file handler #180

@cernenwein

Description

@cernenwein

In ngx_http_clojure_module.c: the method ngx_http_clojure_expand_jvm_classpath

In this function the directory handle referenced by variable dir is never closed.
Each time nginx config is reloaded another directory handle is allocated, thus
there are at most MASTER_PROCESS_FD_LIIMIT - MASTER_OTHER_FDS reloads until the master will fail.

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