Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我在群晖中部署了 crysadm 长时间报错后 会导致宕机 #5

Open
qwersdafads opened this issue Aug 29, 2017 · 0 comments
Open

Comments

@qwersdafads
Copy link

通过日志发现我通过日志发现了报错
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/multiprocessing/process.py", line 254, in _bootstrap
self.run()
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/volume1/homes/zxczx969/Services/xunleiyunjiangong/crysadm/crysadm_helper.py", line 228, in get_online_user_data
if r_session.exists('api_error_info'): return
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/redis/client.py", line 950, in exists
return self.execute_command('EXISTS', name)
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/redis/client.py", line 673, in execute_command
return self.parse_response(connection, command_name, **options)
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/redis/client.py", line 679, in parse_response
response = connection.read_response()
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/redis/connection.py", line 596, in read_response
response = self._parser.read_response()
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/redis/connection.py", line 254, in read_response
response = self._buffer.readline()
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/redis/connection.py", line 184, in readline
self._read_from_socket()
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/redis/connection.py", line 159, in _read_from_socket
(e.args,))
redis.exceptions.ConnectionError: Error while reading from socket: (104, 'Connection reset by peer')
2017-08-27 10:51:59 shakegift_crystal
Process Process-25:
Traceback (most recent call last):
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/redis/connection.py", line 142, in _read_from_socket
data = recv(self._sock, socket_read_size)
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/redis/_compat.py", line 79, in recv
return sock.recv(*args, **kwargs)
ConnectionResetError: [Errno 104] Connection reset by peer

类似这样的报错,开始以为是redis的 性能问题,后来发现 py3 的进程数不断增加,怀疑是 py3不断的增加进程 致使机器资源耗尽,导致redis没有资源处理,然后就出现如上报错。各位大神不知我的猜测对不对

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant