When using Secondary LDAP config git user consumes large amount of CPU

The command that is being run is:

ruby /opt/gitlab/embedded/service/gem/ruby/2.1.0/bin/unicorn -D -E production -c /var/opt/gitlab/gitlab-rails/etc/unicorn.rb /opt/gitlab/embedded/service/gitlab-rails/config.ru

additionally there is a failure when running the reconfigure command.

[2016-01-26T15:52:06-08:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out
[2016-01-26T15:52:06-08:00] ERROR: execute[clear the gitlab-rails cache] (gitlab::gitlab-rails line 296) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /opt/gitlab/bin/gitlab-rake cache:clear ----
STDOUT: D, [2016-01-26T15:52:04.356132 #1707] DEBUG -- : ** [Raven] Event not sent due to excluded environment: production
STDERR: fatal: Not a git repository (or any of the parent directories): .git
rake aborted!
Devise::OmniAuth::StrategyNotFound: Could not find a strategy with name `Ldapsecondary'. Please ensure it is required or explicitly set it using the :strategy_class option.
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/devise-3.5.4/lib/devise/omniauth/config.rb:40:in `autoload_strategy'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/devise-3.5.4/lib/devise/omniauth/config.rb:25:in `strategy_class'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/devise-3.5.4/lib/devise/rails.rb:22:in `block (2 levels) in <class:Engine>'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/devise-3.5.4/lib/devise/rails.rb:21:in `each'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/devise-3.5.4/lib/devise/rails.rb:21:in `block in <class:Engine>'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `instance_exec'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `run'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.4/lib/rails/initializable.rb:55:in `block in run_initializers'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.4/lib/rails/initializable.rb:54:in `run_initializers'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.4/lib/rails/application.rb:352:in `initialize!'
/opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:5:in `<top (required)>'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.4/lib/rails/application.rb:328:in `require_environment!'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.4/lib/rails/application.rb:457:in `block in run_tasks_blocks'
Tasks: TOP => cache:clear => environment
(See full trace by running task with --trace)
---- End output of /opt/gitlab/bin/gitlab-rake cache:clear ----
Ran /opt/gitlab/bin/gitlab-rake cache:clear returned 1
[2016-01-26T15:52:08-08:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)