[Mongrel] Mongrel processes

Dave Murphy schwuk at gmail.com
Thu Aug 3 05:12:42 EDT 2006


> Otherwise, double check that you really are running just one.  Use lsof
> -i -P | grep ruby to get a better picture.

Running:

$ sudo lsof -i -P | grep ruby

...gave me nothing.

With a slight twist:

$ sudo lsof -i -P | grep mongrel
mongrel_r  7657     root    3u  IPv4   9018835       TCP *:3000 (LISTEN)
mongrel_r  7658     root    3u  IPv4   9018835       TCP *:3000 (LISTEN)
mongrel_r  7659     root    3u  IPv4   9018835       TCP *:3000 (LISTEN)

And finally:

$ sudo ps ax | grep mongrel
Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
 7657 ?        S    490:07 /usr/bin/ruby1.8 /usr/bin/mongrel_rails
start -c /home/schwuk/typo -e production -p 3000 -d
 7658 ?        S      0:00 /usr/bin/ruby1.8 /usr/bin/mongrel_rails
start -c /home/schwuk/typo -e production -p 3000 -d
 7659 ?        S      0:01 /usr/bin/ruby1.8 /usr/bin/mongrel_rails
start -c /home/schwuk/typo -e production -p 3000 -d
28223 pts/0    S+     0:00 grep mongrel

Cheers,
-- 
Dave Murphy (Schwuk)
http://schwuk.com


More information about the Mongrel-users mailing list