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)

Tuesday, February 05 2008
32 Name of thin process was updated
  • macournoyer
    macournoyer commented at 10:48 AM

    yeah same for both w/ the -d option

    Are you sure you see mongrel_rails as the process name w/ the top command?

    What OS are you on?

  • DAddYE
    DAddYE commented at 11:03 AM

    is the same also for the deamon?

  • macournoyer
    • State changed from open to resolved
    by macournoyer at 12:39 AM

    Seems like name of process in top is ruby for mongrel and thin:

    mongrel_rails start
    

    On top:

      PID COMMAND      %CPU   TIME   #TH #PRTS #MREGS RPRVT  RSHRD ...
Monday, February 04 2008
32 Name of thin process was updated
  • macournoyer
    • State changed from resolved to open
    by macournoyer at 5:46 PM

    name still appear as ruby on top command

Sunday, February 03 2008
31 thin_cluster runlevel script was updated
  • macournoyer
    • State changed from open to resolved
    by macournoyer at 9:31 PM
  • DAddYE
    DAddYE commented at 4:16 PM

    Is perfect also for me!

    Super Thanks!

  • macournoyer
    macournoyer commented at 3:51 PM

    After some more thoughts on this and following your advices, here's what I propose:

    thin install /etc/thin
    

    This will install the runlevel script under /etc/...

  • DAddYE
    DAddYE commented at 8:55 AM

    3 command like

    thin install service [optional -p /path/of/the/config -n service_name]

    thin install symlink -c /config/thin.yml [optional -p /path/of/the/con...

  • DAddYE
    DAddYE commented at 8:32 AM

    Yes I prefer 2 step, or 3

    1) a command for create the service

    2) a command for create symlink (for people that like this way)

    3) a command that run both 1 a...

3 earlier changes…
  • macournoyer
    macournoyer commented at 8:26 AM

    I'm not sure I understand your question.

    I think symlinking is better cause you can put your config file under version control w/ all your other project files...

  • DAddYE
    DAddYE commented at 8:04 AM

    I only ask a question.

    The symlink option is good for people that store config in app path but for me that I've many many site I prefer to store it directly i...

  • macournoyer
    macournoyer commented at 12:17 AM

    I just commited something based on your patch:

    http://github.com/macournoyer/th...

    I had to remove the PATH variable in your bash script to make it work for ...

Saturday, February 02 2008
32 Name of thin process was updated
  • DAddYE
    DAddYE commented at 2:29 PM

    Super Thanks!

  • macournoyer
    • Milestone set to 0.6.3
    • State changed from new to resolved
    by macournoyer at 2:05 PM

    Fixed on git.

    Process name is now: thin server (0.0.0.0:3000)

    thx for the suggestion!

  • DAddYE
    DAddYE created the ticket at 8:05 AM

    Is possible call the thin process "thin" and not "ruby" ? So I can manage my process in a better way.

    There is an example of top in my prod evn:

    PID USER ...

31 thin_cluster runlevel script was updated
  • DAddYE
    DAddYE commented at 8:01 AM

    Can you change this:

    1. Loop through thin cluster folder and execute the command

    Dir["#{thin_cluster_folder}/*"].each do |file|

    puts "Processing #{file} ...\...

Friday, February 01 2008
31 thin_cluster runlevel script was updated
  • macournoyer
    • State changed from new to open
    • Milestone set to 0.6.3
    by macournoyer at 11:55 PM
  • Gump
    Gump created the ticket at 11:50 PM

    Thin needs support of a runlevel script for managing thin clusters. This is in the vein of mongrel_cluster. My proposed solution (or at least a starting poin...

30 Using Thin with a framework other than Rails. was updated
  • Alex MacCaw
    Alex MacCaw commented at 10:59 AM

    I wanted to use my own custom framework. I ended up duplicating bin/thin and replacing that line. I think the option to load a rack config file would be a good...

  • macournoyer
    • State changed from new to open
    • Milestone set to 0.7.0
    by macournoyer at 10:11 AM

    the problem is that there's no convention as to how to initialize an adapter. Some require that your load the app first (Camping) and some do all the work of l...

  • Alex MacCaw
    Alex MacCaw created the ticket at 5:37 AM

    Although Thin uses Rack, and so has the ability to work with lots of different frameworks (merb, rails, camping etc), but can only use the rails adapter since ...

29 Load config from a path was updated
  • macournoyer
    • State changed from new to open
    • Milestone set to 0.7.0
    by macournoyer at 10:13 AM
  • DAddYE
    DAddYE created the ticket at 3:55 AM

    In Mongrel there is the possibility to load multiple config files from a path.

    In thin we need to specify each file, and in a webserver with multiple sites is...

28 Swiftiply support for Thin was updated
  • Alex MacCaw
    Alex MacCaw commented at 6:29 AM

    I found out the reason for that performance problem (and am almost too embarrassed to admit to it). I was fetching the default index.html page, rather than doi...

Thursday, January 31 2008
27 pids gone missing after the second 'thin start' was updated
  • macournoyer
    • State changed from open to resolved
    by macournoyer at 11:44 PM

    fixed on git

28 Swiftiply support for Thin was updated
  • macournoyer
    macournoyer commented at 9:15 PM

    uh? I think lighthouse ate your comment or something kirk, you posted the ticket description.

  • macournoyer
    macournoyer commented at 3:53 PM

    I did a quick benchmarks w/ a small rails app and perf seems very much the same:

    nice -n20 ab -n5000 -c3 0.0.0.0:8080/simple

    Swiftiply: 109.93 req/sec

    Nginx...

  • macournoyer
    macournoyer commented at 3:23 PM
    post_init if @swiftiply
    

    should be placed at the end of Connection#process not receive_data or else the request will be resetted at each packet received.

    That...

  • macournoyer
    macournoyer commented at 10:11 AM

    thx Kirk, I'll wait for your feedback before applying the patch

  • Alex MacCaw
    Alex MacCaw commented at 7:29 AM

    Ok, here's the updated patch. At the moment I can get Swiftiply to do about 1226 requests per second, while nginx is around 5780.

1 earlier change…
  • Alex MacCaw
    Alex MacCaw commented at 3:37 AM

    Looks like a I used an old Thin repos to make the patch - a lot of things have changed since then so I'll update the patch to the lastest repos revision.

Wednesday, January 30 2008
28 Swiftiply support for Thin was updated
  • Kevin Williams
    • State changed from new to open
    • Milestone set to 0.7.0
    by Kevin Williams at 4:03 PM
  • Alex MacCaw
    Alex MacCaw created the ticket at 2:44 PM

    This patch gives Swiftiply (http://swiftiply.swiftcore.org/) support to Thin. It allows you to pass a --swiftiply option to Thin, with an optional authenticati...

26 Failures while starting a cluster server are ignored was updated
  • Kevin Williams
    • Milestone changed from 0.6.2 to 0.6.3
    by Kevin Williams at 4:01 PM
  • macournoyer
    • State changed from new to open
    by macournoyer at 12:43 AM
27 pids gone missing after the second 'thin start' was updated
  • macournoyer
    • State changed from new to open
    • Milestone changed from 0.6.2 to 0.6.3
    by macournoyer at 10:27 AM
  • macournoyer
    macournoyer created the ticket at 10:26 AM

    Starting thin twice w/ the same pid file and without stopping erases the pid file.

    [root@localhost railstest]# thin start -s 2 
    Starting server on 0.0.0.0:30...
0.6.3 was created by unknown at 10:26 AM
 
0 of 6 tickets remain in this milestone
9 monitoring with God was updated
  • macournoyer
    • Milestone changed from 0.6.2 to 0.7.0
    by macournoyer at 12:44 AM
20 tweak rubyforge upload to put all gems in one release was updated
  • macournoyer
    • State changed from open to resolved
    by macournoyer at 12:43 AM
21 add monit config example was updated
  • macournoyer
    • State changed from new to resolved
    by macournoyer at 12:43 AM
14 Builtin load balancing was updated
  • macournoyer
    • State changed from open to hold
    by macournoyer at 12:42 AM
18 Should stop server right after request when stopping was updated
  • macournoyer
    • State changed from open to resolved
    by macournoyer at 12:42 AM
Tuesday, January 29 2008
25 Uploading larger files fails was updated
  • macournoyer
    • State changed from open to resolved
    by macournoyer at 10:29 PM
  • macournoyer
    macournoyer commented at 10:29 PM

    fixed on git

  • macournoyer
    • Milestone set to 0.6.2
    • State changed from new to open
    by macournoyer at 9:50 PM

    moving large body to tempfile in Cheesecake seem to have introduce this bug

  • Casper Fabricius
    Casper Fabricius created the ticket at 9:44 AM

    I'm using thin for all my Rails development (not on production

    servers), and I think I might have found a bug.

    When uploading a largish file (7-8 MB), the re...

17 Restart shouldn't require any options was updated
  • macournoyer
    • State changed from open to resolved
    by macournoyer at 3:00 PM
    • thin restart now sends HUP signals rather then stopping & starting.
    • HUP signal now launches a new process with the same options.
26 Failures while starting a cluster server are ignored was updated
  • macournoyer
    macournoyer created the ticket at 2:13 PM
    $ thin start -s2
    Starting server on 0.0.0.0:3000 ... 
    Starting server on 0.0.0.0:3001 ... 
    

    But 3000 crashed because port was already in use

    It should stop,...

Sunday, January 27 2008
23 Specify stats uri was updated
  • macournoyer
    • State changed from open to resolved
    by macournoyer at 10:05 PM

    stats adapter now looks a lot like the Rack::ShowException one