[Mongrel] Problems with mongrel_cluster 1.0.1.1 on FreeBSD

Pat Maddox pergesu at gmail.com
Fri May 4 05:38:28 EDT 2007


On 5/4/07, Pat Maddox <pergesu at gmail.com> wrote:
> I'm running FreeBSD 6.1 and installed the 1.0.1.1 mongrel_cluster
> prerelease.  I had a problem with the mongrels not stopping, and it
> turns out it's because ps is reporting my processes as just
> [ruby18]
>
> instead of someting more like "mongrel_rails start -d ......."
>
> Not sure why it's doing that, but it is.  Any ideas?
>
> For the time being I just changed line 165 of init.rb to read
> pid = ps_output =~ /mongrel_rails|ruby18/ ? pid : nil
>
> and that's working fine.
>
> Pat
>

I've got two sets of mongrels running now, one running a staging
environment and the other production.

[twist at jack ~/twist/shared/log]$ ps ax | grep ruby
88908  ??  S      0:01.96 [ruby18]
88911  ??  S      0:02.15 [ruby18]
88914  ??  S      0:02.14 [ruby18]
89021  ??  S      0:01.95 /usr/local/bin/ruby18 /bin/mongrel_rails
start -d -e production -c
89026  ??  S      0:01.95 /usr/local/bin/ruby18 /bin/mongrel_rails
start -d -e production -c
89029  ??  S      0:01.95 /usr/local/bin/ruby18 /bin/mongrel_rails
start -d -e production -c

The [ruby18] processes are all staging mongrels.  Any clue as to why
they wouldn't show the full command?

Pat


More information about the Mongrel-users mailing list