Foreman 1.5.1: some hosts show website under heavy load

I have fresh install of foreman 1.5.1 and have around 600 computes using
it. During puppet run some hosts errors out with following message.

Could not evaluate: 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> Could
not retrieve file metadata for puppet:///modules/XXX/XXX.py: 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>

This is intermittent though as next puppet run goes fine on the host which
errors out previously and some other host started showing this error.
We have two foreman/puppet-master hosts running.

can share how many puppet master are you using?

Currently i'm managing 1100+ nodes with single foreman. I didn't find any
issue with it. Actually load goes to puppetmaster.

First check passenger queue size in you webserver config file.

For nginx we need to set following value. and restart nginx.
passenger_max_request_queue_size 300;

Refer following user guide for more info:
for apache:
https://www.phusionpassenger.com/documentation/Users%20guide%20Apache.html

for nginx:
https://www.phusionpassenger.com/documentation/Users%20guide%20Nginx.html

Regards,
Suresh

ยทยทยท On Tuesday, 5 August 2014 07:50:31 UTC+5:30, DD wrote: > > I have fresh install of foreman 1.5.1 and have around 600 computes using > it. During puppet run some hosts errors out with following message. > > Could not evaluate: Error 503 on SERVER:

This website is under heavy > load

We're sorry, too many people are accessing this website at the > same time. We're working on this problem. Please try again later.

Could > not retrieve file metadata for puppet:///modules/XXX/XXX.py: Error 503 on > SERVER:

This website is under heavy load

We're sorry, too many > people are accessing this website at the same time. We're working on this > problem. Please try again later.

> > This is intermittent though as next puppet run goes fine on the host > which errors out previously and some other host started showing this error. > We have two foreman/puppet-master hosts running. >