导入一个3G多数据,dn的pod内存跑满一段时间后dn pod会重启,我已经dn把内存从4G提到12[阿里云PolarDB]

导入一个3G多数据,dn的pod内存跑满一段时间后dn pod会重启,我已经dn把内存从4G提到12G还一样。是哪里需要调节? Exec lifecycle hook ([/tools/xstore/current/venv/bin/python3 /tools/xstore/current/cli.py engine shutdown]) for Container “engine” in Pod “polardb-x-qsk2-dn-0-cand-1_test-polardbx(9d24ba7f-8343-4140-bcf5-22a86ec8a4b5)” failed – error: command ‘/tools/xstore/current/venv/bin/python3 /tools/xstore/current/cli.py engine shutdown’ exited with 1: mysqladmin: connect to server at ‘localhost’ failed error: ‘Can’t connect to local MySQL server through socket ‘/data/mysql/run/mysql.sock’ (2)’ Check that mysqld is running and that the socket: ‘/data/mysql/run/mysql.sock’ exists! /tools/xstore/current/venv/lib64/python3.6/site-packages/pymysql/_auth.py:8: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.hazmat.backends import default_backend Traceback (most recent call last): File “/tools/xstore/current/cli.py”, line 21, in cli.run() File “/tools/xstore/c999c6a/cli/init.py”, line 38, in run root_group() File “/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py”, line 829, in call return self.main(*args, **kwargs) File “/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py”, line 782, in main rv = self.invoke(ctx) File “/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py”, line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File “/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py”, line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File “/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py”, line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File “/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py”, line 610, in invoke return callback(*args, **kwargs) File “/tools/xstore/c999c6a/cli/engine.py”, line 81, in shutdown global_mgr.engine().shutdown() File “/tools/xstore/c999c6a/core/engine/engine.py”, line 333, in shutdown cmd=convention.SHELL_CMD[‘SHUTDOWN_MYSQL’](“–socket=” + os.path.join(self.path_run, ‘mysql.sock’))) File “/tools/xstore/c999c6a/core/engine/engine.py”, line 323, in exec_cmd raise Exception(“ErrorCode = %d, Failed to exec cmd %s” % (ret, cmd)) Exception: ErrorCode = 1, Failed to exec cmd [‘mysqladmin’, ‘shutdown’, ‘–socket=/data/mysql/run/mysql.sock’] , message: “\amysqladmin: connect to server at ‘localhost’ failed
error: ‘Can’t connect to local MySQL server through socket ‘/data/mysql/run/mysql.sock’ (2)’
Check that mysqld is running and that the socket: ‘/data/mysql/run/mysql.sock’ exists!
/tools/xstore/current/venv/lib64/python3.6/site-packages/pymysql/_auth.py:8: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Traceback (most recent call last):
File “/tools/xstore/current/cli.py”, line 21, in
cli.run()
File “/tools/xstore/c999c6a/cli/init.py”, line 38, in run
root_group()
File “/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py”, line 829, in call
return self.main(*args, **kwargs)
File “/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py”, line 782, in main
rv = self.invoke(ctx)
File “/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py”, line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/tools/xstore/current/venv/lib64/python3.6/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
File “/tools/xstore/c999c6a/cli/engine.py”, line 81, in shutdown
global_mgr.engine().shutdown()
File “/tools/xstore/c999c6a/core/engine/engine.py”, line 333, in shutdown
cmd=convention.SHELL_CMD[‘SHUTDOWN_MYSQL’](“–socket=” + os.path.join(self.path_run, ‘mysql.sock’)))
File “/tools/xstore/c999c6a/core/engine/engine.py”, line 323, in exec_cmd
raise Exception(“ErrorCode = %d, Failed to exec cmd %s” % (ret, cmd))
Exception: ErrorCode = 1, Failed to exec cmd [‘mysqladmin’, ‘shutdown’, ‘–socket=/data/mysql/run/mysql.sock’]

「点点赞赏,手留余香」

    还没有人赞赏,快来当第一个赞赏的人吧!
=====这是一个广告位,招租中,联系qq 78315851====