Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cvmfs_search cache can grow without bound #34

Open
DrDaveD opened this issue Apr 24, 2024 · 2 comments
Open

cvmfs_search cache can grow without bound #34

DrDaveD opened this issue Apr 24, 2024 · 2 comments

Comments

@DrDaveD
Copy link
Contributor

DrDaveD commented Apr 24, 2024

I don't see anything in cvmfs_search that cleans up old cache items. I think the cached files should go somewhere that gets automatically cleaned up, $TMPDIR or /tmp if $TMPDIR is not set. That's what the other utlls do.

@Vbitz what do you think?

@DrDaveD
Copy link
Contributor Author

DrDaveD commented Apr 24, 2024

In order to be reusable it will need a directory name associated with the user of course, maybe ${TMPDIR:-/tmp}/cvmfs_search_$(id -u)/ in bash terms.

@Vbitz
Copy link
Contributor

Vbitz commented Apr 25, 2024

That sounds reasonable.

The index can take some time to populate for large CVMFS repositories and it may be worth looking at future optimisations in the library itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants