#9 ✓resolved
Kevin Williams

monitoring with God

Reported by Kevin Williams | January 19th, 2008 @ 07:46 PM | in 0.7.0

Add a better god sample file in example/, maybe generate one w/ thin config and use this in replacement of mongrel_cluster to launch cluster at startup and all.

Comments and changes to this ticket

  • Kevin Williams

    Kevin Williams January 19th, 2008 @ 07:51 PM

    • Milestone cleared.
    • State changed from “new” to “open”
  • macournoyer

    macournoyer January 19th, 2008 @ 10:35 PM

    • Assigned user changed from “macournoyer” to “James Golick”
  • Kevin Williams

    Kevin Williams January 26th, 2008 @ 11:32 AM

    • Milestone set to 0.6.2
  • macournoyer

    macournoyer January 30th, 2008 @ 12:44 AM

    • Milestone changed from 0.6.2 to 0.7.0
  • Gump

    Gump February 5th, 2008 @ 06:27 PM

    Didn't know how this was progressing, but after working on a runlevel service for thin similar to mongrel_cluster I've decided to look into god support. See my attached thin.god file. It is a config file for god that configures watches for each instance of a thin server for each thin configuration file found in /etc/thin. This takes a rather simple approach by taking advantage of the -o flag for thin. This allows us to simply loop through making creating start, stop, and restart commands passing in a config file and number of server. You could add additional optional commands in your thin config files to specify watch intervals and such. In order to get it working on Ubuntu, I had to make a change to god as noted at the following blog:

    http://blog.alexgirard.com/2007/...

  • macournoyer

    macournoyer February 5th, 2008 @ 09:53 PM

    Wow, this is freaking awesome Gump!

    I'd really love to integrate this into thin. What's your idea about this, do you think we should replace runlevel service w/ this eventually?

  • Gump

    Gump February 5th, 2008 @ 10:27 PM

    Marc, I think that runlevel services is a fine thing to integrate tightly with thin. This God config file is something that I see people using as a starting point for using God with Thin. I don't want to see Thin getting extra cruft added just to support this gem or that gem. Thin should stay ... well ... thin (my opinion).

    Since God is a third party gem that really doesn't need too much more than a pid file to integrate with I don't see the need to necessarily add anything to Thin to support it. I can see simply adding this in an examples/god directory or something that the user can copy to their god staging area and add through a "god load " to get it up and running.

    I haven't fully finished testing this yet, it doesn't seem to want to shut things down nicely when you tell god to stop or quit. I'm not sure if it is a God or Thin issue. I find the documentation of God a little lacking at the time, but I'm still learning.

    -Forrest

  • macournoyer

    macournoyer February 5th, 2008 @ 10:11 PM

    You're right, I'll include it in the example dir for now.

  • macournoyer

    macournoyer February 6th, 2008 @ 12:17 AM

    I updated the example/thin.god file w/ this one on git.

    thx Gump!

  • macournoyer

    macournoyer February 15th, 2008 @ 11:20 PM

    • State changed from “open” to “resolved”

    example file now support unix and tcp sockets

    god leaks mem so I rly don't think it's a good idea to integrate more w/ thin.

  • KerryZZ

    KerryZZ January 14th, 2010 @ 08:51 PM

    If you are willing to improve your knowledge just about this post, find thesis service or buy dissertation service and order good thesis topics over there.

  • Kristahe

    Kristahe February 13th, 2010 @ 04:11 PM

    People have now very good Internet sources to order the dissertation discussion and perfect theme referring to this topic from the reliable dissertation service.

  • Katie19ZN

    Katie19ZN February 17th, 2010 @ 03:06 AM

    That can be not easy to finish superb thesis paper about this good topic by yourself! My proposition is to find the professional dissertation writing services or you have a chance to buy thesis from buy thesis services.

  • Ellenxv

    Ellenxv February 18th, 2010 @ 03:00 AM

    If people want to see more facts about this good topic, they will order pre written essay or buy essays with the help of the paper writing service.

  • Linda18

    Linda18 February 18th, 2010 @ 12:28 PM

    Some custom essay help connecting with could be finished for people which would like to have some knowledge supreme data about about us.

  • Kim18lo

    Kim18lo February 18th, 2010 @ 03:49 PM

    I guess that people understand, how confusing the term papers accomplishing is. However, students have a possibility to resolve that issue using an aid of the creative writing service.

  • Marylou19Burke

    Marylou19Burke December 11th, 2010 @ 11:19 AM

    • Milestone order changed from “0” to “0”

    Make your own life easier get the credit loans and everything you want.

  • kyla

    kyla February 16th, 2020 @ 08:56 AM

    The report by Williams is very inspiring. It motivated me to complete a report I was writing about my homework helper.

  • elvisj

    elvisj April 7th, 2020 @ 09:32 AM

    It worked for me. Thanks for sharing. Tutor at homework doer

  • kittydurgans

    kittydurgans January 8th, 2021 @ 03:49 AM

    slope unblockedWow, this is very interesting reading. I found a lot of things which I need. Great job on this content. This is very interesting reading. Great job on this content. I like itcookie clicker

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Attachments

Pages