Skip to content

Introduce a LRU file handle scheme into dafilesrv #3329

@jakesmith

Description

@jakesmith

Dafilesrv keeps all files requested open until they are closed by the client, or clients are timedout.
If servicing a very large number of clients and files, this can cause problems, hitting the hard max file handle limit (see gh-3328).

Introduce a LRU file io scheme, so that the # of concurrently opened files can be limited, closing old files, until they are needed again.
NB: This will reuse code that is currently in use in Thor to perform a similar purpose, when it opens lots of files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions