Skip to content

Instantly share code, notes, and snippets.

@kbarber
Created April 10, 2014 16:57
Show Gist options
  • Save kbarber/10401939 to your computer and use it in GitHub Desktop.
Save kbarber/10401939 to your computer and use it in GitHub Desktop.
root@puppetdb1:/var/lib/puppetdb/mq# service puppetdb stop
root@puppetdb1:/var/lib/puppetdb/mq# touch localhost/KahaDB/lock
root@puppetdb1:/var/lib/puppetdb/mq# ps auxw | grep java
root 34340 0.0 0.0 7832 868 pts/0 S+ 17:55 0:00 grep java
root@puppetdb1:/var/lib/puppetdb/mq# service puppetdb start
root@puppetdb1:/var/lib/puppetdb/mq# ps auxw | grep java
puppetdb 34349 95.6 1.5 616112 94684 ? Sl 17:55 0:02 /usr/lib/jvm/java-7-openjdk-amd64/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 34360 0.0 0.0 7832 872 pts/0 S+ 17:55 0:00 grep java
root@puppetdb1:/var/lib/puppetdb/mq# tail /var/log/puppetdb/puppetdb.log
2014-04-10 17:55:08,345 INFO [main] [cli.services] Starting query server
2014-04-10 17:55:08,356 INFO [pool-3-thread-1] [cli.services] Starting database garbage collection
2014-04-10 17:55:08,401 INFO [pool-3-thread-1] [cli.services] Finished database garbage collection
2014-04-10 17:55:08,402 INFO [pool-3-thread-1] [cli.services] Starting sweep of stale reports (threshold: 14 days)
2014-04-10 17:55:08,407 INFO [clojure-agent-send-off-pool-2] [server.Server] jetty-7.x.y-SNAPSHOT
2014-04-10 17:55:08,441 INFO [pool-3-thread-1] [cli.services] Finished sweep of stale reports (threshold: 14 days)
2014-04-10 17:55:08,586 INFO [clojure-agent-send-off-pool-2] [server.AbstractConnector] Started SelectChannelConnector@:::8080
2014-04-10 17:55:08,896 INFO [clojure-agent-send-off-pool-2] [ssl.SslContextFactory] Enabled Protocols [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
2014-04-10 17:55:08,920 INFO [clojure-agent-send-off-pool-2] [server.AbstractConnector] Started [email protected]:8081
2014-04-10 17:55:39,727 INFO [Thread-4] [cli.services] Shutdown request received; puppetdb exiting.
root@puppetdb1:/var/lib/puppetdb/mq# tail /var/log/puppetdb/puppetdb.log
2014-04-10 17:55:08,401 INFO [pool-3-thread-1] [cli.services] Finished database garbage collection
2014-04-10 17:55:08,402 INFO [pool-3-thread-1] [cli.services] Starting sweep of stale reports (threshold: 14 days)
2014-04-10 17:55:08,407 INFO [clojure-agent-send-off-pool-2] [server.Server] jetty-7.x.y-SNAPSHOT
2014-04-10 17:55:08,441 INFO [pool-3-thread-1] [cli.services] Finished sweep of stale reports (threshold: 14 days)
2014-04-10 17:55:08,586 INFO [clojure-agent-send-off-pool-2] [server.AbstractConnector] Started SelectChannelConnector@:::8080
2014-04-10 17:55:08,896 INFO [clojure-agent-send-off-pool-2] [ssl.SslContextFactory] Enabled Protocols [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
2014-04-10 17:55:08,920 INFO [clojure-agent-send-off-pool-2] [server.AbstractConnector] Started [email protected]:8081
2014-04-10 17:55:39,727 INFO [Thread-4] [cli.services] Shutdown request received; puppetdb exiting.
2014-04-10 17:56:14,259 INFO [main] [cli.services] PuppetDB version 1.6.3
2014-04-10 17:56:14,678 INFO [main] [cli.services] Starting broker
root@puppetdb1:/var/lib/puppetdb/mq#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment