Rails Spawn plugin under nginx

Corey Donohoe atmos at atmos.org
Sun Mar 30 23:43:33 MSD 2008


Hey,

Every client we have using spawn at engine yard has problems.  The  
short answer is just don't do it.  You need to use real queueing a la  
bj, backgroundrb, starling, etc.  I'm pretty sure that the upstream  
gets confused with all the fd closing/reopening/reconnecting.

__
Corey Donohoe
cdonohoe at engineyard.com
(866) 518-9273 x207

On Mar 30, 2008, at 1:25 PM, Tr Schneit <lists at ruby-forum.com> wrote:

> Howdy folks -
> I am having trouble with the 'Spawn' plugin, which is used to launch
> long-running processes in the background.
>
> When I hit a single mongrel process, it works great. However, when I  
> hit
> it through nginx, a the long-running task stays within the same  
> process.
> I have no clue why this is happening, but it is dragging down my
> performance.
>
> Does anyone have any input?
>
> Thanks!
> -- 
> Posted via http://www.ruby-forum.com/.
>





More information about the nginx mailing list