[Swiftiply-users] Crashing of server on HEAD request (I think...)

jesse newland jnewland at gmail.com
Tue Nov 13 12:54:58 EST 2007


eventmachine is installed:

gem list eventmachine

*** LOCAL GEMS ***

eventmachine (0.9.0, 0.7.0)
   Ruby/EventMachine library

>From http://swiftiply.swiftcore.org/documentation.html:

The timeout is the number of seconds that Swiftiply will hold on to a
browser's connection, waiting for a backend to take the connection and
service it, before giving up and returning a 503 Server Unavailable
error to the browser. The default is three seconds. If your web
framework actions are slow, you may want to increase that number, but
try to keep it as low as you can.

I cranked this up to 30 for some long running actions in my app.
Adjusting it to 3 and restarting Swiftiply has no effect on this error
- the 503 is still returned after between 5-8 seconds.

Regards-

Jesse Newland
---
http://soylentfoo.jnewland.com/
jnewland at gmail.com

On 11/13/07, Ammon Christiansen <ammon.christiansen at gmail.com> wrote:
> Some of the errors in your second pastie are because it is testing
> swiftiply in evented mode and isn't finding the eventmachine gem.  Do
> you have the eventmachine gem installed?
>
> The bottom errors seem to replicate the server not available errors
> that you showed in the curl tests.  I wonder if you limited your
> timeout to 2 or 3 instead of 30 in your swiftiply config if that would
> change anything.  What exactly does that timeout parameter refer to?
>
> On Nov 13, 2007 7:38 AM, jesse newland <jnewland at gmail.com> wrote:
> > I've been able to replicate this issue:
> >
> > http://rubyforge.org/pipermail/swiftiply-users/2007-September/000063.html
> >
> > Here are the steps needed to replicate this issue with curl:
> >
> > http://pastie.caboo.se/private/xcywiv6c8tbt561qmstdvq
> >
> > I'd love to take a stab at writing a failing test for this bug, but
> > I'm not able to get all of the tests to pass as is. Here are the
> > failures:
> >
> > http://pastie.caboo.se/private/ur2gutfwvvdqhicljafw
> >
> > Regards-
> >
> > Jesse Newland
> > ---
> > http://soylentfoo.jnewland.com/
> > jnewland at gmail.com
> > _______________________________________________
> > Swiftiply-users mailing list
> > Swiftiply-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/swiftiply-users
> >
> _______________________________________________
> Swiftiply-users mailing list
> Swiftiply-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/swiftiply-users
>


More information about the Swiftiply-users mailing list