Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
WG: [Puppet Users] AW: Issue with large directory content
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bernd Adamowicz  
View profile  
 More options Sep 13 2012, 11:55 am
From: Bernd Adamowicz <Bernd.Adamow...@esailors.de>
Date: Thu, 13 Sep 2012 17:55:46 +0200
Local: Thurs, Sep 13 2012 11:55 am
Subject: WG: [Puppet Users] AW: Issue with large directory content
Hope, the list doesn't blame me for spamming, but I'd just like to provide some more information on my problem, still hoping someone can help.

Using the 'iostat' command while Puppet is stuck, I can clearly see that there's a very high I/O on the disk:

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
dm-0              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
dm-1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
fioa              0.00     0.00  163.00    5.00 31280.00    40.00   186.43     0.04    0.25   0.25   4.20
dm-2              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
dm-3              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
dm-4              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
dm-5              0.00     0.00  163.00    5.00 31280.00    40.00   186.43     0.04    0.25   0.25   4.20
dm-6              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
drbd0             0.00     0.00  163.00    5.00 31280.00    40.00   186.43     0.96    0.53   5.72  96.10
drbd1             0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00

* The 'drbd0' device is an HP IO Accelerator card
* The 'rsec/s' column for drbd0 shows the number of sectors read from disk per second. This value is pretty low if Puppet is not running.
* The '%util' (CPU time during the I/O requests) column for drbd0 shows that the device is almost in saturation
* This is the mount point for drbd0: '/dev/ drbd0 on /repository' and '/repository/sonatype-work' is the directory hosted by Puppet

Again, this is the configuration:

file {
 "/repository/sonatype-work":
              ensure  => directory,
              owner   => $nexus_user,
              group   => $nexus_group,
              mode    => 0755,
              recurse => false,
              backup  => false,

}

For me it still seems there's a kind of recursive scanning done by Puppet though 'recurse' is set to false.

Thanks for helping,
Bernd

Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im Auftrag von Bernd Adamowicz
Gesendet: Donnerstag, 13. September 2012 14:45
An: 'puppet-users@googlegroups.com'
Betreff: AW: [Puppet Users] AW: Issue with large directory content

This keeps being weird. Simply thought to wait until Puppet finishes, but had to quit after one and a half hour. Also tried 'ensure  => present' instead of 'ensure  => directory' with no success. No log output at all. Still investigating. But any ideas still highly appreciated!

Bernd

Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im Auftrag von Bernd Adamowicz
Gesendet: Donnerstag, 13. September 2012 10:46
An: puppet-users@googlegroups.com
Betreff: Re: [Puppet Users] AW: Issue with large directory content

Thanks for your answers so far.

But beware that the huge artifacts are *not* managed by Puppet (see recurse => false). Actually it's a Maven repository filled by Nexus. Only the top directory is managed by Puppet to have it in place and have correct access rights. This worked well until I initially filled the repository with the artifacts manually. That slowed down Puppet. Seems to me as Puppet will do some recursive scanning, but that's just an assumption, since Puppet is running with almost 100% CPU load.

I turned debug on in Puppet but will not see anything even after a few minutes. Presumably I would see something if I let Puppet run just long enough. However, it's a strange behaviour I've never experienced. And I think my configuration is OK.

Bernd

On 09/13/2012 01:24 AM, Peter Brown wrote:
On 13 September 2012 00:12, Christopher Wood <christopher_w...@pobox.com> wrote:

> I don't have enough information to say. You might want to run the master and agent in debug mode to get more output, though.

> puppet agent --debug --verbose --no-daemonize

> Also, 100 GB? Any particular reason why you're not installing this using a content distribution system or a large number of RPMs?

Recursing through A 100Gb directory will definitely slow down your puppet run.
If the contents of the directory are reasonably static an RPM would be
the best idea.
If it's not static a git or svn repo would be a better idea.
If you are tricky you can manage the checkouts of git or svn with
puppet as well.
I wrote a few tricky resources for this a while ago and they are
infinitely handy.

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Issue with large directory content" by Nigel Kersten
Nigel Kersten  
View profile  
 More options Sep 13 2012, 2:46 pm
From: Nigel Kersten <ni...@puppetlabs.com>
Date: Thu, 13 Sep 2012 11:45:57 -0700
Local: Thurs, Sep 13 2012 2:45 pm
Subject: Re: [Puppet Users] AW: Issue with large directory content
On Thu, Sep 13, 2012 at 8:55 AM, Bernd Adamowicz

<Bernd.Adamow...@esailors.de> wrote:
> For me it still seems there's a kind of recursive scanning done by Puppet though 'recurse' is set to false.

This does look like a bug, as you've got a directory with no remote
source, no recursion, and all you want to do is to enforce
owner/group/mode on it.

That shouldn't be an I/O intensive process at all.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "WG: [Puppet Users] AW: Issue with large directory content" by Denmat
Denmat  
View profile  
 More options Sep 13 2012, 5:04 pm
From: Denmat <tu2bg...@gmail.com>
Date: Fri, 14 Sep 2012 07:05:10 +1000
Local: Thurs, Sep 13 2012 5:05 pm
Subject: Re: WG: [Puppet Users] AW: Issue with large directory content
Hi,

Not sure if I can help but just have couple of questions.

How long does it take to do a 'find' on the directory or a 'stat'?

Have you tried running the client with --verbose --debug --evaltrace --summarize?

Are you trying to set any permissions inside that directory elsewhere in the manifest?

I would expect recurse => false not to do anything too, but (and this should throw an error) can you set recurselimit? If so, does it make any difference?

HTH
Den

On 14/09/2012, at 1:55, Bernd Adamowicz <Bernd.Adamow...@esailors.de> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »