On Fri, Oct 29, 2010 at 7:05 AM, Mono Drum <[email protected]> wrote:

> Hi,
>
> I posted my Problem on the mono-forum, but have not got any answer yet:
> http://go-mono.com/forums/#nabble-td3006473
>

I haven't had the time to research the reason behind this issue, but having
discovered the exact same issue a few weeks back I found that manually
running the same command you've configured for each Mono-based Information
Source fixes the problem, though it also creates another: If the process
dies Cherokee finds itself in the same situation as before when attempting
to start the now inaccessible information source. While you could
technically go the inetd route to monitor requests to the specified port,
there are far better solutions such as god, monit, and supervisor.

While the supervisor daemon is a solid, well designed piece of software, god
has proven to provide a higher level of reliability using less system
resources and is absolute bliss when it comes to building out highly
intelligent monitoring scripts in the blink of an eye. In this particular
case, however, given your usage of Unix pipes I would highly recommend using
supervisor for one reason and one reason only: They have a built in FastCGI
spawning utility[1] that is one of the most brilliant pieces of software
ingenuity I have seen since I first stumbled upon Cherokee and fell madly,
deeply in love.

Okay, that's a bit over the top ;-), but when it comes to monitoring FastCGI
over Unix sockets, supervisors ability to listen to the same socket in which
multiple FastCGI processes have been bound to is shear brilliance and is
definitely the way to go until such time that the source of the issue we're
both experiencing has been discovered and the problem(s) (whether it be on
the Mono side, the Cherokee side, or both) resolved.

[1]
http://supervisord.org/configuration.html#fcgi-program-x-section-settings
<http://supervisord.org/configuration.html#fcgi-program-x-section-settings>

-- 
/M:D

M. David Peterson
Co-Founder & Chief Architect, 3rd&Urban, LLC
Email: [email protected] | [email protected]
Mobile: (206) 999-0588
http://3rdandUrban.com | http://amp.fm |
http://www.oreillynet.com/pub/au/2354 |
http://broadcast.oreilly.com/m-david-peterson/
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to