On Fri, Nov 30, 2012 at 3:03 PM, GordonJB <g.bonth...@gmail.com> wrote:
> I am, but there were standalone processes I'm not sure how to kill and
> disable.
>
> I've currently got (from ps -ef | grep puppet):
> root      1296     1  0 11:34 ?        00:00:13 /usr/bin/ruby
> /usr/bin/puppet agent
> puppet    2246     1  0 11:58 ?        00:01:29 master
> puppet    5868     1  1 14:33 ?        00:00:26 master
>
> Is that OK, or do those master processes need getting rid of?

I don't know how those master processes have started up like that.
Here's what the process tree should look like:

ps -ef | grep master:
puppet    3113  3052  0 15:16 ?        00:00:00 master
puppet    3145     1  0 15:16 ?        00:00:00 Rack:
/usr/share/puppet/rack/puppetmasterd

See how 'master' is *not* owned by the init process?  So, what owns
it? A succession of 'ps -fp <pid>' runs (taking the PPID of each
process) shows:

puppet    3113  3052  0 15:16 ?        00:00:00 master
root      3052  3050  1 15:16 ?        00:00:04 Passenger spawn server
root      3050  3046  0 15:16 ?        00:00:00 PassengerHelperAgent
root      3046  3045  0 15:16 ?        00:00:00 PassengerWatchdog
root      3045     1  0 15:16 ?        00:00:00 /usr/sbin/httpd

In answer to your question of how to get rid of those processes, I'd
start by stopping httpd.  If that doesn't get rid of them, then just
use `kill' on them.

Regards,

Matt.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to