Ruby on Rails/FCGI problem

Discussion in 'Install/Configuration' started by eweaver, Dec 4, 2005.

  1. eweaver

    eweaver New Member


    I have a Ruby on Rails installation at:
    Right now it does nothing, just complain about a missing controller.

    Whenever I restart the server responds quickly for a while. But if I hit reload a bunch of times, it hangs up and never responds again. Why might this be? I have the "no" for persistent connections box checked already.

    Static pages also get hung up then:

    I am running LiteSpeed/2.1.6 Standard on Solaris 10; Ruby 1.8.3; Rails 14.1 (I think). Everything is the very latest.

    Hoping not to have to move to lighttpd!




    Here are my "External App" settings:

    Virtual Host sandSTORM
    FastCGI App Definition Edit Delete Back
    Name rails-fcgi
    Address uds://tmp/lshttpd/rails-fcgi.sock
    Max Connections 1
    Environment N/A
    Initial Request Timeout (secs) 5
    Retry Timeout (secs) 5
    Persistent Connection No
    Connection Keepalive Timeout N/A
    Response Bufferring No
    Auto Start Yes
    Command /alruccabah/sandSTORM/code/rails/public/dispatch.fcgi
    Back Log 2
    Instances 1
    Max Idle Time -1
    Priority N/A
    Memory Soft Limit (bytes) N/A
    Memory Hard Limit (bytes) N/A
    Process Soft Limit N/A
    Process Hard Limit N/A
  2. mistwang

    mistwang LiteSpeed Staff

    Thank you for trying our product.

    I think the problem is the event dispatcher, are you using poll or devpoll? try switching to the other one, see if the problem disappear.

Share This Page