Author Topic: [SOLVED] Zentyal 3.5 Openchange Paster 100% cpu  (Read 2628 times)

stormbyte

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
[SOLVED] Zentyal 3.5 Openchange Paster 100% cpu
« on: June 19, 2014, 09:58:48 pm »
Openchange keeps spawning a new process.
Keeping a high load on the server.

Software versions:
- OpenChange Server   3.5~108
- OpenChange Web Mail   3.5~99

Code: [Select]
Starting server in PID 19995.
Traceback (most recent call last):
  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 311, in command
    serve()
  File "/usr/lib/python2.7/dist-packages/paste/script/serve.py", line 295, in serve
    server(app)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 189, in server_wrapper
    **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/paste/httpserver.py", line 1342, in server_runner
    serve(wsgi_app, **kwargs)
  File "/usr/lib/python2.7/dist-packages/paste/httpserver.py", line 1291, in serve
    request_queue_size=request_queue_size)
  File "/usr/lib/python2.7/dist-packages/paste/httpserver.py", line 1134, in __init__
    request_queue_size=request_queue_size)
  File "/usr/lib/python2.7/dist-packages/paste/httpserver.py", line 1113, in __init__
    request_queue_size=request_queue_size)
  File "/usr/lib/python2.7/dist-packages/paste/httpserver.py", line 381, in __init__
    self.socket.listen(request_queue_size)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use
Removing PID file /var/run/ocsmanager/ocsmanager.pid
« Last Edit: June 22, 2014, 10:54:28 am by stormbyte »

stormbyte

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: [SOLVED] Zentyal 3.5 Openchange Paster 100% cpu
« Reply #1 on: June 22, 2014, 10:56:09 am »
Putting the zentyal admin webservice on port 5000 will crash Openchange.
Openchange needs port 5000 to run.

StuartNaylor

  • Guest
Re: [SOLVED] Zentyal 3.5 Openchange Paster 100% cpu
« Reply #2 on: June 22, 2014, 11:23:22 am »
20000 is another hidden one as well

OnkelTrank

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: [SOLVED] Zentyal 3.5 Openchange Paster 100% cpu
« Reply #3 on: November 27, 2014, 04:19:32 pm »
Hello,

I have the same issue on Zentyal 4.0. This thread is set to solved. I can not see how?

Best regards
Frank

zentyaltester7

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: [SOLVED] Zentyal 3.5 Openchange Paster 100% cpu
« Reply #4 on: February 05, 2015, 10:34:52 pm »
Zentyal closes Tickets automatically without giving an answer :-(

Let me try to explain my scenario:
have upgraded to 4.0, lost some of my used modules...
And got the same problem.

My Solution:
after analysing and investigating, i found that the udev startup
Code: [Select]
service zentyal openchange startis starting one process
And there was a system-V-init too:
Code: [Select]
/etc/rcX.d/S80openchange-ocsmanagerso the ocsmanager was startet twice and the second one made these logs, producing huge cpu-load and bloading my /var-dirctory allways to 100%.

I removed the oldstyle with this
Code: [Select]
update-rc.d openchange-ocsmanager disableNow only one ocsmanager is started and the log is clean. May you reboot or restart openchange.
« Last Edit: February 06, 2015, 06:21:30 am by zentyaltester7 »