From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KGaQNtxtJGF6IgEAgWs5BA (envelope-from ) for ; Tue, 24 Aug 2021 05:56:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uJ0JMtxtJGHyfAAAbx9fmQ (envelope-from ) for ; Tue, 24 Aug 2021 03:56:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 16ACC1BB5F for ; Tue, 24 Aug 2021 05:56:12 +0200 (CEST) Received: from localhost ([::1]:36402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mINXl-0005do-PJ for larch@yhetil.org; Mon, 23 Aug 2021 23:56:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mINXf-0005df-16 for bug-guix@gnu.org; Mon, 23 Aug 2021 23:56:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mINXe-00005H-OC for bug-guix@gnu.org; Mon, 23 Aug 2021 23:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mINXe-00028r-IF for bug-guix@gnu.org; Mon, 23 Aug 2021 23:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#36838: mcron leaves zombies around Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 24 Aug 2021 03:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36838 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Robert Vollmert Received: via spool by 36838-submit@debbugs.gnu.org id=B36838.16297773538212 (code B ref 36838); Tue, 24 Aug 2021 03:56:02 +0000 Received: (at 36838) by debbugs.gnu.org; 24 Aug 2021 03:55:53 +0000 Received: from localhost ([127.0.0.1]:42890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mINXU-00028O-VJ for submit@debbugs.gnu.org; Mon, 23 Aug 2021 23:55:53 -0400 Received: from mail-qt1-f175.google.com ([209.85.160.175]:46634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mINXR-000289-06 for 36838@debbugs.gnu.org; Mon, 23 Aug 2021 23:55:51 -0400 Received: by mail-qt1-f175.google.com with SMTP id x5so15686663qtq.13 for <36838@debbugs.gnu.org>; Mon, 23 Aug 2021 20:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=uXMP7LEHhW6u/Ak2nPeGDGWiVEeK8YEnMneq+TbjZnQ=; b=W0Kg0+c0400JogRA0E1XJuz1GjmlmTD2q5GVv0TCdvA32mKw5W+lL/8XYBhvXcJY/2 9k48NmNPavibW6rfnjU+f0BqvEJHHhCfuXqgRNVAebcTBY/I6N57SyFxw9XYQ5BJDzWu 68gL2q9LBvNaN3As27EDUC20cspC439K0lhujJ/CVUs0XaIdJKvoDZdiEWTcL3mMGRNp wnbWeU6oXaUIEByPBnNMn0KqAKisxpRpKHcVLe81PGjzDSolcymRgeR0JYVqkUla3orN JR2m4fQducZb5x9zo4UyomA+ftrymQxMifWDih8O411ESm2IwiGTOpWTyviNGuJBLj0F aHFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=uXMP7LEHhW6u/Ak2nPeGDGWiVEeK8YEnMneq+TbjZnQ=; b=uAh8dRpC+d1RGDfpuMqmO07XIpLLho4a3f+SO4Xrd1IV2ljytqTXmyZoZu0LMtgTDk IQGibTJXEFp7+XCDjmI6gzCa50RIQt9OfSDSYQWB19tbP5U72hOhW9A00Wd4x1MydS36 EFXCL9JaDWPZ+u2yCvDBHuV1fxVMfp44HherBoYNv1mwGyoqJiFVGFCl8kAFioYRNZP0 Zcd0x/Sx3Uig9dh1aYawFrE5ZHCHBs6qWr0aSIEaZJGBTA9qOns87Pby1A7ftKMdPrtM COhyPSPaejxoCr1fr+VbyR+qI+nO/CAELtpEGd1iEtCCDQBJMHJSCv66JhgebvH7lrgk +4Fw== X-Gm-Message-State: AOAM532XA1Zwxfs+HgO3KZeTIzctBjfFExamNFOaVQED2sC87TPs+Eiw TLflRc9bL61aZi4qvqlW04I0sQwrEH4= X-Google-Smtp-Source: ABdhPJz2lSJrrIyKmjrEFJSgK36SvyKIcekiPLQ/uCDHj9wn3UbG4/YmF1OQArY3gilGyjUna/SiWQ== X-Received: by 2002:a05:622a:493:: with SMTP id p19mr32629705qtx.195.1629777343176; Mon, 23 Aug 2021 20:55:43 -0700 (PDT) Received: from hurd (dsl-10-129-227.b2b2c.ca. [72.10.129.227]) by smtp.gmail.com with ESMTPSA id o20sm7536650qtk.41.2021.08.23.20.55.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Aug 2021 20:55:42 -0700 (PDT) From: Maxim Cournoyer References: <70F6F2EB-3619-4175-885F-C970448355D7@vllmrt.net> Date: Mon, 23 Aug 2021 23:55:42 -0400 In-Reply-To: <70F6F2EB-3619-4175-885F-C970448355D7@vllmrt.net> (Robert Vollmert's message of "Mon, 29 Jul 2019 17:39:33 +0200") Message-ID: <87fsuzts1t.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 36838@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629777372; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=uXMP7LEHhW6u/Ak2nPeGDGWiVEeK8YEnMneq+TbjZnQ=; b=g1RfWi226LuuYbhsikfki+Xv0/g/mvpWiTZO4RfR2s0imJlDaC1ZXtFnUg5l01UzpKLKrb eRItmKO92lmlICIveI7nhIeWWjfIM0BDJSLMCSv2VM6AALe4vvP2cMrjsyXO8q0uZV1TDT krTC27EjnNmTFyOjw8c4wn5QftskbfTwX26JVq6I98zWDLAGjzBciJgmW5jqRv1w1+T0hB MnS3oa0Ta4R4DeFQsfUfjZIHzCYU6u9fvyZBjn3CPM4Yg7UKZs2CQgNeS8gnmx9YwMs0AM 3il+623HbQrlBgP6BjIFQU3sPk1/vOo6cs9Zx7/ZJAC11+4r5yQDF0DHFhVMGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629777372; a=rsa-sha256; cv=none; b=W8rFGJuP69tqrGAtnwDIlhDaIIN2sCMsgudsqehNwHgpNesgXJFBG8o/xMb3U/RzdTVHq1 knBx+dqgColPzPRM9mMQg+AllzbR8I/SLICdHM9zJ/6AwAIxq2Z0ZgKx66t0XH84YebtZU 4t6xzpQsmYP7tE3xxc2M3l+9rXBFpp5zRdhkGGBC8xE6A6m0+MbMUxoTZwsSKv+ni15U5C og5b+x/UoyoVw7ufco0NG8A218qHpBjTE2tolpQFMR6LYo9Wgvt3bGWLpoxHAg0ltXhbR5 9p9weYbhIvjBPUWG4bnL6nWuJoKkOWJfYhEPPz5MOwDJG++ivmbDPShdkFZs2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=W0Kg0+c0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=W0Kg0+c0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 16ACC1BB5F X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: WwRVlhagaggL Hello Robert, Robert Vollmert writes: > It seems that mcron doesn=E2=80=99t clean up after itself. I regularly see > some zombie processes around, presumably left over by each of my > two 15-minute cron jobs: > > root 21285 0.0 0.3 24124 3248 ? Ss 11:05 0:00 /gnu/sto= re/mamwayq00mqs85kgs6ibww7xw6dy776s-mcron-1.1.1/bin/mcron /gnu/store/rdi71i= zz4d16v77hb8h2jks0s3q9zini-mcron-job /gnu/store/k7dn1v7qpi4kz183glmbgsf1c7p= j19xx-mcron-job /gnu/store/lfyj23bzhc14y5rqi91g493jql9dphxk-mcron-job /gnu/= store/mx9k5n92kmhryn3vh4607hrmnkjb8dl6-mcron-job /gnu/store/l4nxmajr0i5g07f= xvrgnaw29zd1jq0qw-mcron-job > root 26611 0.0 0.0 0 0 ? Z 17:29 0:00 [mcron] = > root 26612 0.0 0.0 0 0 ? Z 17:29 0:00 [mcron] = > > In case that matters, they=E2=80=99re defined using the following: > > (define puzzledb-tweets-pzv-job > (let* ((exp > (with-imported-modules '((helpers)) > #~(begin > (use-modules (helpers)) > (let ((backend (read-secret "tools.jwt")) > (twitter (read-secret "twitter.token"))) > (runl (string-append #$puzzledb-tools "/bin/tweets") > "-backend_token" backend > "-token" twitter > "-deletes"))))) > (script (program-file "puzzledb-tweets-pzv-job" exp))) > #~(job "*/15 * * * *" ; every fifteen minutes > #$script))) > > where the module helpers contains: > > (define-module (helpers) > #:use-module (ice-9 textual-ports) > #:export (runl read-secret)) > > (define* (runl prog . args) > (apply execl prog prog args)) > > (define* (read-secret file) > (string-trim-both > (get-string-all > (open-input-file > (string-append "/etc/puzzledb/secrets/" file))))) Thank you for the report. I don't seem to have any mcron zombies on my system and have one job running every 5 minutes, another once per day, another every 3 days. Does the problem still exist for you? Thanks, Maxim