Package: ruby1.8
Version: 1.8.7.72-3lenny1
Severity: wishlist

Hello there

I experienced an high CPU consumption of puppetd/puppetmaster processes,
a problem that was already reported to puppet developers (e.g., see:
http://projects.reductivelabs.com/issues/show/1539, but it was filed
a few more times afterwards). In my test I could see puppetd using
CPU time up to 25% of the uptime.

After chasing the problem with the developers, it turned out that it
was due to the stock ruby being compiled with pthreads support. Testing
it with a source-compiled ruby, configure-d with --disable-pthreads
shows normal behaviour. Puppetd is now using about three minutes CPU
time in 3 days of uptime (with the same configuration as before,
of course).

Besides turning puppetd/puppetmaster into CPU hogs, the pthreads-enable
build seems to sport other undesirable behaviour (e.g.: see:
http://antoniocangiano.com/2008/12/10/reflections-on-the-ruby-shootout/
and
http://timetobleed.com/fix-a-bug-in-rubys-configurein-and-get-a-30-performance-boost/).
Having the option of using a different, yet bundled version of the
package would be of comfort for many of us.

Thanks in any case

Ciao
--bronto


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ruby1.8 depends on:
ii  libc6                   2.7-18lenny2     GNU C Library: Shared libraries
ii  libruby1.8              1.8.7.72-3lenny1 Libraries necessary to run Ruby 1.

ruby1.8 recommends no packages.

Versions of packages ruby1.8 suggests:
ii  rdoc1.8                 1.8.7.72-3lenny1 Generate documentation from Ruby s
pn  ri1.8                   <none>           (no description available)
pn  ruby1.8-examples        <none>           (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to