Skip to content

[BUG] DetectLibDl can cause very slow startup times #2516

@katiehockman

Description

@katiehockman

#2444 introduced a bug, and will be disabled until fixed.

We spent time in #2503 trying to debug and fix the issue, and after inspecting a trace generated by the failing test, we found that there were hundreds upon hundreds of syscalls walking the filesystem directories when telemetry was started up as part of DetectLibDl. A few milliseconds one time isn't a massive deal, but it added up quickly, to the point where tests were timing out after 70 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugunintended behavior that has to be fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions