hi, all
I have a master for about 3000 clients, runinternal is 20 min.
A problem is that puppetdb's mq is too long so that data in postgre is
the OLD version. any suggests to improve performance ?
LOG like this:
[root@ppmaster /home/puppetdb]# du /home/puppetdb/ -sh
381M /home/puppetdb (and grow biger and biger)
[root@ppmaster /home/puppetdb]# tac /home/puppet/log/puppetmaster.log |
fgrep entry111.***.com | head
Sat Dec 15 01:46:20 +0800 2012 //entry111.***.com/Puppet (notice):
Finished catalog run in 31.02 seconds
Sat Dec 15 01:45:45 +0800 2012 Puppet (notice): Compiled catalog for
entry111.***.com in environment production in 1.29 seconds
[root@ppmaster /home/puppetdb]# tac
/var/log/puppetdb/puppetdb-daemon.log | fgrep entry111.***.com | head
2012-12-15 01:34:52,717 INFO [puppetdb.command]
[0a306a6b-2188-432d-b5d9-eb7253e89a8f] [replace catalog] entry111.***.com
puppetdb=> select * from certname_catalogs where certname =
'entry111.163.com';
certname | catalog |
timestamp
------------------+------------------------------------------+----------------------------
entry111.***.com | c75054f00c76b80ff33b4ceb8f195e74dabd630f |
2012-12-15 01:05:36.153+08
--
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.