On Thu, 15 Feb 2007 04:24:51 -0800
<[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I have mongrel 1.0.1, rails 1.2.2 ruby 1.8.5 running on Centos 4.4.
> 
> When I execute the mongrel_rails start -d I see that 3 processes are spawned. 
>  See below:
> 
> [EMAIL PROTECTED] aaa]# mongrel_rails start -d
> [EMAIL PROTECTED] aaa]# ps -def |grep mong
> root      2743     1  9 07:14 ?        00:00:01 /usr/bin/ruby 
> /usr/bin/mongrel_rails start -d
> root      2744  2743  0 07:14 ?        00:00:00 /usr/bin/ruby 
> /usr/bin/mongrel_rails start -d
> root      2745  2744  0 07:14 ?        00:00:00 /usr/bin/ruby 
> /usr/bin/mongrel_rails start -d

Yep, some operating systems seem to list one process as many and I'm
not sure why.  Here's the ps from my archlinux setup:

[EMAIL PROTECTED] ~/p/testapp> mongrel_rails start -d
[EMAIL PROTECTED] ~/p/testapp> ps ax | grep mongrel_rails
19605 ?        Sl     0:01 /usr/bin/ruby /usr/bin/mongrel_rails start -d
19641 pts/0    S+     0:00 grep mongrel_rails
[EMAIL PROTECTED] ~/p/testapp> 

So, it's just how the ps or process stuff works on that particular
flavor.

-- 
Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
http://www.zedshaw.com/
http://www.awprofessional.com/title/0321483502 -- The Mongrel Book
http://mongrel.rubyforge.org/
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to