Re: [Puppet Users] Chmoding files in directory with around 33000 files is slow

2011-12-03 Thread Tony G.
On Dec 2, 2011 4:03 PM, "Michael Stahnke" wrote: > > On Fri, Dec 2, 2011 at 1:57 PM, Nigel Kersten wrote: > > > > > > On Fri, Dec 2, 2011 at 7:41 AM, Idar Borlaug wrote: > >> > >> Hi > >> > >> Just wanted to know if anyhow has a great workaround for modifing user > >> and group in a folder with

Re: [Puppet Users] Chmoding files in directory with around 33000 files is slow

2011-12-02 Thread Michael Stahnke
On Fri, Dec 2, 2011 at 1:57 PM, Nigel Kersten wrote: > > > On Fri, Dec 2, 2011 at 7:41 AM, Idar Borlaug wrote: >> >> Hi >> >> Just wanted to know if anyhow has a great workaround for modifing user >> and group in a folder with 33000 files. >> It takes 5 minutes to chmod one file. >> >> file { "/s

Re: [Puppet Users] Chmoding files in directory with around 33000 files is slow

2011-12-02 Thread Nigel Kersten
On Fri, Dec 2, 2011 at 7:41 AM, Idar Borlaug wrote: > Hi > > Just wanted to know if anyhow has a great workaround for modifing user > and group in a folder with 33000 files. > It takes 5 minutes to chmod one file. > > file { "/some/dir" : > ensure => directory, > recurse => true, > gr

Re: [Puppet Users] Chmoding files in directory with around 33000 files is slow

2011-12-02 Thread Idar Borlaug
On 2 December 2011 20:40, Jo Rhett wrote: > That's a directory reading problem that every unix-based program will have. >  You need a different filesystem if you really want 33k files in one > directory. Reading the directory isn't slow at all. Theres only 33000 files in it. ls goes in 2 sec. chm

Re: [Puppet Users] Chmoding files in directory with around 33000 files is slow

2011-12-02 Thread Jo Rhett
That's a directory reading problem that every unix-based program will have. You need a different filesystem if you really want 33k files in one directory. On Dec 2, 2011, at 7:41 AM, Idar Borlaug wrote: > Just wanted to know if anyhow has a great workaround for modifing user > and group in a fol

[Puppet Users] Chmoding files in directory with around 33000 files is slow

2011-12-02 Thread Idar Borlaug
Hi Just wanted to know if anyhow has a great workaround for modifing user and group in a folder with 33000 files. It takes 5 minutes to chmod one file. file { "/some/dir" : ensure => directory, recurse => true, group => 'jboss', owner => 'jboss' } I am using puppet 2.6.4 on t