On Tuesday, April 23, 2013 9:38:34 AM UTC-4, jcbollinger wrote:
>
>
>
> On Monday, April 22, 2013 3:03:13 PM UTC-5, Matthew Burgess wrote:
>>
>> On Mon, Apr 22, 2013 at 4:56 PM, Jeff B <jeffb...@gmail.com> wrote:
>>
>>> I've been hitting this issue for a long time. well over a year and I 
>>> guess it's time to start pushing it to try to find the root cause.  I've 
>>> seen this reported several times in the past but I've never seen a 
>>> resolution found for this exact problems.  There are other root causes for 
>>> pson errors that have been resolved, but not for the ones describing my 
>>> problem.
>>>
>>> What we're finding is that often times the catalog is getting chopped 
>>> off at some seemingly random point in the file.  If you run puppet agent 
>>> multiple times in a row each time it will cut off at always different parts.
>>>
>>
>> Hi Jeff,
>>
>> At the risk of this looking like a "when all you have is a hammer, 
>> everything looks like a nail" type response, whenever I've seen random 
>> failures like this, it's because the puppetmaster can't cope with the load 
>> being driven to it.  Are you running your puppetmaster behind a web server 
>> such as Apache/Passenger or nginx/Passenger?  If not, and dependent on the 
>> number of clients and their runinterval, you may be hitting a bottleneck 
>> caused by Puppet's internal webserver's (Webrick's) single-threaded nature.
>>
>>
> A fundamental characteristic of being single-threaded is that Puppet / 
> webrick always finishes processing any current request before it starts 
> work on the next. Therefore, if Puppet's responses are truncated when it 
> has additional requests queued then that is not merely a loading issue -- 
> it is a genuine and fairly serious bug.  It probably indicates that Puppet 
> does not properly flush / close the response stream when it reaches the end 
> of the response (or the like), though I cannot guess whether that would be 
> a flaw in Puppet's own code or one in webrick.  If in Puppet itself, then 
> it may manifest in other ways and in other contexts, too, so I urge you to 
> file a ticket.
>
>
> John
>
>
Thanks John,

Ticket has been created:  https://projects.puppetlabs.com/issues/20350  

I'll be happy to help debug this problem as needed.
 

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to