Issue #3009 has been reported by Greg Boug. ---------------------------------------- Bug #3009: Very slow Puppet daemon startup when Mongrel is installed... http://projects.reductivelabs.com/issues/3009
Author: Greg Boug
Status: Unreviewed
Priority: Normal
Assigned to:
Category: mongrel
Target version:
Affected version: 0.25.1
Keywords:
Branch:
I have a Solaris node with a whole bunch of gems installed (see list below). Am
using the Solaris OpenCSW package for Puppet 0.25.1 (problem also occurred in
0.24.8).
Basically what happens is that Puppet will stat every file in the filesystem,
starting from / and working down before it finishes startup. This means it will
take a very long time to start up, especially if the automounter is running
with /net enabled - it will stat pretty much every file on the network as
well...
I assume its looking for something, but I can't tell what. Under 0.24.8, I was
able to work around the problem by changing the start method in the SMF config
to:
<exec_method type='method' name='start'
exec='/opt/csw/lib/svc/method/svc-puppetd start' timeout_seconds='60'>
<method_context working_directory='/var/puppet' />
</exec_method>
Basically this just forces mongrel to start looking from /var/puppet, rather
than /... Much faster.
Under 0.25.1, I haven't been able to get this to work yet... (Will update the
docket if I have any joy with this...)
I've been able to confirm that it only happens if Mongrel is installed -
doesn't seem to matter which version, but I have mainly been checking with
1.1.5...
Have tried running client with --debug, but it prints nothing - happening
before any debug perhaps? Way I figured out what was going on was to run truss
on the process. Got stuff like this:
lstat64("net/host/export/blah1", 0xFFBCFA10) = 0
lstat64("net/host/export/blah2", 0xFFBCFA10) = 0
lstat64("net/host/export/blah3", 0xFFBCFA10) = 0
It appears to run correctly once this find has finished...
Supporting info:
$ gem list
*** LOCAL GEMS ***
actionmailer (2.3.4)
actionpack (2.3.4)
activeldap (1.2.0)
activerecord (2.3.4)
activeresource (2.3.4)
activesupport (2.3.4)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
fastthread (1.0.7)
gem_plugin (0.2.3)
gemsonrails (0.7.2)
gettext (2.0.4)
gettext_activerecord (2.0.4)
gettext_rails (2.0.4)
ldapmapper (1.4)
locale (2.0.4)
locale_rails (2.0.4)
mongrel (1.1.5)
rack (1.0.0)
rails (2.3.4)
rake (0.8.7)
ruby-ldap (0.9.9)
sqlite3-ruby (1.2.5)
--
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.
