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)

Thursday, April 10 2008
61 thin start stop abnormaly was updated
  • macournoyer
    macournoyer commented at 4:24 PM

    Doing

    sudo gem install eventmachine --source http://code.macournoyer.com
    

    should install EventMachine 0.11.0

    check you have 0.11.0:

    gem list -l eventmachin...
  • Sylvain
    Sylvain commented at 3:51 PM

    I installed eventmachine 0.10 but still the same issue.

    Is it because I'm chrooted?

    what is supposed to give epoll? glib?

Wednesday, April 09 2008
61 thin start stop abnormaly was updated
  • macournoyer
    • Milestone set to 0.8.1
    • State changed from new to open
    by macournoyer at 4:52 PM

    that is weird, looks like epoll is not available or something.

    Can you try to install latest version of eventmachine?

    sudo gem install eventmachine --source ...

  • Sylvain
    Sylvain created the ticket at 4:42 PM

    I'm trying to use Thin as my rails webserver on a Synology NAS.

    the server is put on a chrooted debian.

    When the server is started, I have the following erro...

Tuesday, April 08 2008
60 Allow setting which URL require a thread was updated
0.8.1 was updated by unknown at 8:43 PM 1 more event
  • 0.8.1 was created by unknown at 8:43 PM
 
0 of 4 tickets remain in this milestone
Monday, April 07 2008
60 Allow setting which URL require a thread was updated
  • macournoyer
    • State changed from new to open
    by macournoyer at 5:23 PM

    we talked about something like this on IRC:

    app.deferred?
    

    If app respond to deferred? and deferred(env) returns true the request will spawn a thread an call...

  • macournoyer
    macournoyer created the ticket at 4:33 PM

    Allow setting which URL require a thread. Those requests would be processed inside a thread, but not the other requests.

    Would be cool to have a common API w/...

Ruby 1.9 was updated by unknown at 1:49 PM
 
1 of 2 tickets remain in this milestone
51 0.7.0 (and master) spec failures was updated
  • macournoyer
    • Milestone changed from 0.8.0 to 1.0
    by macournoyer at 1:48 PM
59 Limit number of threads was updated
  • macournoyer
    • Milestone changed from 0.8.0 to Future
    • State changed from new to open
    by macournoyer at 1:48 PM
Sunday, April 06 2008
New win gem name default was committed by macournoyer at 1:12 AM
Add a note to threaded mode saying it... was committed by macournoyer at 12:55 AM
Fix server crash when header too large. was committed by macournoyer at 12:21 AM
Thursday, April 03 2008
55 configurable way to add custom Backends was updated
59 Limit number of threads was updated
  • macournoyer
    macournoyer created the ticket at 9:51 AM

    In threaded mode add an option --max-threads to limit the number of active threads. When that number is reached serve sequentially

Wednesday, April 02 2008
47 Auto-select correct Rack adapter was updated
  • macournoyer
    • State changed from open to resolved
    by macournoyer at 10:00 PM

    now auto detects for rails, ramaze, merb and halycon

    can also specified w/ --adapter option

58 Thin forcing page caching: should be configurable was updated
  • macournoyer
    • State changed from open to resolved
    by macournoyer at 8:50 PM
  • macournoyer
    • Milestone set to 0.8.0
    • State changed from new to open
    by macournoyer at 3:31 PM

    Mongrel does have page caching activated all the time, but it's only for GET and HEAD request, which is the issue in this case.

    I'll fix the Rails adapter in ...

  • science
    science created the ticket at 3:24 PM

    Thin is hard coded to require page caching. Mongrel doesn't do this, so thin is incompatible with some configurations of existing mongrel installations.

    I'd l...

57 Make Thin::Connection more "comet friendly" was updated
  • macournoyer
    • Milestone set to 0.8.0
    • State changed from new to resolved
    by macournoyer at 3:10 PM
Saturday, March 29 2008
57 Make Thin::Connection more "comet friendly" was updated
  • Brian Takita
    Brian Takita commented at 8:26 PM

    Never mind. It looks like its already done.

  • Brian Takita
    Brian Takita created the ticket at 7:51 PM

    I have a couple of apps that use comet or long polling.

    To do this, I needed to subclass Connection. Unfortunately, Connection#process has a long implementati...

Friday, March 28 2008
46 Optimize for long request was updated
Sunday, March 23 2008
56 keep-alive problems was updated
  • macournoyer
    • State changed from open to invalid
    by macournoyer at 9:50 PM
  • macournoyer
    • Milestone set to 0.8.0
    • State changed from new to open
    by macournoyer at 8:55 PM

    Hey Ry,

    Keep alive is the default behaviour in HTTP 1.1 unless Connection: close is specified. Your application must set Content-Length 'cause some browsers w...

  • ry
    ry created the ticket at 8:20 PM

    hi marc,

    I can't get keep-alive to work in either 0.7 or HEAD. I'm doing something simple like this:

    app = SimpleApp.new

    server = Thin::Server.new('0.0.0.0'...

55 configurable way to add custom Backends was updated
Friday, March 21 2008
32 Name of thin process was updated
55 configurable way to add custom Backends was updated
  • macournoyer
    • Milestone set to 0.8.0
    • State changed from new to open
    by macournoyer at 7:49 PM

    what about a --backend NAME option

    that would call: Thin::Backends::.new(host, port)

    let me know what you think

  • Brian Takita
    Brian Takita created the ticket at 7:30 PM

    We would like to author a custom backend for Thin and be able to register a configuration option indicating that it should be used.

Friday, March 14 2008
54 Uncaught Exception when running thin config without -C option was updated
  • macournoyer
    • Milestone set to 0.8.0
    • State changed from open to resolved
    by macournoyer at 12:03 AM

    Since http://github.com/macournoyer/th... error is just outputted to console without backtrace of uncaught exception.

    Reopen if you still see an issue

47 Auto-select correct Rack adapter was updated
Wednesday, March 12 2008
47 Auto-select correct Rack adapter was updated
  • Matt Todd
    Matt Todd commented at 1:26 PM

    I'll definitely contribute to this when the details get ironed out a bit, not only for my own framework but for others as well.

Monday, March 10 2008
54 Uncaught Exception when running thin config without -C option was updated
  • macournoyer
    • State changed from new to open
    by macournoyer at 8:23 PM

    Hey Aníba,

    What behaviour did you expect when running config without -C ?

Sunday, March 09 2008
54 Uncaught Exception when running thin config without -C option was updated
  • Aníbal
    Aníbal created the ticket at 10:47 AM

    li19-22:/etc/thin# thin -v

    thin 0.7.1 codename Fancy Pants

    li19-22:/etc/thin# thin config -S /home/mongrel/tmp/thin.sock -e production -c =/var/www/to2blogs/...

Thursday, March 06 2008
51 0.7.0 (and master) spec failures was updated
  • macournoyer
    • Milestone changed from 0.7.1 to 0.8.0
    by macournoyer at 2:11 PM

    I got specs consistently passing on both Mac OS and Ubuntu. I'll try to setup other VMs and check on those

Wednesday, March 05 2008
47 Auto-select correct Rack adapter was updated
  • Kevin Williams
    • State changed from new to open
    by Kevin Williams at 2:51 PM

    Another option to consider: framework-specific binaries.

    thin_rails

    thin_merb

    thin_ramaze

    etc.

    I'm not saying it's a better idea, just another idea.

Monday, March 03 2008
53 Clean stale PID files when starting was updated
  • Cheah Chu Yeow
    Cheah Chu Yeow commented at 9:15 PM

    Awesome, the spec passes for me too. Thanks!

  • macournoyer
    • Milestone set to 0.7.1
    • State changed from new to resolved
    by macournoyer at 7:51 PM

    I pull you commit in http://github.com/macournoyer/th...

    And added a spec example, let me know what you think

  • Cheah Chu Yeow
    Cheah Chu Yeow commented at 1:38 PM

    I forgot to add, yes I did try to add a spec for this, but my brain isn't working right with all the forking and I couldn't get the spec to work properly (I'm ...

  • Cheah Chu Yeow
    Cheah Chu Yeow created the ticket at 1:36 PM

    As discussed in http://groups.google.com/group/t..., Thin should check for stale PID files and delete them instead of simply failing.

    I've sent a Github pull ...

52 PATCH: Minor spelling error in Logging module was updated
  • macournoyer
    • State changed from open to resolved
    by macournoyer at 10:50 AM

    oops forgot to close

51 0.7.0 (and master) spec failures was updated
  • macournoyer
    macournoyer commented at 10:50 AM

    The last Daemonizing failyre is due to the previous crash I presume, cause the pid file is still there.

    When you say Ruby crash, you mean the: std::runtime_er...

Sunday, March 02 2008
51 0.7.0 (and master) spec failures was updated
  • macournoyer
    macournoyer commented at 8:49 PM

    I'm guessing it's because we start/stop EM multiple times in the specs. When I run each spec files individually I never get those.

  • Kevin Williams
    Kevin Williams commented at 8:28 PM

    The EM trunk has the "std::runtime_error" errors fixed, or so they say. That's why I'm running EM trunk.

  • Kevin Williams
    Kevin Williams commented at 8:50 PM

    I just sync'd and re-ran 'rake spec'. I get one error on the "Thin::Server on TCP socket should GET from Net::HTTP" spec saying "Connection reset by peer". I'm...

  • macournoyer
    macournoyer commented at 8:16 PM

    The thin w/ those crashed is that it's impossible to rescue those errors. I submitted a ticket to EM: http://rubyeventmachine.com/tick...

  • macournoyer
    macournoyer commented at 8:28 PM

    that's crazy, I get no failures and no zombies on my Mac OS 10.5. But I do get those "std::runtime_error" sometimes which are due to EventMachine crashing, I'v...