Here is the puppetdb.log: 2012-08-05 10:39:12,431 WARN [qtp2101818118-104743] [server.AbstractHttpConnection] /commands java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2894) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:117) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:589) at java.lang.StringBuffer.append(StringBuffer.java:337) at java.net.URLDecoder.decode(URLDecoder.java:199) at ring.util.codec$form_decode_str.doInvoke(codec.clj:97) at clojure.lang.RestFn.invoke(RestFn.java:423) at ring.util.codec$form_decode$fn__5979.invoke(codec.clj:110) at clojure.lang.ArrayChunk.reduce(ArrayChunk.java:60) at clojure.core.protocols$fn__5565.invoke(protocols.clj:30) at clojure.core.protocols$fn__5543$G__5538__5552.invoke(protocols.clj:11) at clojure.core$reduce.invoke(core.clj:5995) at ring.util.codec$form_decode.doInvoke(codec.clj:113) at clojure.lang.RestFn.invoke(RestFn.java:423) at ring.middleware.params$parse_params.invoke(params.clj:6) at ring.middleware.params$assoc_form_params.invoke(params.clj:29) at ring.middleware.params$wrap_params$fn__5994.invoke(params.clj:51) at com.puppetlabs.middleware$wrap_with_authorization$fn__7935.invoke(middleware.clj:20) at com.puppetlabs.middleware$wrap_with_certificate_cn$fn__7939.invoke(middleware.clj:35) at com.puppetlabs.middleware$wrap_with_metrics_STAR_$fn__7945$fn__7946.invoke(middleware.clj:60) at com.puppetlabs.middleware.proxy$java.lang.Object$Callable$f8c5758f.call(Unknown Source) at com.yammer.metrics.core.Timer.time(Timer.java:91) at com.puppetlabs.middleware$wrap_with_metrics_STAR_$fn__7945.invoke(middleware.clj:58) at com.puppetlabs.middleware$wrap_with_globals$fn__7942.invoke(middleware.clj:43) at ring.adapter.jetty$proxy_handler$fn__2028.invoke(jetty.clj:18) at ring.adapter.jetty.proxy$org.eclipse.jetty.server.handler.AbstractHandler$0.handle(Unknown Source) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) at org.eclipse.jetty.server.Server.handle(Server.java:349) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:894) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:948) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857)
Regarding the java version: ii openjdk-6-jre-headless 6b18-1.8.13-0+squeeze2 OpenJDK Java runtime, using Hotspot JIT (headless) ii openjdk-6-jre-lib 6b18-1.8.13-0+squeeze2 OpenJDK Java runtime (architecture independent libraries) Does it help? Regards, JM On Mon, Aug 6, 2012 at 6:40 PM, Chris Price <ch...@puppetlabs.com> wrote: > Hello A_SAAS, > > - Do you see any messages in the file "/var/log/puppetdb/puppetdb.log"? > - If not, can you try editing the file > "/etc/puppetdb/log4j.properties" and replace "INFO" with "DEBUG", and then > see if you get any messages in the aforementioned log file? > - What version of java are you using? We've encountered some > SSL-related problems between very early versions of the Oracle JDK 7 and > puppetdb. > > Thanks! > Chris > > > On Monday, August 6, 2012 1:51:07 AM UTC-7, A_SAAS wrote: >> >> Hi everyone, >> >> >> We are using collectd collecting system information, I am trying to setup >> the postgres plugin for puppetdb (http://collectd.org/wiki/** >> index.php/Plugin:PostgreSQL<http://collectd.org/wiki/index.php/Plugin:PostgreSQL>), >> what could be the relevant value to get? I am trying to see what is going >> on because lately sometime I get some "Sun Aug 05 10:39:12 +0200 2012 >> Puppet (err): Could not retrieve catalog from remote server: Error 400 on >> SERVER: Failed to submit 'replace catalog' command for XXXXXXXXXX to >> PuppetDB at puppetmaster.fqdn:8081: [500 Server Error] " >> >> >> I am using puppet: >> ii puppet 2.7.18-1puppetlabs1 >> Centralized configuration management - agent startup and compatibility >> scripts >> ii puppet-common 2.7.18-1puppetlabs1 Centralized >> configuration management >> ii puppet-dashboard 1.2.10-1puppetlabs2 Dashboard >> for Puppet >> ii puppetdb 0.9.2-1puppetlabs2 >> PuppetDB Centralized Storage. >> ii puppetdb-terminus 0.9.2-1puppetlabs2 Connect >> Puppet to PuppetDB by setting up a terminus for PuppetDB. >> ii puppetmaster 2.7.18-1puppetlabs1 >> Centralized configuration management - master startup and compatibility >> scripts >> ii puppetmaster-common 2.7.18-1puppetlabs1 Puppet master >> common scripts >> >> >> On debian squeeze for handling 120 server and the puppetmaster is a 1950 >> with 4go of memory and it doesn't seems to be under heavy load. >> >> Regards, >> JM >> > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/JHdLQ5zvobAJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.