[DOCUMENT-18] PuppetDB docs should talk about /var/lib/puppetdb/mq logs Created: 2014/01/18  Updated: 2014/09/08  Resolved: 2014/09/08

Status: Closed
Project: Documentation
Component/s: PuppetDB
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: William Van Hevelingen Assignee: Justin Holguin
Resolution: Fixed Votes: 0
Labels: puppetdb
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Story Points: 2
Sprint: Conniving Crocodile 9.8.14

 Description   

The following directories can hold rather large binary log files that can fill up /var if there was an error. The docs should explain what they are for and that they are safe to delete.

/var/lib/puppetdb/mq/discarded
/var/lib/puppetdb/mq/localhost

I would expect to find it on the admin maintain and tune page.

https://docs.puppetlabs.com/puppetdb/1.6/maintain_and_tune.html

Relevant IRC chatter from #puppet.
12:51 < blkperl> grim_radical: discarded and localhost
12:51 < grim_radical> blkperl: if there's a bunch of stuff in discarded, then those are processing failures
12:52 < grim_radical> you can look in that directory and crack open the files; they should have a bit-for-bit copy of the input data, along with
every retry timestamp, and the full trace of each error encountered
12:52 < blkperl> grim_radical: so safe to delete?
12:53 < blkperl> looks like they are about an ssh-key input failure from a few days ago
12:53 < grim_radical> blkperl: yeah, you can nuke the stuff underneath discarded and it should be fine



 Comments   
Comment by Nicholas Fagerlund [ 2014/04/23 ]

Accepted. Anyone on the docs or PuppetDB teams, feel free to grab this.

Generated at Sun Aug 25 04:49:31 PDT 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.