Issue #17454 has been updated by eric sorenson.

Status changed from Unreviewed to Investigating
Assignee set to Andrew  Parker
Target version set to 3.x
Keywords set to backlog

This seems pretty bad, Andy can you find some bandwidth on your team to 
investigate? 
----------------------------------------
Bug #17454: Puppet agent deadlocks when sent two HUP signals at almost the same 
time.
https://projects.puppetlabs.com/issues/17454#change-77744

Author: Virgil M
Status: Investigating
Priority: Normal
Assignee: Andrew  Parker
Category: 
Target version: 3.x
Affected Puppet version: 
Keywords: backlog
Branch: 


This has been observed in the following context:
https://projects.puppetlabs.com/issues/17445

Puppet agent crashes with the following messages in syslog:
<pre>
Nov  6 21:14:48 ip-10-188-4-185 puppet-agent[1957]: Caught HUP; calling restart
Nov  6 21:14:48 ip-10-188-4-185 puppet-agent[1957]: Restarting with 
'/usr/bin/puppet agent --listen --no-client --color=false'
Nov  6 21:14:48 ip-10-188-4-185 puppet-agent[1957]: Caught HUP; calling restart
Nov  6 21:14:48 ip-10-188-4-185 puppet-agent[1957]: Restarting with 
'/usr/bin/puppet agent --listen --no-client --color=false'
Nov  6 21:14:48 ip-10-188-4-185 puppet-agent[1957]: Could not run: deadlock; 
recursive locking
</pre>

Simple reproduction below:
<pre>
$ ps -ef | grep puppet
puppet     890     1  0 21:01 ?        00:00:00 /usr/bin/ruby /usr/bin/puppet 
master --masterport=8140
root      1957     1 17 21:14 ?        00:00:00 /usr/bin/ruby /usr/bin/puppet 
agent --listen --no-client --color=false
1001      1963  1198  0 21:14 pts/1    00:00:00 grep --color=auto puppet
$ sudo kill -HUP 1957; sudo kill -HUP 1957
$ ps -ef | grep puppet
puppet     890     1  0 21:01 ?        00:00:00 /usr/bin/ruby /usr/bin/puppet 
master --masterport=8140
1001      1974  1198  0 21:14 pts/1    00:00:00 grep --color=auto puppet
</pre>


-- 
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://projects.puppetlabs.com/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