Catalog applies after restarting puppetserver service only
Hello! I recently configured a new puppet 4.5.2 environment in my company.
I connected an hiera using couchdb to manage my hierarchy.
Now, when im running 'puppet agent -t' in any node (even in the master) the catalog doesn't apply and getting changes from the DB if there are any.
When im using 'systemctl restart puppetserver' the changes applies .
What could be the problem? I have seen the PUP-4461 issue and made sure that it isn't my problem.
In addition, i have another critical problem :
my 'puppetserver' service is taking 100% cpu when im starting it, and takes about 40 seconds to restart.
I have 2 CPU and 6GB RAM. Thanks !!