zlatan
10/13/2020, 9:37 PMdocker ... meltano invoke airflow scheduler stops after about 40 minutes of running and ends with log {dagbag.py:417} INFO - Filling up the DagBag from /projects/orchestrate/dags/meltano.py
Could that be due to limited server resources? (current resources 3 cores, 4GB ram, SSD)douwe_maan
10/13/2020, 9:39 PMairflow scheduler wouldn't have exited on its own without logging something. Did docker run exit with a nonzero exit code? Can you find logs regarding why?zlatan
10/13/2020, 10:30 PMzlatan
10/13/2020, 10:31 PMdouwe_maan
10/13/2020, 10:32 PMdocker run container and why it stopped after 40 minutes, even though the command running inside the container didn't see a reason to quitdouwe_maan
10/13/2020, 10:33 PMdocker run ... meltano invoke airflow scheduler always quit after some time period?zlatan
10/13/2020, 10:34 PMzlatan
10/13/2020, 10:35 PMzlatan
10/13/2020, 10:35 PMdouwe_maan
10/13/2020, 10:36 PMdouwe_maan
10/13/2020, 10:36 PMdocker run to log something, somewhere, though, if it gets overwhelmed and decides to kill the containerzlatan
10/13/2020, 10:50 PMmax_active_runs or parallelism under airflow config in meltano,yml work?zlatan
10/13/2020, 11:00 PMdouwe_maan
10/13/2020, 11:01 PMcore namespace, you'll want to prefix their keys with core. . You can run meltano config airflow to verify that it has the correct hierarchy Airflow expects. If those are DAG-level settings though, you can set them in orchestrate/dags/meltano.py directlydouwe_maan
10/13/2020, 11:02 PMdouwe_maan
10/13/2020, 11:02 PMzlatan
10/13/2020, 11:05 PM[2020-10-13 21:14:22,095] {scheduler_job.py:1334} INFO - Executor reports execution of meltano_facebook-katarino-gds3.extract_load execution_date=2020-10-13 20:00:00+00:00 exited with status success for try_number 1
[2020-10-13 21:14:22,112] {scheduler_job.py:1334} INFO - Executor reports execution of meltano_facebook-bgstyle-gds3.extract_load execution_date=2020-10-13 20:00:00+00:00 exited with status success for try_number 1
[2020-10-13 21:14:25,917] {scheduler_job.py:1334} INFO - Executor reports execution of meltano_facebook-sbeauty-gds3.extract_load execution_date=2020-10-13 20:00:00+00:00 exited with status success for try_number 1
Weirddouwe_maan
10/13/2020, 11:07 PMdocker run that's exiting, but your SSH connection into your VPS that's expiring because of inactivity or a network issue?zlatan
10/13/2020, 11:14 PMhtop also disconnect? I had it running the whole time and it hadn't stopped.douwe_maan
10/13/2020, 11:16 PMdouwe_maan
10/13/2020, 11:16 PMdocker run finishes, are you back at your SSH shell prompt, still connected to the VPS?douwe_maan
10/13/2020, 11:18 PMmeltano/meltano image, attach a bash shell to the container, and inside that bash, run meltano invoke airflow scheduler ? Instead of running it with docker run which will create a one-off container?zlatan
10/13/2020, 11:19 PMdouwe_maan
10/13/2020, 11:20 PMdouwe_maan
10/13/2020, 11:21 PMdocker run and explicitly going through the motions of creating the container, opening a shell, and running the command in there, will hopefully show us where something breaksdouwe_maan
10/13/2020, 11:22 PMmeltano invoke airflow scheduler exit at some point, and if we're back at the bash shell inside the container afterwards, we know that Meltano or Airflow must've decided it was done (why, though, I have no idea yet)douwe_maan
10/13/2020, 11:22 PMmeltano invoke exits with 0 or nonzero exitcodezlatan
10/13/2020, 11:30 PMzlatan
10/13/2020, 11:30 PMdouwe_maan
10/13/2020, 11:30 PMdouwe_maan
10/13/2020, 11:30 PMdouwe_maan
10/13/2020, 11:31 PMdouwe_maan
10/13/2020, 11:31 PMzlatan
10/13/2020, 11:32 PMdouwe_maan
10/13/2020, 11:33 PMzlatan
10/13/2020, 11:33 PMcore.max_active_runs_per_dag: 4
core.parallelism: 4
core.dag_concurrency: 4zlatan
10/13/2020, 11:34 PMdouwe_maan
10/13/2020, 11:34 PMniall_woodward
10/14/2020, 6:31 AMzlatan
10/14/2020, 6:47 AMzlatan
10/14/2020, 6:52 AMniall_woodward
10/14/2020, 7:13 AMniall_woodward
10/14/2020, 7:14 AMnil
10/14/2020, 8:42 AMzlatan
10/14/2020, 8:51 AMzlatan
10/14/2020, 8:53 AM