Issue #1254 has been updated by gringo.

luke wrote:

> It should generally not need much time at all to stop after a TERM, but if it 
> is in the middle of a run it will try to finish that run, which can take some 
> time.

In our case puppet manages itself, so it is very likely that puppet will try to 
restart itself.
Another case is when you use 'splay=true' and start the daemon. Till the first 
run it also takes ~20 sec to stop the daemon with TERM.
----------------------------------------
Bug #1254: puppetd client randomly hangs
http://projects.reductivelabs.com/issues/1254

Author: admin
Status: Needs more information
Priority: Normal
Assigned to: community
Category: Debian
Target version: 
Complexity: Unknown
Patch: None
Affected version: 0.24.4
Keywords: 


This one has been a hard one tracking down but maybe someone else can shed some 
light on it

puppetd clients occasionally hang. and by hang i mean, no longer do config runs

the process still appears active:
#ps aux | grep puppet
root     23419  0.0  0.6 27008 17024 ?       Ss   May21   0:02 ruby 
/usr/sbin/puppetd -w 0

if i do an strace on the process, it doesnt appear like anything is borked
#strace -p 23419
Process 23419 attached - interrupt to quit
select(8, r7, [], [], NULL

by looking at the syslog daemon logfile

i can see the last thing it was doing was a run:
puppetdr23419: Starting Puppet client version 0.24.4


Client os: debian sarge and etch
puppetd is started in an init script using: 
puppetd -w 0 with the following puppetd.conf

/etc/puppet/puppet.conf:
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl

[puppetd]
 server = mypuppetserver.com
 report = true
 factsync = true
 factsignore = .svn


[puppetmasterd]
templatedir=/var/lib/puppet/templates



----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to