On Jul 21, 2008, at 7:08 PM, Jos Backus wrote:

> I'm using Puppet with Mongrel and the Apache proxy_balancer_module.  
> The
> puppetmasterd process listens on port 28140.
>
> It seems that when using Mongrel, the external node script is run  
> with the
> puppetmasterd listen socket being passed in as Mongrel doesn't set
> close-on-exec on the listen socket, unlike the Webrick wrapper in  
> Puppet. This
> occasionally creates problems as it appears that Apache will  
> sometimes connect
> to the socket in the external node script instead of the  
> puppetmasterd. I
> accidentally found this because my external node script got stuck  
> and I saw
> Apache connect to it.
>
> Observe the following lsof output of the external node script, taken  
> at the
> end of its run:


Hmm, seems like a clear bug, but it's a bug with Mongrel, right?

We obviously can use the patch in the meantime, but have you filed it  
against Mongrel?

-- 
Whenever I hear anyone arguing for slavery, I feel a strong impulse to
see it tried on him personally. -- Abraham Lincoln
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to