Hi all,

I've been looking at a potential problem, as documented here:

http://projects.puppetlabs.com/issues/19241

To do with a leak within the KahaDB persistence layer of ActiveMQ.
Specifically, there are reports of the db.data file growing unbounded:

https://issues.apache.org/jira/browse/AMQ-3956

I'm hoping to find out information from other PuppetDB users to see if
this is happening in the wild. What I'm hoping is that users can
provide me with information around the size of the files in
/var/lib/puppetdb/localhost/KahaDB. For example, here is the size on
my test machine:

root@puppetdb1:/var/lib/puppetdb/mq/localhost/KahaDB# pwd
/var/lib/puppetdb/mq/localhost/KahaDB
root@puppetdb1:/var/lib/puppetdb/mq/localhost/KahaDB# du -sk *
5552 db-1.log
32 db.data
32 db.redo
0 lock
root@puppetdb1:/var/lib/puppetdb/mq/localhost/KahaDB#

And an indication of how long its been running:

$ ps auxw | grep java
puppetdb 52606  0.3  3.6 1536236 216136 ?      Sl   13:34   0:55
/usr/bin/java -XX:OnOutOfMemoryError=kill -9 %p -Xmx1g
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/var/log/puppetdb/puppetdb-oom.hprof -jar
/usr/share/puppetdb/puppetdb.jar services -c /etc/puppetdb/conf.d

And the version of PuppetDB:

# dpkg -l puppetdb
...
ii  puppetdb                1.1.1-1puppetlab all              PuppetDB
Centralized Storage.

(rpm -qi puppetdb on Redhat based machines).

I've so far had 1 suspected case of this (the directory was reported
at 17 GB), but no data to back it up - if you use PuppetDB and have
the time and inclination, I'd appreciate some outputs from your
PuppetDB hosts like the ones shown above (scrubbing private
information of course) - even if it looks fine - as it will help us
decide on the priority of this bug.

Thanks in advance!

ken.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to