Issue #1781 has been updated by vermut.

Affected version changed from 0.24.5 to 0.24.6

I have the same problem. I have two almost identical servers, one affected and 
one unaffected:

*Unaffected*
[14:52 r...@wn-2 ~]$ rpm -qa | egrep "puppet|ruby"
ruby-libs-1.8.5-5.el5_2.5
ruby-shadow-1.4.1-7.el5
ruby-1.8.5-5.el5_2.5
puppet-0.24.6-1.el5

[14:44 r...@wn-2 ~]$ strace puppet --version 2>&1 | grep rt_sigprocmask | wc -l
0

*Affected*
[14:54 r...@bg-1 ~]$ rpm -qa | egrep "puppet|ruby"
rubygems-0.9.4-1.el5
ruby-libs-1.8.5-5.el5_2.5
ruby-1.8.5-5.el5_2.5
ruby-rdoc-1.8.5-5.el5_2.5
ruby-shadow-1.4.1-7.el5
puppet-server-0.24.6-1.el5
ruby-irb-1.8.5-5.el5_2.5
puppet-0.24.6-1.el5

[14:54 r...@bg-1 ~]$ strace puppet --version 2>&1 | grep rt_sigprocmask | wc -l
492362

----------------------------------------
Bug #1781: Slow execution
http://projects.reductivelabs.com/issues/show/1781

Author: mgagne
Status: Rejected
Priority: Normal
Assigned to: 
Category: plumbing
Target version: 
Complexity: Unknown
Affected version: 0.24.6
Keywords: 


Hi,

We are currently evaluating Puppet to see if it could be used as part of our 
management system.

I'm currently facing what I consider serious performance issues. In fact, 
Puppet seems to be very slow in general.

Let me show you a first example:

$ time puppet --version
0.24.5

real    0m0.718s
user    0m0.576s
sys     0m0.140s

During that time, there is hundreds, if not thousands 
"rt_sigprocmask(SIG_BLOCK, NULL, [], 8)" calls being made. All this to show the 
version.

Is it normal? If yes, why? Can it be improved?


As for my second example, I installed Puppet with a basic manifest: the "sudo" 
example given in the tutorial. The file is synced to the node, great.

However, the puppet client is constantly using about 3-4% of the CPU. Again, 
hundreds of "rt_sigprocmask()" calls per second are being made. Is it normal?

I'm just wondering if there is any problem or if it's a "normal" behavior.

To be honest, this is currently a show stopper for me as I'm not interested in 
running a tool which would just drain the CPU for no apparent reason.

Here is some information about the environment:
OS: Debian GNU/Linux lenny/sid
Kernel: 2.6.26-1-amd64
Ruby: ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
Puppet: 0.24.5

Can you provide some help/hints about it? Any help will be appreciated. Thanks.


----------------------------------------
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