Description of problem: Memory leaks when running Puppet 0.24.5 with Ruby 1.8.6 patchlevel 230 on F8/F9. As seen in http://reductivelabs.com/redmine/issues/show/1480, the packages that reproduce the issue on Fedora are : puppet-server-0.24.5-1.fc9 puppet-0.24.5-1.fc9.noarch0.24.5 ruby-1.8.6.230-4.fc9.i386 While trying to debug I decided to install all the related libraries and tools from scratch. My first test was to install ruby 1.8.7, Puppet 0.24.5 stable from source. This configuration showed the ruby interpreter Heap staying constantly around 35 MB. With the F9 package I baselines around 100 MB and quickly reaches over 1 GB using the same test as mentioned in the bug opened on the Reductive Labs site. http://redmine.ruby-lang.org/issues/show/216 shows information regarding patchlevel 230. I understand there are good reasons for not using 1.8.7 in Fedora. I'll try out Matz's patch to see if it solves the Puppetmaster problem and report my findings.
Created attachment 313832 [details] patch discuessed on http://redmine.ruby-lang.org/issues/show/216 I applied this patch to the ruby-1.8.6.230 and rebuilt the patch. Unfortunately, the memory leak issue with Puppet 0.24.5 is still present.
(In reply to comment #1) > Created an attachment (id=313832) [details] > patch discuessed on http://redmine.ruby-lang.org/issues/show/216 > > I applied this patch to the ruby-1.8.6.230 and rebuilt the patch. > Unfortunately, the memory leak issue with Puppet 0.24.5 is still present. I realized when I updated the specfile I didn't actually apply the patch. I'll test this again later.
(In reply to comment #2) > (In reply to comment #1) > > Created an attachment (id=313832) [details] [details] > > patch discuessed on http://redmine.ruby-lang.org/issues/show/216 > > > > I applied this patch to the ruby-1.8.6.230 and rebuilt the patch. > > Unfortunately, the memory leak issue with Puppet 0.24.5 is still present. > > I realized when I updated the specfile I didn't actually apply the patch. I'll > test this again later. At first sight the patch seems to be working great. I'll test it more thoroughly next week. I spent most of my afternoon testing with patchlevel 286 which also works very well with Puppet. Are there any plans to get 286 packaging for Fedora?
> Are there any plans to get 286 packaging for Fedora? Apparently 286 didn't fix all the known security issues: http://www.ruby-lang.org/en/news/2008/08/11/ruby-1-8-7-p72-and-1-8-6-p287-released/
Does -p287 fix this issue?
(In reply to comment #5) > Does -p287 fix this issue? p287 does fix the problem with p230 originally mentioned in this bug.
Built.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
And released, closing this bug.