Hi all,

My current conf splits 188 clients execution in one hour, and puppet
runs as a cron job. My server (2cpu 2 GB RAM) runs with mongrel (with 8
puppetmasterd) and this conf works fine.



We'd like puppet to run clients all at same time (force a change, i.e.),
so we're testing several things. (Previous conf do not support
massive execution).


First and most important, is moving our server to a better host: 4cpus
8GB RAM. We also run mongrel there, but now with 4 puppetmasterd, so
each one has its own cpu.

With first server, we could run up to 40 clients at one time, now,
135. So we're improving.

The error in the nodes where put did not run is:

err: Connection timeout calling puppetmaster.getconfig: execution expired
err: Could not retrieve catalog: Connection Timeout
warning: Not using cache on failed catalog


**What step of
http://reductivelabs.com/trac/puppet/wiki/PuppetInternals gives this error?
Compiling? It's not clear for me, I see no transfer action in that
schema. We have no network errors.


so, inorder to avoid this error, our first idea was an increment of
timeout var in both sides, cleint and server:

  # How long the client should wait for the configuration to be 
  retrieved
    # before considering it a failure.  This can help reduce flapping if too
    # many clients contact the server at one time.
    # The default value is '120'.


server:
# puppetmasterd --genconf|grep timeout
     configtimeout = 360

client:
# puppetd --genconf|grep timeout
     configtimeout = 360

but then we get more errors! only 1 client is able to run its conf.

Does it make sense for anyone?
What other tunning could we test in order to reduce connection timeouts?

server:
# rpm -qa|grep puppet
puppet-0.24.7-4.el5
puppet-server-0.24.7-4.el5
# rpm -qa|grep mongrel
rubygem-mongrel-1.0.1-6.el5


client:
# rpm -qa|grep puppet
puppet-0.24.7-4.el4.x86_64


TIA,
Arnau

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

Reply via email to