On Fri, Nov 26, 2010 at 7:47 AM, Dan DaCosta <chaos...@gmail.com> wrote:

> ActiveMQ started normally.
> This fixed the problem.
> I should note that I do not yet fully understand the ActiveMQ or
> Gitorious software systems.
>

Dan,
thanks for sharing this information! The posts on this mailing list get good
search engine rankings for people having the same problems and googling for
solutions, so this is a great help.

ActiveMQ not running will indeed create a non-working Gitorious
installation, since Gitorious uses ActiveMQ (or similar messaging systems)
to provide async handling of long-running processes such as creation of Git
objects (repositories, branches etc.) on disk. For anyone interested in
this, this wiki page:
http://gitorious.org/gitorious/pages/GitoriousComponents has some background
on how things work together.

I would recommend users running their own Gitorious installations to use
some kind of monitoring of the processes Gitorious relies on:

- The git daemon (which serves repositories over the git:// protocol)
- The poller script (which consumes and processes messages sent to the
messaging server)
- The messaging server (eg. ActiveMQ)
- The sphinx daemon (which performs full-text searches)

On gitorious.org we use Monit (http://mmonit.com/monit/) for keeping these
processes running. Monit is a daemon that watches processes, typically by
looking for a pid file and trying to connect to a port) and knows commands
that will start/stop/restart processes as required.

In our experience, Monit performs very well, and it is probably available
through your systems package manager. The Gitorious wiki (
http://gitorious.org/gitorious/pages/<http://gitorious.org/gitorious/pages/GitoriousComponents>)
could be a good place to add working Monit configuration files; if you have
one please put them in the wiki.

I'm sure someone on the list uses something other than Monit with success,
I'm sure experiences/tips on this would be valuable - please share!

Cheers,
- Marius

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

Reply via email to