You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/10/21 06:50:23 UTC

[GitHub] [airflow] dailingling opened a new issue #11711: OSError: [Errno 12] Cannot allocate memory

dailingling opened a new issue #11711:
URL: https://github.com/apache/airflow/issues/11711


   
   **Apache Airflow version**:
   
   1.10.12
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`): no
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**:
   - **OS** (e.g. from /etc/os-release):  centos 7
   - **Kernel** (e.g. `uname -a`):3.10.0-862.el7.x86_64
   - **Install tools**: python3 install airflow
   - **Others**:
   
   **What happened**:
   
   OSError: [Errno 12] Cannot allocate memory
   Traceback (most recent call last):
     File "/data//.local/bin/airflow", line 37, in <module>
       args.func(args)
     File "/data//.local/lib/python3.7/site-packages/airflow/utils/cli.py", line 76, in wrapper
       return f(*args, **kwargs)
     File "/data//.local/lib/python3.7/site-packages/airflow/bin/cli.py", line 579, in run
       _run(args, dag, ti)
     File "/data//.local/lib/python3.7/site-packages/airflow/bin/cli.py", line 475, in _run
       run_job.run()
     File "/data//.local/lib/python3.7/site-packages/airflow/jobs/base_job.py", line 218, in run
       self._execute()
     File "/data//.local/lib/python3.7/site-packages/airflow/jobs/local_task_job.py", line 94, in _execute
       self.task_runner.start()
     File "/data//.local/lib/python3.7/site-packages/airflow/task/task_runner/standard_task_runner.py", line 43, in start
       self.process = self._start_by_fork()
     File "/data//.local/lib/python3.7/site-packages/airflow/task/task_runner/standard_task_runner.py", line 52, in _start_by_fork
       pid = os.fork()
   OSError: [Errno 12] Cannot allocate memory
   
   
   **What you expected to happen**:
   
   It may don't have enough swap.so 
   I try to fix like this page:https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-centos-7 
   add swap to 4g;
   but it don't work . this issue always appear .
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #11711: OSError: [Errno 12] Cannot allocate memory

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #11711:
URL: https://github.com/apache/airflow/issues/11711#issuecomment-713350127


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] ashb commented on issue #11711: OSError: [Errno 12] Cannot allocate memory

Posted by GitBox <gi...@apache.org>.
ashb commented on issue #11711:
URL: https://github.com/apache/airflow/issues/11711#issuecomment-736560141


   This is not a problem in airflow -- this is a system call that is failing, so it is something to do with your environment. It could also be some kind of limit on the number of process etc.
   
   Either way, not any Airflow bug I'm afraid.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] ashb closed issue #11711: OSError: [Errno 12] Cannot allocate memory

Posted by GitBox <gi...@apache.org>.
ashb closed issue #11711:
URL: https://github.com/apache/airflow/issues/11711


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org