[root@kangaroo ~]$cd /var/lib/puppetdb/mq/localhost/KahaDB
[root@kangaroo KahaDB]$ls -al
total 9508
drwxr-xr-x 2 puppetdb puppetdb     4096 Feb 14 11:08 .
drwxr-xr-x 4 puppetdb puppetdb     4096 Jan 14 09:38 ..
-rw-r--r-- 1 puppetdb puppetdb 33030144 Feb 14 12:23 db-168.log
-rw-r--r-- 1 puppetdb puppetdb    32768 Feb 14 12:23 db.data
-rw-r--r-- 1 puppetdb puppetdb    28720 Feb 14 12:23 db.redo
-rw-r--r-- 1 puppetdb puppetdb        0 Jan 22 10:56 lock

[root@kangaroo KahaDB]$du -sk *
9464 db-168.log
32 db.data
32 db.redo
0 lock

[root@kangaroo KahaDB]$ps auxw | grep java
puppetdb 30154  0.3  7.7 1643468 304732 ?      Sl   Jan22 108:09
/usr/bin/java -XX:OnOutOfMemoryError=kill -9 %p -Xmx192m
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/var/log/puppetdb/puppetdb-oom.hprof -jar
/usr/share/puppetdb/puppetdb.jar services -c /etc/puppetdb/conf.d

[root@kangaroo KahaDB]$rpm -qi puppetdb
Name        : puppetdb                     Relocations: (not relocatable)
Version     : 1.0.5                             Vendor: (none)
Release     : 1.el6                         Build Date: Thu 20 Dec 2012
01:17:23 AM CET
Install Date: Mon 14 Jan 2013 09:37:27 AM CET      Build Host:
rpm-builder.puppetlabs.lan
Group       : System Environment/Daemons    Source RPM:
puppetdb-1.0.5-1.el6.src.rpm
Size        : 18326834                         License: ASL 2.0
Signature   : RSA/SHA1, Thu 20 Dec 2012 10:08:52 PM CET, Key ID
1054b7a24bd6ec30
URL         : http://github.com/puppetlabs/puppetdb
Summary     : Puppet Centralized Storage Daemon
Description :
Puppet Centralized Storage.


On Wed, Feb 13, 2013 at 7:34 PM, llowder <llowde...@gmail.com> wrote:

>
>
> On Wednesday, February 13, 2013 12:00:40 PM UTC-6, Ken Barber wrote:
>>
>> Hi all,
>>
>> I've been looking at a potential problem, as documented here:
>>
>> http://projects.puppetlabs.**com/issues/19241<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<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!
>>
>>
> /var/lib/puppetdb/mq/localhost/KahaDB$ du -sk *
> 7800    db-1366.log
> 32      db.data
> 32      db.redo
> 0       lock
>
> $ ps auxw | grep java
> puppetdb 10913  1.5  9.1 1639876 370180 ?      Sl   Jan16 622:58
> /usr/bin/java -XX:OnOutOfMemoryError=kill -9 %p -Xmx192m
> -XX:+HeapDumpOnOutOfMemoryError
> -XX:HeapDumpPath=/var/log/puppetdb/puppetdb-oom.hprof -jar
> /usr/share/puppetdb/puppetdb.jar services -c /etc/puppetdb/conf.d
>
>
> $ dpkg -l puppetdb
> ii  puppetdb                  1.0.1-1puppetlabs1        PuppetDB
> Centralized Storage.
>
>
>
>> 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.
>
>
>

-- 
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