Hi folks,

I'm using Puppet with PuppetDB running on the same machine, but with the Postgresql database on an external server. Several times a day, PuppetDB seems to crash with errors like the one below. Nodes are then unable to check in, although Puppet will restart its own PuppetDB service on its 30-minute runs so the problem sort of fixes itself after a bit.

I don't really know much about the internals of PuppetDB, so can anyone shed any light on the possible cause of these crashes, and what I can do to mitigate them?

Thanks,
Jonathan

# puppetdb.log

2014-04-28 09:46:39,535 ERROR [clojure-agent-send-off-pool-15] [http.resources] Error streaming response
org.postgresql.util.PSQLException: This connection has been closed.
at org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:822) at org.postgresql.jdbc2.AbstractJdbc2Connection.setAutoCommit(AbstractJdbc2Connection.java:769) at com.jolbox.bonecp.ConnectionHandle.setAutoCommit(ConnectionHandle.java:1063) at clojure.java.jdbc.internal$transaction_STAR_.invoke(internal.clj:222) at com.puppetlabs.jdbc$with_transacted_connection_fn$fn__2278.invoke(jdbc.clj:228) at clojure.java.jdbc.internal$with_connection_STAR_.invoke(internal.clj:186) at com.puppetlabs.jdbc$with_transacted_connection_fn.invoke(jdbc.clj:225) at com.puppetlabs.puppetdb.http.resources$produce_body$fn__7017$fn__7020.invoke(resources.clj:36)
        at ring.util.io$piped_input_stream$fn__2512.invoke(io.clj:22)
        at clojure.core$binding_conveyor_fn$fn__4107.invoke(core.clj:1836)
        at clojure.lang.AFn.call(AFn.java:18)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/535E3667.7000700%40bristol.ac.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to