气流调度程序异常停止

时间:2021-03-24 04:14:56

标签: python postgresql sqlalchemy centos airflow

我在问题中附上了错误信息

ERROR - Exception when executing SchedulerJob._run_scheduler_loop
Traceback (most recent call last):
  File "/home/centos/env_airflow/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1277, in _execute_context
    cursor, statement, parameters, context
  File "/home/centos/env_airflow/lib64/python3.6/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute
    cursor.execute(statement, parameters)
psycopg2.OperationalError: server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

1 个答案:

答案 0 :(得分:0)

PostgreSQL 数据库服务器意外关闭了连接。 查看 PostgreSQL 日志文件以获取解释。

您会在那里找到解释原因的错误消息,或者您会发现类似的消息(意外连接丢失),这表明恶意防火墙或路由器中断了网络连接。