Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AF194200B74 for ; Thu, 1 Sep 2016 16:54:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A910C160AB5; Thu, 1 Sep 2016 14:54:28 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ED376160AA8 for ; Thu, 1 Sep 2016 16:54:27 +0200 (CEST) Received: (qmail 620 invoked by uid 500); 1 Sep 2016 14:54:27 -0000 Mailing-List: contact dev-help@airflow.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.incubator.apache.org Delivered-To: mailing list dev@airflow.incubator.apache.org Received: (qmail 593 invoked by uid 99); 1 Sep 2016 14:54:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2016 14:54:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 1B623C000A for ; Thu, 1 Sep 2016 14:54:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id tKLMNq6jkoFL for ; Thu, 1 Sep 2016 14:54:23 +0000 (UTC) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id EC1D75F1EB for ; Thu, 1 Sep 2016 14:54:22 +0000 (UTC) Received: by mail-wm0-f47.google.com with SMTP id w2so81190412wmd.0 for ; Thu, 01 Sep 2016 07:54:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=PWtz8tkusHwvXL6ZteYMlu8c8c9IURKW1hZ7jCTiXWg=; b=Ibkfo22sjLLO/jDyFh53s4NcYmVLUWkfkKJOVGpXXHJ30bk+TO9iM8qWUwvNvdaSN6 2nm5pc0DUIoneeuj7yA2RliDrIUqcsfMQR9lpl0be/1vmQhOUT0vZ8iFQL9/7v2aqXP6 2mlYCNct7gBfLjEjqiX/7CCjOOMD0+oNEwjjh7sYSOY2ZFjMoOppOYF1p5RvWCePinWO ypHWOEb/yZz4H/bgHLqm/A63XjwDfwAEf23zebn/fhfmHXSwB3iBGlilQ3nIWQMuiXz8 vHBryQNXWS5qI2HIg1cqLPxkaCbYAr1XkXPikmlkl5BjocakJM0FH1kUS7Slpv4q2yhA +ziw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=PWtz8tkusHwvXL6ZteYMlu8c8c9IURKW1hZ7jCTiXWg=; b=hzA4/qf8RG3w1T9Kk2SGT0eJNAo4V0aSpqGK79kQa/a7kX1Pvl63osadc4T1yN0Vap ofOv1PUXWjTqxYomSjEqvFivI5zp09/6IlMCPmYK3DPwf0O72m6ug1Bpib1GgZ8cuIBO l3nWwU3gf3UmvB5flkuKkcyPxqqy0i/RZpUT0zfNSVZWvBkZOqq8303b4PLl0lixK3dv ZgZiGN+idfORfxx/aE7I5kOFcfyMFPSHkSB7JVLdAxT4EtqAl3aVyuyoVmPScY2+g90G OjNLNvHMgh0AYG59DKADnC6/TDWnYrF93/0L+MPpLabFW2ajnywhLoxMSajQrivhwd3V u/Fg== X-Gm-Message-State: AE9vXwNrB7NFl9mOTxTfkOP/rj/VaY3otV0mOHCeMTABig0azNwJHGOYN389RonzP06tew29+zy7BKfe3EZBLA== X-Received: by 10.28.39.133 with SMTP id n127mr15817241wmn.6.1472741661767; Thu, 01 Sep 2016 07:54:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Sergei Iakhnin Date: Thu, 01 Sep 2016 14:54:10 +0000 Message-ID: Subject: Re: Issue with Airflow - Jobs are not triggered to run after a random period of time To: dev@airflow.incubator.apache.org Content-Type: multipart/alternative; boundary=001a114e1612987f15053b736332 archived-at: Thu, 01 Sep 2016 14:54:28 -0000 --001a114e1612987f15053b736332 Content-Type: text/plain; charset=UTF-8 As far as I know even Airbnb themselves restart their schedulers every 30 minutes because of this issue. I ended up doing it as well with a cron job after giving up hope that it would be fixed in the short term. On Thu, 1 Sep 2016, 16:03 Charalampos Paravalos, wrote: > Hi, > > I am writting to ask for advise in an issue that I have with airflow and > til now I have not managed to resolve. Wondering if someone else had > something similar in the past. > > So, we use airflow to schedule DAGs that will run some jobs periodically > (every 30min/1hr). Jobs run as normal etc., but there are some times that > suddenly after DAGs are finished, the next scheduled jobs do not start at > all. It seems like the server does not kick off the scheduled jobs at all, > for any of the DAGs defined (so no jobs are running on our server). When > that happens I have to restart the scheduler so jobs are kicked on > automatically after restart. And the jobs run until this issue appears > again (I noticed it happening every 1 or 2 days, it is quite often). > > This is very strange, tried to upgrade to 1.7.1.3 version but still that > issue is here. We use 32 concurrent jobs with celery workers, the server is > able to manage the load well. > > I believe it has to do with the scheduler, but can't understand why. > Backfilled jobs maybe? Can this be? > > I am looking forward to hearing back from someone that has any ideas. > Please let me know what information you might need about my setup anytime. > > Thanks for your help! > > Regards, > Babis > -- Sergei --001a114e1612987f15053b736332--