Skip to content

Very slow CVMFS client startup when rlimit_nofile is too high #57

@gman0

Description

@gman0

CVMFS client startup time is proportional to rlimit_nofile. When it forks to run exec(), it will first try to close all file descriptors, from 3 up until the maximum possible fd number. If rlimit_nofile is too high, this may take a very long time.

xref: cvmfs/cvmfs#3158
See details in https://cernvm-forum.cern.ch/t/cvmfs-config-setup-hangs/275

This issue will be kept open until there is a more permanent fix in the client itself. Until then, these are some of the possible workarounds:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions