PE seems to be generating infra_serials and invent...
# puppet-enterprise
r
PE seems to be generating infra_serials and inventory.txt tmpfiles in
/etc/puppetlabs/puppet/ssl/ca
on failed startups eg, infra_serials17726936828251417880tmp and inventory.txt3749405387556217369tmp Almost all of them are 0 size, but a few are not. Are the 0-size ones safe to clean up? Are the non-0 sized ones safe to clean up? šŸ™‚
s
what PE version?
r
2023.8.5
interesting. The Internets claim the
inventory.txt
file is non-load bearing and could be wiped entirely. Not quite ready to do that yet though šŸ™‚ It's been fun finding that we have 4.8 million entries and our file is 563MB.
s
That is probably generating some memory pressure šŸ˜…
this 1
šŸ˜… 1
s
Those orphaned
*tmp
files are probably a symptom of the large inventory.txt file. While removing
inventory.txt
is recoverable, you may want to retain a copy for an audit trail. Recommendation: • Stop puppetserver • Archive the current inventory off-box as your historical record. • Replace inventory.txt with an empty file owned pe-puppet:pe-puppet, mode 0644. • Delete the orphan *tmp files (the inventory.txt*tmp / infra_serials*tmp matchers from before). • Start puppetserver
āœ… 1
šŸ‘€ 1
r
pruned in our dev environment and reduced startup from 81sec to 33sec will do the same for staging during a quiet time tonight, it was taking 536sec to startup (18gb JVM, 9 jrubies)
šŸ‘ 1
staging startup went from 536 sec -> 19sec šŸ˜† nice.
catjam 1
sonic 1