Seahub服务夯住无法访问。重启服务后就正常了

我现在的版本是6.0.8,64Bit on Ubuntu ,现在有87个资料库,6000个文件,55个用户,使用23GB空间。
每天至少1~2次夯住,无法使用,重启后正常再过段时间又夯住,再重启。。。一遍又一遍
希望大神们帮忙查看下,已经搞了我好久了,每天都重启几次,有点受不了

也可以加我QQ或微信:9985765 远程看下服务,感谢大神解决,解决发红包。

今天是在23号上午9点16分重启的服务下面为部分日志

–ccnet.log
[02/22/17 15:21:55] …/common/session.c(290): Update pubinfo file
[02/22/17 15:21:56] …/common/session.c(398): Accepted a local client
[02/22/17 15:21:56] …/common/session.c(398): Accepted a local client
[02/22/17 15:21:56] …/common/session.c(398): Accepted a local client
[02/22/17 15:21:56] …/common/session.c(398): Accepted a local client
[02/22/17 15:22:05] …/common/session.c(398): Accepted a local client
[02/22/17 15:22:05] …/common/peer.c(943): Local peer down
[02/22/17 15:22:34] …/common/session.c(398): Accepted a local client
[02/22/17 15:22:39] …/common/session.c(398): Accepted a local client
[02/22/17 15:22:39] …/common/session.c(398): Accepted a local client
[02/22/17 15:53:51] …/common/session.c(398): Accepted a local client
[02/23/17 09:01:33] …/common/peer.c(943): Local peer down
[02/23/17 09:01:33] …/common/peer.c(943): Local peer down
[02/23/17 09:01:33] …/common/peer.c(943): Local peer down
[02/23/17 09:16:18] …/common/session.c(369): Exit at Thu Feb 23 09:16:18 2017

[02/23/17 09:16:45] …/common/session.c(132): using config file /qiaqia/conf/ccnet.conf
[02/23/17 09:16:45] …/common/session.c(455): socket file exists, delete it anyway
[02/23/17 09:16:45] …/common/session.c(484): Listen on /qiaqia/ccnet/ccnet.sock for local clients
[02/23/17 09:16:45] …/common/session.c(290): Update pubinfo file
[02/23/17 09:16:46] …/common/session.c(398): Accepted a local client
[02/23/17 09:16:46] …/common/session.c(398): Accepted a local client
[02/23/17 09:16:46] …/common/session.c(398): Accepted a local client
[02/23/17 09:16:46] …/common/session.c(398): Accepted a local client
[02/23/17 09:17:09] …/common/session.c(398): Accepted a local client
[02/23/17 09:17:09] …/common/peer.c(943): Local peer down
[02/23/17 09:18:40] …/common/session.c(398): Accepted a local client
[02/23/17 09:19:28] …/common/session.c(398): Accepted a local client
[02/23/17 09:37:34] …/common/session.c(398): Accepted a local client
[02/23/17 10:04:03] …/common/session.c(398): Accepted a local client
[02/23/17 10:10:23] …/common/session.c(398): Accepted a local client

–seahub.log
2017-02-23 02:43:17,950 [WARNING] seahub.auth.views:197 login Login attempt limit reached, show Captcha, email/username: caibq1%40qiaqiafood.com, ip: 210.32.127.69, attemps: 3
2017-02-23 02:43:35,467 [WARNING] seahub.auth.views:197 login Login attempt limit reached, show Captcha, email/username: caibq1%40qiaqiafood.com, ip: 210.32.127.69, attemps: 4
2017-02-23 02:44:13,704 [WARNING] seahub.auth.views:197 login Login attempt limit reached, show Captcha, email/username: caibq1, ip: 210.32.127.69, attemps: 5
2017-02-23 02:44:59,067 [WARNING] seahub.auth.views:197 login Login attempt limit reached, show Captcha, email/username: caibq1%40qiaqiafood.com, ip: 210.32.127.69, attemps: 6
2017-02-23 03:04:09,505 [WARNING] seahub.auth.views:197 login Login attempt limit reached, show Captcha, email/username: caibq1%40qiaqiafood.com, ip: 210.32.127.69, attemps: 3
2017-02-23 03:04:22,908 [WARNING] seahub.auth.views:197 login Login attempt limit reached, show Captcha, email/username: caibq1%40qiaqiafood.com, ip: 210.32.127.69, attemps: 4
2017-02-23 03:04:58,797 [WARNING] seahub.auth.views:197 login Login attempt limit reached, show Captcha, email/username: caibq1, ip: 210.32.127.69, attemps: 5
2017-02-23 03:06:03,964 [WARNING] seahub.auth.views:197 login Login attempt limit reached, show Captcha, email/username: caibq1%40, ip: 210.32.127.69, attemps: 6

–seahub_django_request.log
2017-02-22 12:44:33,582 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/5186fd6c-fbd9-411e-a08f-6ebce60a8f2e/thumbnail/
Traceback (most recent call last):
File “/qiaqia/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/qiaqia/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/decorators/csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/qiaqia/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/generic/base.py”, line 71, in view
return self.dispatch(request, *args, **kwargs)
File “/qiaqia/seafile-server-6.0.8/seahub/seahub/api2/base.py”, line 23, in dispatch
response = super(APIView, self).dispatch(*a, **kw)
File “/qiaqia/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “/qiaqia/seafile-server-6.0.8/seahub/seahub/api2/base.py”, line 20, in handle_exception
return super(APIView, self).handle_exception(exc)
File “/qiaqia/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 463, in dispatch
response = handler(request, *args, **kwargs)
File “/qiaqia/seafile-server-6.0.8/seahub/seahub/api2/views.py”, line 3969, in get
success, status_code = generate_thumbnail(request, repo_id, size, path)
File “/qiaqia/seafile-server-6.0.8/seahub/seahub/thumbnail/utils.py”, line 77, in generate_thumbnail
os.makedirs(thumbnail_dir)
File “/usr/lib/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: ‘/qiaqia/seafile-server-6.0.8/seahub/seahub/…/…/…/seahub-data/thumbnail/157’
2017-02-22 12:44:54,163 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
中间截取掉了
2017-02-22 17:46:25,449 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-22 17:47:55,383 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-22 17:49:25,376 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-22 17:55:25,378 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-22 17:55:37,983 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-22 17:55:55,383 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-22 19:12:33,731 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-22 19:12:42,438 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-22 19:57:11,320 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-22 19:57:20,502 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-22 19:57:33,847 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-22 20:06:55,833 [WARNING] django.request:170 get_response Not Found: /cache/global/img/gs.gif
2017-02-23 00:40:04,754 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 03:02:43,891 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 03:03:43,809 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 03:04:13,853 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 03:04:43,815 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 03:05:13,802 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 03:05:43,859 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 03:06:13,805 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 03:07:13,863 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 03:08:43,826 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 03:08:57,708 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 03:09:13,830 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/

–controller.log
[02/22/17 11:20:02] seafile-controller.c(566): shutting down ccnet-server …
[02/22/17 11:21:05] seafile-controller.c(154): starting ccnet-server …
[02/22/17 11:21:05] seafile-controller.c(73): spawn_process: ccnet-server -F /qiaqia/conf -c /qiaqia/ccnet -f /qiaqia/logs/ccnet.log -d -P /qiaqia/pids/ccnet.pid
[02/22/17 11:21:05] seafile-controller.c(88): spawned ccnet-server, pid 25573
[02/22/17 11:21:06] seafile-controller.c(555): ccnet daemon connected.
[02/22/17 11:21:06] seafile-controller.c(186): starting seaf-server …
[02/22/17 11:21:06] seafile-controller.c(73): spawn_process: seaf-server -F /qiaqia/conf -c /qiaqia/ccnet -d /qiaqia/seafile-data -l /qiaqia/logs/seafile.log -P /qiaqia/pids/seaf-server.pid
[02/22/17 11:21:06] seafile-controller.c(88): spawned seaf-server, pid 25577
[02/22/17 11:21:06] seafile-controller.c(528): seafdav not enabled.
[02/22/17 15:15:18] seafile-controller.c(566): shutting down ccnet-server …
[02/22/17 15:21:55] seafile-controller.c(154): starting ccnet-server …
[02/22/17 15:21:55] seafile-controller.c(73): spawn_process: ccnet-server -F /qiaqia/conf -c /qiaqia/ccnet -f /qiaqia/logs/ccnet.log -d -P /qiaqia/pids/ccnet.pid
[02/22/17 15:21:55] seafile-controller.c(88): spawned ccnet-server, pid 26370
[02/22/17 15:21:56] seafile-controller.c(555): ccnet daemon connected.
[02/22/17 15:21:56] seafile-controller.c(186): starting seaf-server …
[02/22/17 15:21:56] seafile-controller.c(73): spawn_process: seaf-server -F /qiaqia/conf -c /qiaqia/ccnet -d /qiaqia/seafile-data -l /qiaqia/logs/seafile.log -P /qiaqia/pids/seaf-server.pid
[02/22/17 15:21:56] seafile-controller.c(88): spawned seaf-server, pid 26374
[02/22/17 15:21:56] seafile-controller.c(528): seafdav not enabled.
[02/23/17 09:16:18] seafile-controller.c(566): shutting down ccnet-server …
[02/23/17 09:16:45] seafile-controller.c(154): starting ccnet-server …
[02/23/17 09:16:45] seafile-controller.c(73): spawn_process: ccnet-server -F /qiaqia/conf -c /qiaqia/ccnet -f /qiaqia/logs/ccnet.log -d -P /qiaqia/pids/ccnet.pid
[02/23/17 09:16:45] seafile-controller.c(88): spawned ccnet-server, pid 30628
[02/23/17 09:16:46] seafile-controller.c(555): ccnet daemon connected.
[02/23/17 09:16:46] seafile-controller.c(186): starting seaf-server …
[02/23/17 09:16:46] seafile-controller.c(73): spawn_process: seaf-server -F /qiaqia/conf -c /qiaqia/ccnet -d /qiaqia/seafile-data -l /qiaqia/logs/seafile.log -P /qiaqia/pids/seaf-server.pid
[02/23/17 09:16:46] seafile-controller.c(88): spawned seaf-server, pid 30632
[02/23/17 09:16:46] seafile-controller.c(528): seafdav not enabled.

你配置了 Nginx 和 Memcache 了吗?如果没有的话,把这个两个配上应该就能解决你的问题。

没有配置,求配置方法或文档?

已经配置了Memcache , 不知道是否有效果,观察一天看看

@daniel.pan 配置了memcache没用,今天上午有夯住了,无法访问,等会我再发出来日志,求各位大神协助!有红包

–controller.log
2017-02-23 10:32:20,239 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 10:37:20,167 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 10:39:20,200 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 10:40:20,216 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 10:44:20,182 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 10:45:50,199 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 10:46:20,168 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 10:47:20,187 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 10:56:37,184 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 12:07:18,279 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 12:07:31,332 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 13:39:08,260 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 13:39:17,316 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-23 21:32:20,720 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 00:29:15,763 [WARNING] django.request:170 get_response Not Found: /cache/global/img/gs.gif
2017-02-24 01:08:19,379 [WARNING] django.request:170 get_response Not Found: /favicon.ico
2017-02-24 02:14:37,199 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,360 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,462 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,507 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,555 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,596 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,643 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,643 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,692 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,697 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,730 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,746 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,784 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,792 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,824 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/
2017-02-24 02:14:37,843 [WARNING] django.request:170 get_response Not Found: /ajax/unseen-notices-count/

–controller.log
[02/23/17 09:16:46] …/common/session.c(398): Accepted a local client
[02/23/17 09:16:46] …/common/session.c(398): Accepted a local client
[02/23/17 09:16:46] …/common/session.c(398): Accepted a local client
[02/23/17 09:16:46] …/common/session.c(398): Accepted a local client
[02/23/17 09:17:09] …/common/session.c(398): Accepted a local client
[02/23/17 09:17:09] …/common/peer.c(943): Local peer down
[02/23/17 09:18:40] …/common/session.c(398): Accepted a local client
[02/23/17 09:19:28] …/common/session.c(398): Accepted a local client
[02/23/17 09:37:34] …/common/session.c(398): Accepted a local client
[02/23/17 10:04:03] …/common/session.c(398): Accepted a local client
[02/23/17 10:10:23] …/common/session.c(398): Accepted a local client
[02/23/17 14:03:19] …/common/peer.c(943): Local peer down
[02/23/17 14:03:19] …/common/peer.c(943): Local peer down
[02/23/17 14:03:19] …/common/peer.c(943): Local peer down
[02/23/17 14:03:55] …/common/session.c(398): Accepted a local client
[02/23/17 14:03:55] …/common/peer.c(943): Local peer down
[02/23/17 14:03:57] …/common/session.c(398): Accepted a local client
[02/23/17 14:04:01] …/common/session.c(398): Accepted a local client
[02/23/17 14:04:01] …/common/session.c(398): Accepted a local client
[02/24/17 09:54:35] …/common/peer.c(943): Local peer down
[02/24/17 09:54:35] …/common/peer.c(943): Local peer down
[02/24/17 09:54:35] …/common/peer.c(943): Local peer down
[02/24/17 09:54:36] …/common/session.c(398): Accepted a local client
[02/24/17 09:54:36] …/common/session.c(398): Accepted a local client
[02/24/17 10:14:36] …/common/peer.c(943): Local peer down
[02/24/17 10:14:36] …/common/peer.c(943): Local peer down
[02/24/17 10:14:37] …/common/session.c(398): Accepted a local client
[02/24/17 10:14:37] …/common/session.c(398): Accepted a local client
[02/24/17 10:14:37] …/common/session.c(398): Accepted a local client
[02/24/17 10:34:37] …/common/peer.c(943): Local peer down
[02/24/17 10:34:37] …/common/session.c(398): Accepted a local client
[02/24/17 10:34:38] …/common/peer.c(943): Local peer down
[02/24/17 10:34:38] …/common/peer.c(943): Local peer down
[02/24/17 10:34:38] …/common/session.c(398): Accepted a local client
[02/24/17 10:54:38] …/common/peer.c(943): Local peer down
[02/24/17 10:54:39] …/common/peer.c(943): Local peer down
[02/24/17 10:54:40] …/common/session.c(398): Accepted a local client
[02/24/17 11:14:40] …/common/session.c(398): Accepted a local client
[02/24/17 11:14:40] …/common/peer.c(943): Local peer down
[02/24/17 11:34:40] …/common/peer.c(943): Local peer down