Hi,

I'm not very familiar with the puppet/foreman stack, so this might be a
silly question, but how is the master set up? Is it running through
Apache/Passenger?

In that case, can we see the Apache vhost configuration?

Thanks,
Felix

On 07/15/2015 05:12 AM, Tim Dunphy wrote:
> Hey all,
>
>  I'm running puppet version 3.7.5 with foreman 1.7.4. Everything was
> going well with this setup for quite a long time. Many months at least
> it ran without even so much as a hiccup!
>
> Until recently when I started adding more nodes I've found this issue
> I'm having occurring every couple of days. Then as I added even more
> nodes it started happening every couple of hours!!
>
> The way I've always resolved it was to just reboot the puppet host.
> Which wasn't so bad at first. Not that I like frequent reboots as any
> kind of solution to a problem. But when I was having to do it once or
> twice in a weeks time it wasn't so bothersome.
>
> But now that it's occurring so often it's time to find a more
> permanent solution.
>
> Without further delay, here's the error I'm getting:
>
> #puppet agent --test
>
> Warning: Unable to fetch my node definition, but the agent run will
> continue:
>
> Warning: Net::ReadTimeout
>
> Info: Retrieving pluginfacts
>
> Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional
> resources using 'eval_generate': Net::ReadTimeout
>
> Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not
> retrieve file metadata for puppet://puppet.example.com/pluginfacts
> <http://puppet.example.com/pluginfacts>: Net::ReadTimeout
>
> Info: Retrieving plugin
>
> Error: /File[/var/lib/puppet/lib]: Failed to generate additional
> resources using 'eval_generate': Error 503 on SERVER: <h1>This website
> is under heavy load</h1><p>We're sorry, too many people are accessing
> this website at the same time. We're working on this problem. Please
> try again later.</p>
>
> Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not
> retrieve file metadata for puppet://puppet.example.com/plugins
> <http://puppet.example.com/plugins>: Error 503 on SERVER: <h1>This
> website is under heavy load</h1><p>We're sorry, too many people are
> accessing this website at the same time. We're working on this
> problem. Please try again later.</p>
>
> Info: Loading facts
>
> Error: Could not retrieve catalog from remote server: Error 503 on
> SERVER: <h1>This website is under heavy load</h1><p>We're sorry, too
> many people are accessing this website at the same time. We're working
> on this problem. Please try again later.</p>
>
> Warning: Not using cache on failed catalog
>
> Error: Could not retrieve catalog; skipping run
>
> Error: Could not send report: Error 503 on SERVER: <h1>This website is
> under heavy load</h1><p>We're sorry, too many people are accessing
> this website at the same time. We're working on this problem. Please
> try again later.</p>
>
> I'm running this host on a CentOS 7 host with 4GB of ram with a single
> core 2.4 GhZ processor. Right now I'm managing a collection of 25
> hosts with this puppet server. And as I mentioned I never really had
> this problem when I was managing less servers with this.
>
> So what I'm wondering is if adding more ram to the server would be the
> only way of solving this problem? Other than reducing the number of
> hosts that I'm managing with it.
>
> Thanks!
>
> Tim
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/55A96286.1070007%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to