Hi All I've just bootstrapped my new, shining puppet setup (replacing an 2,5 year old, messy one), with (almost) all the bells and whistles: A Passenger-based setup with storeconfigs enabled.
For a start I've only got three node definitions; two specific ones and node default. The default one doesn't do anything yet, and only one of the specific nodes has actual classes enabled. Now, when I startup mysql and puppetmasterd, the first one or two runs of puppetd on the client is fine. Puppetmasterd stores the configs, but suddenly (and this is with only one host contacting the puppetmaster) the log says: Could not store configs: Mysql::Error: MySQL server has gone away: SELECT * FROM `hosts` WHERE (`hosts`.`name` = 'web01.mydomain.com') LIMIT 1 At first I thought it was MySQL drowning, but I've found that a restart of puppetmasterd (with /etc/init.d/apache2 restart, as it run through Passenger) fixes the problem - but only temporarily. Next time a host contacts the puppetmaster, I get the error stated above. :- ( And it fails until I restart puppetmaster again. I have the following optimizations in my passenger configuration (cut from Nigel Kerstens mails about his Passengerbased setup): PassengerLogLevel 1 PassengerMaxRequests 3000 PassengerMaxPoolSize 15 PassengerStatThrottleRate 600 I've also tried to optimize the MySQL configuration, but as a restart of Apache/Passenger solves the problem (for one clientrun), I don't think that the problem lies with MySQL. Do any of you have a clue of what can be wrong here? -- Med venlig hilsen/Best regards Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: +45 70 202 407 www.fab-it.dk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
