Killing apache seemed to get rid of that master process. Restarting the 
apache server however brought back another master process after a couple of 
minutes:

puppet    8549     1 22 16:25 ?        00:00:03 master

I think this was due to clients checking in, however they did not 
disappear. I currently have two sitting on ps -ef:

puppet_master@puppet:~$ ps -ef | grep puppet
root      1296     1  0 11:34 ?        00:00:18 /usr/bin/ruby 
/usr/bin/puppet agent
root      2178   787  0 11:42 ?        00:00:00 sshd: puppet_master [priv]
1000      2181  2178  0 11:42 ?        00:00:00 sshd: puppet_master@pts/0
puppet    8549     1  2 16:25 ?        00:00:12 master
puppet    8629     1  0 16:28 ?        00:00:01 master
1000      8681  2182  0 16:32 pts/0    00:00:00 grep --color=auto puppet
puppet_master@puppet:~$ ps -fp 8549
UID        PID  PPID  C STIME TTY          TIME CMD
puppet    8549     1  2 16:25 ?        00:00:13 master
puppet_master@puppet:~$ ps -fp 1
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 11:33 ?        00:00:01 /sbin/init


Also, 'lsof -i :8140' returned nothing.

On Friday, 30 November 2012 15:24:33 UTC, Matthew Burgess wrote:
>
> On Fri, Nov 30, 2012 at 3:03 PM, GordonJB <g.bon...@gmail.com<javascript:>> 
> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/60gDC263xD4J.
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