Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Activity (RSS)

Sunday, January 27 2008
24 Absolute path to log and pid files don't play nice with chdir option in cluster. was updated
  • macournoyer
    • State changed from new to resolved
    by macournoyer at 8:38 PM

    fixed on git head

  • macournoyer
    macournoyer created the ticket at 4:02 PM

    When starting a cluster like this:

    thin start -e production -s 2 -S /var/run/thin.sock --pid /var/run/thin.pid -l /var/log/thin.log -c /u/apps/blog -D 
    

    The ...

22 each_line problem in response.rb was updated
  • macournoyer
    • Milestone set to 0.6.2
    • State changed from open to resolved
    by macournoyer at 5:17 PM

    That was a fix for Ruby 1.9, I added a condition to still use each under Ruby 1.9.

    Fixed on git.

    thx for reporting this Nathan

23 Specify stats uri was updated
  • macournoyer
    macournoyer commented at 12:33 AM

    url is now configurable and I also made the page look more pretty.

    I still want to add more info on the page.

Saturday, January 26 2008
18 Should stop server right after request when stopping was updated
  • macournoyer
    macournoyer commented at 11:41 PM

    it looks like it's letting the connections finish their work before returning and stopping the server, but doesn't seem like the data is sent back the the clie...

  • Kevin Williams
    • Assigned user set to macournoyer
    by Kevin Williams at 11:35 AM
  • Kevin Williams
    • State changed from new to open
    • Milestone set to 0.6.2
    by Kevin Williams at 11:29 AM
23 Specify stats uri was updated
  • Adam
    Adam commented at 11:36 PM

    We should also add the pid and/or port/socket that the thin process is running on.

  • macournoyer
    • Assigned user set to macournoyer
    • Milestone set to 0.6.2
    • State changed from new to open
    by macournoyer at 11:33 PM
  • Adam
    Adam created the ticket at 11:14 PM

    We should be able to specify a stats uri either by passing it to --stats in the command line via

    thin start --stats=/stats

    or by including it in the config f...

22 each_line problem in response.rb was updated
  • macournoyer
    • State changed from new to open
    by macournoyer at 10:02 PM

    Are you having this error running a Rails application?

  • Nathan
    Nathan created the ticket at 7:01 PM

    Using thin-0.6.1-x86-mswin32-60 gem:

    lib/thin/response.rb - lines 37-41

        def headers=(key_value_pairs)
          key_value_pairs.each do |k, vs|
            vs....
7 high memory use was updated
1 Uncaught ThreadError was updated
  • macournoyer
    • State changed from open to invalid
    by macournoyer at 5:16 PM

    I tried reproducing in any way I could, the error is always caught by Thin's rescue block.

    Plz reopen if you can reproduce

  • Kevin Williams
    • Milestone set to 0.6.2
    by Kevin Williams at 11:29 AM
21 add monit config example was updated
  • Kevin Williams
    Kevin Williams created the ticket at 11:39 AM

    some people use monit for ruby web app process management - give examples of usage

20 tweak rubyforge upload to put all gems in one release was updated
  • Kevin Williams
    • State changed from new to open
    by Kevin Williams at 11:38 AM

    I've made the tweak - hard to know if it worked until actually trying to push the next release

  • Kevin Williams
    Kevin Williams created the ticket at 11:37 AM
19 should not run on win32 when unix socket option used was updated
  • Kevin Williams
    • State changed from new to resolved
    by Kevin Williams at 11:37 AM
  • Kevin Williams
    Kevin Williams created the ticket at 11:36 AM

    Windows doesn't do UNIX sockets, so we should throw an error and exit.

17 Restart shouldn't require any options was updated
0.6.2 was updated by unknown at 11:34 AM 1 more event
  • 0.6.2 was created by unknown at 11:28 AM
 
0 of 10 tickets remain in this milestone
9 monitoring with God was updated
0.7.0 was created by unknown at 11:32 AM
 
0 of 10 tickets remain in this milestone
5 stats adapter was updated
  • Kevin Williams
    • State changed from open to resolved
    by Kevin Williams at 11:31 AM

    closing as it has been released. UI enhancements can be a different ticket

Friday, January 25 2008
15 keep-alive support was updated
  • macournoyer
    • Assigned user set to macournoyer
    • State changed from open to resolved
    by macournoyer at 12:14 AM

    EM supports a huge number of open connection so DoS is not a problem. Started implementation on keepalive branch will merge and put in next release.

Thursday, January 24 2008
18 Should stop server right after request when stopping was updated
  • macournoyer
    macournoyer created the ticket at 12:28 PM

    Doesn't seem to stop when processing multiple requests.

17 Restart shouldn't require any options was updated
  • macournoyer
    • State changed from new to open
    • Milestone cleared.
    by macournoyer at 12:15 PM

    We could send a HUP signal that would launch a new thin process w/ the same options.

  • Bryan Liles
    Bryan Liles created the ticket at 12:13 PM

    When restarting thin, it would be nice if it either remembered your startup options or just sent a HUP to the running processes.

1.0 was updated by unknown at 12:13 PM
 
0 of 7 tickets remain in this milestone
14 Builtin load balancing was updated
  • macournoyer
    • State changed from new to open
    • Milestone set to Future
    by macournoyer at 12:13 PM
Future was created by unknown at 12:13 PM
 
44 of 77 tickets remain in this milestone
Wednesday, January 23 2008
16 Connect to unix domain socket was updated
  • macournoyer
    • State changed from open to resolved
    by macournoyer at 11:54 PM
  • macournoyer
    • Assigned user set to macournoyer
    • State changed from new to open
    by macournoyer at 1:23 PM
  • macournoyer
    macournoyer created the ticket at 9:41 AM

    Nginx (and maybe other load balancer) support connecting to backend through unix domain socket. Which is the fastest interprocess communication method. EventMa...

15 keep-alive support was updated
14 Builtin load balancing was updated
  • macournoyer
    macournoyer created the ticket at 12:57 AM

    Proving some load balancing builtin the thin script or very easy to use.

    Check possibility to integrate w/ swiftiply or build custom.

    Has to be configurable ...

Tuesday, January 22 2008
1 Uncaught ThreadError was updated
  • macournoyer
    • State changed from invalid to open
    by macournoyer at 12:20 PM

    I'll try that thx

  • steve ross
    steve ross commented at 11:43 AM

    Here's the pertinent part of the stack trace:

    /usr/local/lib/ruby/gems/1.8/gems/thin-0.5.3/lib/rack/adapter/rails.rb:52:in `serve_rails'

    /usr/local/lib/ruby/...

5 stats adapter was updated
  • macournoyer
    macournoyer commented at 12:32 AM

    Just added something very basic:

    == Server stats
    
    3 requests
    3 requests finished
    0 errors
    25.140546 uptime
    Running on thin 0.5.5 codename Pony
    
    == Las...
Monday, January 21 2008
1 Uncaught ThreadError was updated
  • macournoyer
    • State changed from open to invalid
    by macournoyer at 11:51 PM

    I can reproduce the error, but in my case, it's caught by the rescue block and the server keeps running.

  • macournoyer
    macournoyer commented at 1:37 PM

    weird thing is the error is not caught by the rescue Object => e in Connection#process

    how come?

2 Add a --trace option was updated
  • macournoyer
    • State changed from open to resolved
    by macournoyer at 11:49 PM

    --trace now logs request/response and show full backtrace on each error.

3 Load options from a config file was updated
  • macournoyer
    • State changed from open to resolved
    by macournoyer at 11:31 PM

    Applied modified version of your patch.

    thx Matt

  • Matt Todd
    Matt Todd commented at 1:36 PM

    Glad to help!

  • macournoyer
    • Assigned user set to macournoyer
    by macournoyer at 1:34 PM

    Looking good Matt, I'll take deeper look when I get a sec and apply.

    thx a lot!