Well, I finally got the compact and the views successfully. However, when clicking on Status, it can take 3-5 minutes for the results to return in the webui. Ii also drives the CPU on the chef-server to 50-60%. We only have about 80 or so clients, so I am a bit concerned.
The Chef server is running as a VM with 2 CPU's ad 2 GB of RAM and the Virtual server is not overloaded.
I need to look into tuning this a bit as we have a large shop (3500+ servers). Anyone have any tips?
Randy
-----Original Message-----
From: AJ Christensen [mailto:aj@junglist.gen.nz]
Sent: Saturday, February 04, 2012 1:16 AM
To: chef@lists.opscode.com
Subject: [chef] Re: Couch database growing.. Can't compact
Is there a couchdb process running?
On 4 February 2012 19:11, Van Fossan,Randy vanfossr@oclc.org wrote:
I am trying to run a compact on the chef database and the instructions
on the Wiki are not working.. It looks like couchdb isn’t running at
the advertised port. However, netstat doesn’t show it either.What am I missing? Doesn’t chef-server utilize that port to
communicate with the database?I run this command..
curl -H "Content-Type: application/json" -X POST
http://localhost:5984/chef/_compact
I get -> curl: (7) couldn't connect to host
Thanks
Randy
From: Adam Jacob [mailto:adam@opscode.com]
Sent: Friday, February 03, 2012 11:40 PM
To: chef@lists.opscode.com
Subject: [chef] Re: remote_directory & notifiesNice memory, Peter.
Adam
Opscode, Inc.
Adam Jacob, Chief Customer Officer
T: (206) 619-7151 E: adam@opscode.com
On Feb 3, 2012, at 4:00 PM, Peter Struijk wrote:
This used to be a bug: http://tickets.opscode.com/browse/CHEF-2354
On Fri, Feb 3, 2012 at 3:51 PM, Max Gorbul max@gorbul.net wrote:
Jason,
I have create a repo to test remote_directory resource. It work like
expected. Flag file is created only when folder is created/updated.GitHub - mhorbul/remote-directory-notification
--max
On Fri, Feb 3, 2012 at 3:38 PM, Adam Jacob adam@opscode.com wrote:
Have you filed a bug?
Adam
Opscode, Inc.
Adam Jacob, Chief Customer Officer
T: (206) 619-7151 E: adam@opscode.comOn Feb 3, 2012, at 2:24 PM, Jason J. W. Williams wrote:
As an FYI to everyone, remote_directory will fire its "notifies"
clauses EVERY time the recipe runs, not just when files in the source
directory change.-J
On Wed, Feb 1, 2012 at 2:34 PM, Max Gorbul max@gorbul.net wrote:
it won't notify subscribers if there are no differences between
source and target dirs/files--max
On Wed, Feb 1, 2012 at 11:59 AM, Jason J. W. Williams
jasonjwwilliams@gmail.com wrote:If one uses a remote_directory directive, and none of the files are
different between the source and target dirs, will any of the
notifies attached to the remote_directory block be fired? Thank you in advance!-J