Author Topic: High CPU load by ocsmanager  (Read 1791 times)

MuPp3t33r

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
High CPU load by ocsmanager
« on: September 08, 2016, 11:54:00 am »
Hi all

I've been experiencing a high CPU load and have managed to identify ocsmanager as the likely culprit.
When checking it's logs, something that stands out is "Exception: Cannot find exchange first organization unit in samba database"

This keeps repeating itself every couple of seconds so I figure its simply retrying the same operation constantly, but at this stage I'm unsure of what steps I might take to resolve it.

I've included a sample of the output log below, if it's not enough then I can provide a more complete log

My environment:
Zentyal 4.2.2 - fully up to date
Installed modules - Network, Firewall, DNS, Logs, NTP, VPN, Domain Controller, Mail, OpenChange

Log obtained from: /var/log/ocsmanager/ocsmanager.log
Code: [Select]
  File "/usr/bin/paster", line 4, in <module>
    command.run()
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 104, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 143, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 238, in run
    result = self.command()
  File "/usr/lib/python2.7/dist-packages/paste/script/serve.py", line 284, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/python2.7/dist-packages/paste/script/serve.py", line 321, in loadapp
    **kw)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
    return context.create()
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
    return self.object_type.invoke(self)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke
    return fix_call(context.object, context.global_conf, **context.local_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
    val = callable(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/ocsmanager/config/middleware.py", line 43, in make_app
    config = load_environment(global_conf, app_conf)
  File "/usr/lib/python2.7/dist-packages/ocsmanager/config/environment.py", line 178, in load_environment
    config['samba'] = _load_samba_environment(samba_retries)
  File "/usr/lib/python2.7/dist-packages/ocsmanager/config/environment.py", line 118, in _load_samba_environment
    raise Exception("Cannot find exchange first organization unit in samba database")
Exception: Cannot find exchange first organization unit in samba database
Removing PID file /var/run/ocsmanager/ocsmanager.pid

« Last Edit: September 08, 2016, 11:58:56 am by MuPp3t33r »