i have some Qs regarding start/stopping merb processes.

what exactly is merb's process name? "merb" and ruby both dont work to
kill a merb proc by name.
(example below is when running under OS-X, so using killall rather
than pkill)

also, when managing clusters is the recommended way to restart a
cluster

kill -HUP (pid of master process)

the merb -k (port) never seems to work reliably on OS-X.


[...@harrier:merbquest/trunk]$ ps -axf|grep
merb
  503  5439  1741   0   0:29.13 ttys000    0:42.52 merb : merb :
master
  503  5441  5439   0   0:32.24 ttys000   11:57.23 merb : merb :
master
  503  5370     1   0   0:48.96 ttys002    4:49.55 merb : worker (port
5000)
  503  5652  5447   0   0:00.00 ttys003    0:00.00 grep
merb

[...@harrier:merbquest/trunk]$ ps
5439
  PID   TT  STAT      TIME
COMMAND
 5439 s000  S+     0:42.72 merb : merb :
master
[...@harrier:merbquest/trunk]$ killall
ruby
No matching processes belonging to you were
found
[...@harrier:merbquest/trunk]$ killall
merb
No matching processes belonging to you were
found

[...@harrier:merbquest/trunk]$ sudo killall merb
Password:
No matching processes were found

[...@harrier:merbquest/trunk]$ merb -k
5000
(12-13 20:49)
 ~ Could not find a PID file at /Users/dc/svn/merbquest/trunk/log/merb.
5000.pid. Most likely the process is no longer running and the pid
file was not cleaned up.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to