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

100k files in directory /var/lib/acme/keys #310

Open
rokka opened this issue Jul 31, 2018 · 4 comments
Open

100k files in directory /var/lib/acme/keys #310

rokka opened this issue Jul 31, 2018 · 4 comments

Comments

@rokka
Copy link

rokka commented Jul 31, 2018

Hi,

we have generated about 150 certs on one server.

But there are about 100k files in the directory /var/lib/acme/keys which make generating new certs awefully slow.

What are we doing wrong?

greetings
Andre

@hbokh
Copy link

hbokh commented Aug 18, 2018

After running acmetool cull (deleting old certificates), you could run some "garbage collection" on keys that are older than 3 months:

find /var/lib/acme/keys -type d -mtime +90 -exec rm -rf {} +

(updated Nov. 17 2018)

@grawity
Copy link

grawity commented Sep 17, 2018

I think this is supposed to be handled by acmetool cull, but for some reason isn't (HPKP?).

@Mrten
Copy link

Mrten commented Jan 7, 2019

probably same as this answer?

@grawity
Copy link

grawity commented Jan 7, 2019

probably same as this answer?

That thread is about keys linked from 'live'. This thread is about the opposite.

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

4 participants