puppetdb service fails every few hours in puppet enterprise
On puppet enterprise master server - the jvm memory options arguments are reverted to using -Xmx256m -Xms256m
that causes the pe-puppetdb service to fail.
I change the /etc/sysconfig/pe-puppetdb to have the JAVA_ARGS="-Xmx1024m -Xms1024m..";
but these settings are automatically reverted to using -Xmx256m -Xms256m
that causes the pe-puppetdb service to fail. This causes the puppet agent nodes to not be able communicate with puppet server and retrieve their catalog from puppet master via the puppetdb.
Below is the error:
Warning: Error 500 on SERVER: Server Error: Failed to find facts from PuppetDB at c3pupmast01.defensetravel.osd.mil:8140: Failed to execute '/pdb/query/v4/nodes/progress.c3web02-devlm.defensetravel.osd.mil/facts' on at least 1 of the following 'server_urls': https://c3pupmast01.defensetravel.osd.mil:8081
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Failed to execute '/pdb/cmd/v1?checksum=d2933472bc9c82dca6d898ddabb279129620669c&version=5&certname=progress.c3web02-devlm.defensetravel.osd.mil&command=replace_facts&producer-timestamp=1522097431' on at least 1 of the following 'server_urls': ..
Any response or suggestions on this?